• 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: Display dialog and select button after so long - Final Code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Display dialog and select button after so long - Final Code


  • Subject: Re: Display dialog and select button after so long - Final Code
  • From: KOENIG Yvan <email@hidden>
  • Date: Fri, 26 Aug 2011 09:48:58 +0200

Le 26 août 2011 à 00:28, Luther Fuller a écrit :

> On Aug 25, 2011, at 4:39 PM, Ball, Dan wrote:
>
>> Here is the final code if anyone else wants it....probably not the best
>> written scripts, but they work!  Must have Lion and turn on Enable access
>> for assistive devices in Universal Access System Pref pane.
>
> You don't need GUI scripting to do the actual shut down (in Lion).
> You can do this ...
>
> tell application "System Events" to shut down
>
> But you may need GUI scripting if you have open applications and documents.
> You may need to Save documents and Quit applications.
>
>> As far as I know Lion doesn't have a way to disable that checkbox, I put
>> in an ER to have it unchecked by default, but nothing so far.
>
> That check box needs to go away. It should be a preference in System Preferences, perhaps as a default value for the check box.
>
Hello Luther

There is already such a preference in the General Prefpane.

What is odd is that the preference setting is killed by the fact that the function is automatically re-activated by default on shutdown.

More annoying, we have no box offered when we use the Restart Prefpane to restart from an other device.
In this case the two ways to disable Resume are :
(1)  press the option key during the shutdown part of the process
(2) empty the folder "Saved Application State" of the first volume from the newly booted system.

Yvan KOENIG (VALLAURIS, France) vendredi 26 août 2011 09:48:50



 _______________________________________________
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: Display dialog and select button after so long - Final Code (From: "Ball, Dan" <email@hidden>)
 >Re: Display dialog and select button after so long - Final Code (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Finder Selection Bug in Lion
  • Next by Date: HTML Mail.app
  • Previous by thread: Re: Display dialog and select button after so long - Final Code
  • Next by thread: Re: Lion Bugs
  • Index(es):
    • Date
    • Thread