Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Lock/unlock screen using AppleScript and Salling Clicker' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Lock/unlock screen using AppleScript and Salling Clicker
Authored by: jctull on Jun 22, '06 11:28:02AM
This worked nicely for me. The hint is a bit sparse on details. What you need to do is install JackSMS and start it (have it set to start at login in the JackSMS preferences from the menu item -- yes, another menu item).

Next, double-click the example JackSMS clicker script to have it installed by Salling Clicker, assuming this is already installed and running. Next, open the Salling prefs and check the box next to JackSMS Demo Script in the Phone Events tab. Highlight the demo script and select Edit in Script Editor from the actions drop-down item. Add the line:
tell application "JackSMS" to set lock screen to false
immediately after the 'on process entering proximity a_terminal' line.

Next add the line:
tell application "JackSMS" to set lock screen to true
after the 'tell application "JackSMS" to set jack status to "on"' in the 'on process leaving proximity a_terminal' section.

Close and save the script and all should work without requiring you to input your password now if you have the Security preference set to require password when waking from sleep or screensaver and a good phone.

[ Reply to This | # ]