I'm trying to get a macro in Arbortext Isodraw that copies the path and filename of the active document to clipboard.
I've tried combinations of copy and path and StripExt but it usually ends up in copying the text as an element, instead of to the clipboard.
I might try to do a text log that outputs the active doc path and filename, but it would be nice if there was an easier way!
Solved! Go to Solution.
I tried it at first, and it didn't work. But I realized there is a problem when the Folder Path has spaces in it.
Currently looking up how to deal with that!
It simply just works. Thanks!
Hey Trevor, do you know anything about the terminate command?
It's not absolutely necessary but it would be nice to terminate the cmd window that was just created.
I know we have to specify the process ID, but how would you do this consistently each time you use it?
Ooff hand try changing /c to /k. It's actually part of the Windows cmd command versus IsoDraw.
Okay, this is the fix that works.
Launch "C:\WINDOWS\system32\cmd.exe" "/c Start cmd /c echo " + ActiveDoc.path + "^|clip"
Thanks again! It looks like /c was right but I modified it to pass to cmd and now everything closes when it's done!