Re: Lion crashed by AppleScript
Re: Lion crashed by AppleScript
- Subject: Re: Lion crashed by AppleScript
- From: Axel Luttgens <email@hidden>
- Date: Mon, 25 Jul 2011 17:27:52 +0200
Le 24 juil. 2011 à 20:47, Luther Fuller a écrit :
> […]
>
> The original Abracapocus used idle and quit handlers. I removed these. I just submitted Bug # 9831083 with the following test script ...
>
> […script code…]
>
> On a new Lion installation, it kills the Finder, first time, every time.
> I will let Apple figure out why.
Hello Luther,
Thanks for the details.
So, does it mean that a very simplified version like this one:
set show to true
set filePath to (path to preferences as text) & "com.apple.finder.plist"
tell application "Finder" to quit
delay 5
tell application "System Events" to set value of property list item "AppleShowAllFiles" of property list file filePath to show
delay 5
tell application "Finder" to activate
would irremediably have those nasty effects as well?
On the other hand, have you tried with something like:
do shell script "defaults write com.apple.finder AppleShowAllFiles -bool TRUE"
in the hope the defaults binary goes thru all the expected layers?
Axel
_______________________________________________
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