• 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: Gnarlodious <email@hidden>
  • Date: Thu, 05 May 2005 23:13:41 -0600

Strangely, your script works for me in Tiger!

run script (alias y)

So it may be the way Tiger interprets relative HFS paths.

Otherwise, I'm having some pretty serious problems with Tiger, all of which
pertain to security:

1) sudo doesn't work and I can't figure it out
2) "with administrator privileges" doesn't ask for a password
3) Can't get any passwords from Keychain
4) eppc doesn't work
5) Can't change permissions from the infowindow
6) Apache doesn't work, although I haven't studied it yet

Not all of these are Applescript issues, but all in all it's a big old mess
over here.

-- Gnarlie


Entity Hudson Barton spoke thus:

> 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

References: 
 >Re: Tiger: System Events now runs scripts (From: Hudson Barton <email@hidden>)

  • Prev by Date: Re: Find in Filemaker
  • Next by Date: Re: Is app running?
  • Previous by thread: Re: Tiger: System Events now runs scripts
  • Next by thread: exporting tagged text out of filemaker to indesign
  • Index(es):
    • Date
    • Thread