Re: Path to app ...
Re: Path to app ...
- Subject: Re: Path to app ...
- From: "Donald S. Hall" <email@hidden>
- Date: Mon, 03 Dec 2001 23:01:29 -0700
Not sure why the first one works, but I have seen it before, and it may not
work in all versions of AS, or in the future.
Better to use 'path to me'
For the frontmost app, use 'path to frontmost application'
If you have a window open, you should know its path. I think the exact
syntax to use to get the frontmost document may depend on the application.
Check the application's dictionary.
HTH,
Don
>
Can anybody explain to my why the following applet returns its path:
>
>
set myPath to ":" as alias
>
display dialog "You are in path:" default answer myPath
>
>
.. and further, how you accomplish the same feat with the front-most
>
application, or the front-most document of an application?
>
>
WES
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
http://www.theboss.net/appsmore
email@hidden