General Mac OS X Discussion General Apple and Mac OS X Discussion

Reply
 
LinkBack Thread Tools Display Modes
  (#1) Old
Junior Member
 
Posts: 15
Join Date: May 2009
Default 3G Connect via Shortcut - 06-18-2009, 11:28 AM

Hi,

i hate this lousy mousclicking and searching for the telephone icon...
So i created a small script app to establish a 3g connection via a shortcut in quicksilver.

Maybe someone of you wants to use that.

What it does:
In case of no active 3G connection it tries to connect, waits 30 seconds and tries to connect again if no connection has been established.
(this is a workaround for me because i need 2 attemps to connect sometimes)
In case of an active 3G connection it disconnects.

I also added a nice logo and removed the dock appearance.

The Modem Name is hardcoded so it only works with the Dell Mini 5530 card.
But you can modify the code on your own.

The script code behind is:

tell application "System Events"
tell current location of network preferences
set ModemDial to service "Dell Wireless 5530 HSPA Mobile "
set isConnected to connected of current configuration of ModemDial
if exists ModemDial then
if not isConnected then
connect ModemDial
delay 30
set isConnected to connected of current configuration of ModemDial
if not isConnected then connect ModemDial
else
disconnect ModemDial
end if
end if
end tell
end tell

As I am unable to create an attachment at the moment here is my dropbox link

http://files.getdropbox.com/u/1309535/3GHelper.zip

have fun


Dell Mini 9, Mac OSX 10.5.8, 1 GB Ram, 32 GB Runcore, Integrated Bluetooth, Integrated WWAN, 1,3 mp Webcam
Reply With Quote
  (#2) Old
Junior Member
 
Posts: 23
Join Date: May 2009
Default 06-18-2009, 03:35 PM

thanks for the script. i was waiting for something like that.
but: how do i start it? if i doubleclick it, it says: you can't open the application, because it's not not supported on the infrastructure.
Reply With Quote
  (#3) Old
Junior Member
 
Posts: 15
Join Date: May 2009
Default 06-18-2009, 04:33 PM

Hmm...

what happens, if you copy the script code into the Apple Script Editor and execute it?


Dell Mini 9, Mac OSX 10.5.8, 1 GB Ram, 32 GB Runcore, Integrated Bluetooth, Integrated WWAN, 1,3 mp Webcam
Reply With Quote
Reply

« HELP!!! my OSX WILL NOT BOOT WITH OUT KERNEL and I don't me KFC!!! | Best Disk Cloning/Imaging Software »
Thread Tools
Display Modes

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


Copyright © 2008-2011 MyDellMini.com.