• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Paste Reference in OS 10.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Paste Reference in OS 10.4
      • From: kai <email@hidden>
References: 
 >Paste Reference in OS 10.4 (From: email@hidden)
 >Re: Paste Reference in OS 10.4 (From: kai <email@hidden>)

  • Prev by Date: Re: Application name length
  • Next by Date: Re: New FireFox 1.5 browser -- applescript implementation
  • Previous by thread: Re: Paste Reference in OS 10.4
  • Next by thread: Re: Paste Reference in OS 10.4
  • Index(es):
    • Date
    • Thread