Dear all,
Is it possible in a Clip Library to use the "Tool parameter macros"? I would like to create a clip that can insert the current path using $FileDir into my document. Eg. if the current path is "C:\tmp" the string "C:\tmp" would be inserted on the cursor position. However, I dont know how to make this work.
Best regards,
Peter
Using "Tool parameter macros" in a clip library
Moderators: AmigoJack, bbadmin, helios, MudGuard
I don't think you can use the Clip Library for this, but if you're running Vista or Windows 7, there is a roundabout way of doing it using the Tools menu. The idea is to pass the desired tool parameter macro to the DOS echo command and then copy the result to the clipboard with the clip utility.
Here's how to set it up for the $FileDir parameter:
Andrew
Here's how to set it up for the $FileDir parameter:
- Click Configure and then Preferences.
- Click Tools.
- Click Add and then DOS Command.
- Enter echo and click OK.
- Click Apply.
- Click the plus sign next to Tools.
- Click echo.
- In Parameters, change the value to echo $FileDir | clip
- Clear all the check boxes and click OK.
- Click Tools, point to External Tools and then click echo, or press Ctrl+1.
- When the DOS window appears, press any key to close it.
- Press Ctrl+V to paste.
Andrew