Re: OSAX within tells
Re: OSAX within tells
- Subject: Re: OSAX within tells
- From: Hans Haesler <email@hidden>
- Date: Thu, 18 Jan 2001 21:33:04 +0100
On Thu, 18 Jan 2001, Emmanuel wrote:
>
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
>
-------------------
>
Perhaps it is so only on French systems ?
Emmanuel,
here, with a French Mac OS 8.6, I get the same results.
BUT... it works when I _complete_ the commands:
---
tell application "Finder" to get path to control panels folder
---
tell application "Finder" to get path to preferences folder
---
tell application "Finder" to get path to startup items folder
---
Hans
---
Hans Haesler | email@hidden