• 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: Script Menu in 10.6.2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script Menu in 10.6.2


  • Subject: Re: Script Menu in 10.6.2
  • From: Luther Fuller <email@hidden>
  • Date: Wed, 03 Feb 2010 16:02:05 -0600

On Feb 3, 2010, at 3:43 PM, email@hidden wrote:

Cancel the first dialog and the second also doesn't work.

Reverse the order (Luther's version executing first) and they both work.

What a curious little bug!

The following does not work.

tell application "Finder" to (path to library folder)
(path to documents folder)
tell application "Finder" to set ListOfFiles to name of files of the result
set ChosenFile to (choose from list ListOfFiles with prompt "Select a File and press Choose" OK button name "Choose")

But, it does work if the first line is commented out.
It seems that using ...

tell application "Finder" to (path to ...)

will poison the remainder of the script, at least when the script is run from the Scripts menu.
But, why?

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Script Menu in 10.6.2
      • From: Thomas Fischer <email@hidden>
    • Re: Script Menu in 10.6.2
      • From: Shane Stanley <email@hidden>
References: 
 >Script Menu in 10.6.2 (From: "Steve Valenti" <email@hidden>)
 >Re: Script Menu in 10.6.2 (From: Luther Fuller <email@hidden>)
 >Re: Script Menu in 10.6.2 (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: Script Menu in 10.6.2
  • Next by Date: Re: Script Menu in 10.6.2
  • Previous by thread: Re: Script Menu in 10.6.2
  • Next by thread: Re: Script Menu in 10.6.2
  • Index(es):
    • Date
    • Thread