• 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: Lion crashed by AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lion crashed by AppleScript


  • Subject: Re: Lion crashed by AppleScript
  • From: Deivy Petrescu <email@hidden>
  • Date: Mon, 25 Jul 2011 12:21:36 -0400

On Jul 25, 2011, at 11:27 , Axel Luttgens wrote:

> 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
>

I have been using the do shell script method for a long while and never had a problem.
I started in Leopard or SL and crossed over to Lion without a hitch.



Deivy Petrescu
email@hidden



 _______________________________________________
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

References: 
 >Re: Lion crashed by AppleScript (From: Shane Stanley <email@hidden>)
 >Re: Lion crashed by AppleScript (From: Luther Fuller <email@hidden>)
 >Re: Lion crashed by AppleScript (From: KOENIG Yvan <email@hidden>)
 >Re: Lion crashed by AppleScript (From: Christopher Stone <email@hidden>)
 >Re: Lion crashed by AppleScript (From: Christopher Stone <email@hidden>)
 >Re: Lion crashed by AppleScript (From: Luther Fuller <email@hidden>)
 >Re: Lion crashed by AppleScript (From: Axel Luttgens <email@hidden>)
 >Re: Lion crashed by AppleScript (From: Luther Fuller <email@hidden>)
 >Re: Lion crashed by AppleScript (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: Lion crashed by AppleScript
  • Next by Date: Re: Lion crashed by AppleScript
  • Previous by thread: Re: Lion crashed by AppleScript
  • Next by thread: Re: Lion crashed by AppleScript
  • Index(es):
    • Date
    • Thread