• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OSAX within tells
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: OSAX within tells
      • From: Hans Haesler <email@hidden>
References: 
 >Re: OSAX within tells(Keyboard Question?) (From: email@hidden)
 >Re: OSAX within tells(Keyboard Question?) (From: Emmanuel <email@hidden>)

  • Prev by Date: launching Script Editor files launches associated applications
  • Next by Date: Re: Quoted text?
  • Previous by thread: Re: OSAX within tells(Keyboard Question?)
  • Next by thread: Re: OSAX within tells
  • Index(es):
    • Date
    • Thread