Re: OSAX within tells
Re: OSAX within tells
- Subject: Re: OSAX within tells
- From: Emmanuel <email@hidden>
- Date: Thu, 18 Jan 2001 17:56:26 +0100
As I wrote earliser, OMM (G3PBOS904AS143SM172):
>
-------------------
>
tell application "Finder"
>
path to startup disk
>
end tell
>
-- alias "Macintosh HD:Desktop Folder:"
>
-------------------
>
>
while:
>
>
-------------------
>
path to startup disk
>
-- alias "Macintosh HD:"
>
-------------------
With the control panels, the preferences and the startup items, the Finder
returns an error, while "path to" outside the tell works.
-------------------
tell application "Finder" to get path to control panels
--> error
tell application "Finder" to get path to preferences
--> error
tell application "Finder" to get path to startup
--> error
-------------------
while
-------------------
path to control panels
-- alias "Macintosh HD:Dossier Systhme:Tableaux de bord:"
path to preferences
-- alias "Macintosh HD:Dossier Systhme:Prifirences:"
path to startup
-- alias "Macintosh HD:Dossier Systhme:Ouverture au dimarrage:"
-------------------
Perhaps it is so only on French systems ?
Emmanuel