MaxStudio Posted October 26, 2011 Share Posted October 26, 2011 I'm looking for a simple way to run a script that simply returns a message with the current file's name and path. I'm guessing its a simple script, there might even be a simple way to view it in vectorworks already? I'm looking into GetFileInfo and using Message to display my results, but I'm not having any luck. Any ideas? Thanks Derek Quote Link to comment
MaxStudio Posted October 26, 2011 Author Share Posted October 26, 2011 i used GetFName to get the current file name, but i'm still having trouble accessing the complete path of the file. Quote Link to comment
MaxStudio Posted October 26, 2011 Author Share Posted October 26, 2011 i knew it was simple after further digging around i found the function GetFPathName. That seemed to work just fine. PROCEDURE Example; VAR n :STRING; BEGIN n:=GetFPathName; Message(n); END; RUN(Example); Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.