Go Back   The Apple Blog Community > Apple/Mac > Development
Register Social Groups iSpy Members List Search Today's Posts Mark Forums Read FAQ

Development XCode, Cocoa, and all other development

Reply
 
LinkBack Thread Tools Search this Thread
01-21-2007   #1 (permalink)
Cashier
 
Join Date: Jan 2007
Posts: 28
tuteken has disabled reputation
I found a script that turn off the airport card and edited it to turn the airport card on and off. I use this with a quicksilver trigger so that I can have a shortcut key to turn the airport card on and off at will. Can anybody take a look at my script and give me some help to make it better? Thanks

Change Log:
February 5:
-Added Growl Support
-Cleaned Code

January 29:
-Always turn off Internet Connect, turns it off if the script starts it or if the user starts
-Display Dialog, asking what to do. Turn the airport card on or off
-Checks to see if Internet Connect is already running, if not the script will start and then turn it off.

Download

Last edited by tuteken; 02-05-2007 at 01:15 PM.
tuteken is offline   Reply With Quote
01-24-2007   #2 (permalink)
Operator
 
Join Date: Jan 2007
Posts: 1
doak has disabled reputation
very cool, I was searching for such a "tool" some time now. I can't script apple script right now, but I will have a look at this....

doak

Another possibility would be a shell script. Beside the problem of the needed input of the root password, I don't know if the aiport hardware is _really_ turned off!?

sudo ifconfig en1 up

But it should be faster

Last edited by Yuiichi; 01-24-2007 at 02:04 PM. Reason: The Edit Button is your friend =D
doak is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting 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


All times are GMT -6. The time now is 07:49 AM.




Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC5
© 2004-2008