• 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
ScriptMenu oddity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ScriptMenu oddity


  • Subject: ScriptMenu oddity
  • From: alain content <email@hidden>
  • Date: Tue, 03 Sep 2002 22:07:48 +0200

Hi,

I have this simple script that opens a folder on a removable disk (LaCie
Pocket Drive):
<<
if (list disks) does not contain "ac" then
tell me to display dialog "Volume \"ac\" is not mounted, man!"
else
set thePath to alias "ac:ut:"
tell application "Finder" to open thePath
end if
>>

Now, under certain (as yet unidentified) conditions, when run from the
script menu, I get the "not mounted" message, despite the facts that
- the disk is mounted,
- can be seen on the desktop
- has a window open and front
- list disk reports {"U", "ac"} when run from smile worksheet
- the script does run perfectiy fine when run from Smile or Script Editor

What am I doing wrong?
Help, please I thought I was *beginning* to grasp Applescript...

TIA,
Alain
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: bash now default shell in 10.2; and reading files
  • Next by Date: Re: MS-DOS better than Applescript??
  • Previous by thread: Re: MS-DOS better than Applescript??
  • Next by thread: ScriptMenu oddity
  • Index(es):
    • Date
    • Thread