Re: Paste Reference in OS 10.4
Re: Paste Reference in OS 10.4
- Subject: Re: Paste Reference in OS 10.4
- From: deivy petrescu <email@hidden>
- Date: Sat, 5 Nov 2005 22:47:30 -0500
On Nov 4, 2005, at 21:37, kai wrote:
On 4 Nov 2005, at 19:38, email@hidden wrote:
I really miss the paste reference command from the edit menu of
Script Editor, it made scripting so much faster. Has this been
corrected in OS 10.4?
Evidently not yet (OS 10.4.3) - although it should be possible to
cobble together a fair imitation in the meantime...
Just in case anyone's not clear about what this command normally
does, it allows one to select an item in Finder, hit Copy - then
switch to Script Editor and choose 'Paste Reference'. Instead of
pasting the name of the copied item, this pastes it as a Finder
reference. Since Script Editor 1.9, the command has been dimmed
(unavailable):
http://docs.info.apple.com/article.html?artnum=107065
The suggested workaround is to manually type the path to the
required item. Alternatively, a script could attempt to emulate the
original command. I saved the following in /Users/UserName/Library/
Scripts/Applications/Script Editor/Paste Reference.scpt - so that,
whenever Script Editor is frontmost, a 'Paste Reference' command is
available from the Script Menu. (If you try running the script from
a Script Editor window, remember that it will attempt to paste to
that window.)
I used to miss it to!
Now, both in Smile and Script Editor, just drag the file to the
window. A reference to the file is pasted on the cursor location.
That ought todo it!
Deivy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden