• 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: More problems with Script Menu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More problems with Script Menu


  • Subject: Re: More problems with Script Menu
  • From: John Delacour <email@hidden>
  • Date: Sun, 8 Sep 2002 10:16:14 +0100

Any ideas why this script should run perfectly from SE or from Script Runner or from a Eudora button and fail in Script Menu?

tell app "Finder" to close (windows whose id is not (get id of window 1))

I really think I might as well give up using Script Menu till Apple comes up with something serious with at least the features of certain application Script Menus that have been arount for years -- and that's without talking about Frontier.

Script Runner is handier and more reliable, but for it to need to quit before updating the menu and even mods to existing scripts is crazy.


Incidentally this script _will_ work from the menu:

#!/bin/sh
osascript -e '
tell app "Finder"
close (windows whose id is not (get id of its window 1))
end tell'

and so will this

#!/usr/bin/perl
`osascript -e '
tell app "Finder"
close (windows whose id is not (get id of its window 1))
end tell'`

JD
_______________________________________________
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.

  • Follow-Ups:
    • Re: More problems with Script Menu
      • From: Bill Cheeseman <email@hidden>
References: 
 >Re: More problems with Script Menu (From: bill fancher <email@hidden>)

  • Prev by Date: Script Mail's Bounce To Sender?
  • Next by Date: Re: More problems with Script Menu
  • Previous by thread: Re: Script Menu wish list
  • Next by thread: Re: More problems with Script Menu
  • Index(es):
    • Date
    • Thread