Re: Path to me (was: "open" command without full path (OS 9))
Re: Path to me (was: "open" command without full path (OS 9))
- Subject: Re: Path to me (was: "open" command without full path (OS 9))
- From: Paul Skinner <email@hidden>
- Date: Wed, 26 Feb 2003 23:38:06 -0500
On Wednesday, February 26, 2003, at 09:48 PM, Kai wrote:
on Tue, 25 Feb 2003 13:47:47 -0500, 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")
Does 'path to me' really return a container for you, Paul?
snip
Kai
Of course it didn't. It was a one liner and so I exempted it from Rule
42.
Rule 42 clearly states that you are to compile, run, and then actually
read the results of ANY code before posting. : )
Paul Skinner
Our earth is degenerate in these latter days; bribery and corruption
are common; children no longer obey their parents; and the end of the
world is evidently approaching.
-Assyrian clay tablet 2800 B.C.
_______________________________________________
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.