 |
 |
Apple Script
|
 |
|
 |
|
Addicted to MacNN
Join Date: Dec 2000
Location: Maine
Status:
Offline
|
|
Does anyone know the an apple script to turn one of the F keys (on the pro key board) into an off power button I found it once but can't find the script again after a trashed it by mistake. Thanks
------------------
I Have a Super Computer
|

I GOT WASTED WITH PHIL SHERRY!!!
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Dec 1999
Status:
Online
|
|
Here, make your own:
tell application "Finder"
shutdown
end tell
No fancy dialog, but it works. 
|
|
"…I contend that we are both atheists. I just believe in one fewer god than
you do. When you understand why you dismiss all the other possible gods,
you will understand why I dismiss yours." - Stephen F. Roberts
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Dec 2000
Location: Maine
Status:
Offline
|
|
I tryed that but it gives me a pop up window with the title bar as result and in the window it just says shutdown and nothing happens. Am I missing a step or just not typing it incorrectly
------------------
I Have a Super Computer
|

I GOT WASTED WITH PHIL SHERRY!!!
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Mar 2000
Location: Massachusetts, USA
Status:
Offline
|
|
The above script will not work. Quitiing the Finder will not shut down the computer. The Finder will quit and open again at the next point you have no applications open.
[This message has been edited by spicyjeff (edited 02-18-2001).]
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Feb 2001
Status:
Offline
|
|
The script does work, but you will need to save it as an application. You also need to put a space between shut and down.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Dec 2000
Location: Maine
Status:
Offline
|
|
I tried to put a space bettween and now it says that I the finder won't shut down because the application apple script is open and I can't run the script when it isn't open How do you save it as an application
------------------
I Have a Super Computer
|

I GOT WASTED WITH PHIL SHERRY!!!
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Dec 2000
Location: Albq. NM usa
Status:
Offline
|
|
File menu-Save As-Give it name and under that there is a pull down menu. Choose Classic Applet, don't show the startup screen. then assign it to your Fkey
|
|
Carpé Bandwidth
|
| |
|
|
|
 |
 |
|
 |
| |
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |