Re: "open" command without full path (OS 9)
Re: "open" command without full path (OS 9)
- Subject: Re: "open" command without full path (OS 9)
- From: "Jon Reinsch" <email@hidden>
- Date: Tue, 25 Feb 2003 16:24:40 -0800
Thanks - that's just what I needed.
Paul Skinner <email@hidden> wrote:
You can use the command 'path to me' in a script and if run as an
application (not in an editor) it will return the container that it is
in. You could take that and append the filename you know is in the same
directory and have a path to it.
display dialog (((path to me) as string) & "filename.ext")
the results of this will differ when run as an application and as a
script in an editor.
On Tuesday, February 25, 2003, at 01:14 PM, Jon Reinsch wrote:
snip
Am I misunderstanding the documentation, or is AppleScript not
behaving as advertised? This is a stripped-down version of what I
actually want to do, but the key factor is that I cannot know the full
path of the file only that it is in the current directory. I'm using
AppleScript 1.8.3 on OS 9.2.2.
_______________________________________________
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.