• 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: Without leaving Script Editor, how can I get a script's saved path?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Without leaving Script Editor, how can I get a script's saved path?


  • Subject: Re: Without leaving Script Editor, how can I get a script's saved path?
  • From: Michael Cytrynowicz <email@hidden>
  • Date: Sat, 12 Apr 2003 01:18:03 +0200

Jakob,

Sure does! Thanx!

This is what I got so far - I open another SE window, and run this,

tell application "Script Editor"
get the path of document 2
end tell

I get the path to the other script - in this form:

"/Users/mike/Design folders/Design1/02-AppleScript/PS capture text to
BBEdit.scpt"

I can "posix" it in another script to get the usual HFS path, but I will try
to do it in one pass (if I can...)

Thanks again, for the great help,

Mike




> I would try to see if SE can get you the path/location of 'window 1'
>
> Does that make sense?
>>
>>
>> On lxrdag, apr 12, 2003, at 00:12 Europe/Copenhagen, Michael Cytrynowicz
>> wrote:
>>
>> If I have ScriptEditor as frontmost app, with a script that has already been
>> compiled and saved, is there a way I can get its saved path copied to the
>> clipboard, without having to physically navigate to the location where the
>> file was saved?
>>
>> Why I want it? - because I'd like to save the path to the notepad, which is
>> open right next to SE.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Without leaving Script Editor, how can I get a script's saved path?
      • From: Deivy Petrescu <email@hidden>
    • Re: Without leaving Script Editor, how can I get a script's saved path?
      • From: John Delacour <email@hidden>
  • Prev by Date: Re: OS X 10.2.5 and AppleScript
  • Next by Date: Re: Run scripts from the keyboard?
  • Previous by thread: Re: Without leaving Script Editor, how can I get a script's saved path?
  • Next by thread: Re: Without leaving Script Editor, how can I get a script's saved path?
  • Index(es):
    • Date
    • Thread