Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > Need a very simple applescript,

Need a very simple applescript,
Thread Tools
Senior User
Join Date: Jul 2001
Status: Offline
Reply With Quote
Nov 8, 2006, 12:27 PM
 
I need a very simple apple script that just does one thing,. It sends a keystroke F key, but it needs to stay alive so I can have it in the Application switcher Cmd+Tab tool.
I want to have my dash board in the application switcher. So I can just simply jump there without a thought. Since I have to use fn+Fkey right now.

PLease dont question teh idea, it's just an old complaint I have always had and dont like useing the dock, and my hot corners are all used up for otehr expose things. Dashboard acts just like an app so it should live in my app switch as well..
     
Professional Poster
Join Date: Jan 2003
Location: Teaneck, NJ
Status: Offline
Reply With Quote
Nov 8, 2006, 12:52 PM
 
try this

tell application "Finder"
activate
open application file "Dashboard.app" of folder "Applications" of startup disk
end tell
save as application, etc.
ATT iPhone 4; 13" MBP; MDD G4.
http://twitter.com/SSharon27
     
loren s  (op)
Senior User
Join Date: Jul 2001
Status: Offline
Reply With Quote
Nov 8, 2006, 01:25 PM
 
Hmm just works once but does not activate the dashboard anymore after it's open.
     
Professional Poster
Join Date: Jan 2003
Location: Teaneck, NJ
Status: Offline
Reply With Quote
Nov 8, 2006, 01:39 PM
 
Originally Posted by loren s View Post
Hmm just works once but does not activate the dashboard anymore after it's open.
well it was worth a shot. I have always had good luck asking my applescript related questions in the developer forum.
ATT iPhone 4; 13" MBP; MDD G4.
http://twitter.com/SSharon27
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Nov 8, 2006, 01:56 PM
 
The tricky part is that when Dashboard goes away, your app will be frontmost again.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
loren s  (op)
Senior User
Join Date: Jul 2001
Status: Offline
Reply With Quote
Nov 8, 2006, 02:31 PM
 
Originally Posted by Chuckit View Post
The tricky part is that when Dashboard goes away, your app will be frontmost again.
O.o! Did not even think of that... ... grrrrrrrrrr well thats out of the question... It just bugs me a lot that I can t just simply hop to it in my frantic cmd-tab power...
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:19 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2