• 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
what's the ascii for the escape key, and bonus question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

what's the ascii for the escape key, and bonus question


  • Subject: what's the ascii for the escape key, and bonus question
  • From: Eric Geoffroy <email@hidden>
  • Date: Mon, 11 Jul 2005 15:05:20 -0700

Or, a better question might be. What keystroke can I ask "System event's" to keystroke to give me an escape?

Extra Bonus question: If I script "system events" to log out. What process is at the forefront? I tried to send a command period, but if the dialog box is not in the forefront, it won't work.

Try this: command-shift-q
then use command-tab to cycle through all open apps
at no point will the logout confirmation dialog box ever return to the forefront.


P.S.

If you're wondering what's behind this stupid question, it's the only way I've discovered to wake the screensaver and stop it from re-activating.
I have a script that runs on Tuesday morning. It runs 400% faster if the screensaver is not running. Apart from putting a post-it on my monitor that says "Monday- disable screensaver". Is there a way this can be scripted?


What I've explored so far...

1. write defaults com.apple.screensaver. I set the timeout to never and I scripted this. The downside is it requires a reboot. An unattended scripted reboot can go awry in all sorts of ways.

2. Put the cursor in a hot corner. There's a scripting addition for cursor placement.

3. Activate shareware "Jiggler". It's a little app that keeps the OS busy.

4. A stay-open idle script. But what to make it do?

_______________________________________________
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: what's the ascii for the escape key, and bonus question
      • From: Michael Henley <email@hidden>
    • Re: what's the ascii for the escape key, and bonus question
      • From: Doug McNutt <email@hidden>
  • Prev by Date: Re: Copy files with progress indicator
  • Next by Date: Re: Copy files with progress indicator
  • Previous by thread: Re: Copy files with progress indicator
  • Next by thread: Re: what's the ascii for the escape key, and bonus question
  • Index(es):
    • Date
    • Thread