• 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: Tiger: System Events now runs scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tiger: System Events now runs scripts


  • Subject: Re: Tiger: System Events now runs scripts
  • From: Hudson Barton <email@hidden>
  • Date: Thu, 5 May 2005 11:52:36 -0400

Hmm. So you're saying perhaps that the following would work regardless of whether it's Tiger or Panther:

try
	run script (alias y)
on error
	tell application "System Events" to do script (alias y)
end try

Is that correct? I don't have Tiger yet to do any testing. Note that in Panther, "System Events" is not accessible when run from the Scripts Menu, so I guess one has to try the Panther method before trying the Tiger method.


H.


At 4:06 PM -0600 5/4/05, Gnarlodious wrote:
And apparently ONLY System Events:

set inputScriptPath to "Finder:InputFinderItems" -- relative path to the input script

tell application "Finder" to ((container of (path to me)) as string) & inputScriptPath
tell application "System Events" to set masterList to do script result


Applescript cannot run another script anymore.

So, all my scripts that call other scripts have to be fixed. But now relative paths are fully supported through Finder.

It's a good change.

-- Gnarlie

_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Tiger: System Events now runs scripts
      • From: Gnarlodious <email@hidden>
References: 
 >Tiger: System Events now runs scripts (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: System Events (was Re: Frontmost)
  • Next by Date: Re: AppleScript working with Tiger
  • Previous by thread: Tiger: System Events now runs scripts
  • Next by thread: Re: Tiger: System Events now runs scripts
  • Index(es):
    • Date
    • Thread