• 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: 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


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

  • Prev by Date: Re: launching Script Editor files launches associated applications
  • Next by Date: Folder Action Scripts
  • Previous by thread: Re: OSAX within tells
  • Next by thread: Re: OSAX within tells
  • Index(es):
    • Date
    • Thread