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 > Mac OS X > Launch programs on Internet Access

Launch programs on Internet Access
Thread Tools
Fresh-Faced Recruit
Join Date: Dec 2000
Location: inside your left nostril
Status: Offline
Reply With Quote
Aug 17, 2004, 07:06 AM
 
I've been looking for ways to have OS X launch programs as soon as Internet becomes available, but I can't find any means to do so. Does anybody know of a way? Thanks.
"People need to stop using forum signatures. They're so irritating"
- conniving little worm
     
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Aug 17, 2004, 07:11 AM
 
It's a little inefficient, but you could use a modified version of this script, which I use to tell me when internet outages finish:


[php]
on idle
set availText to "Your Network Connection is now available."
set secondsToWaitBetweenChecks to 120 -- 2 Minutes between checks
set hostToCheck to "www.apple.com"
set checkNetScript to "curl " & hostToCheck

try
do shell script checkNetScript
say availText
display dialog availText

on error
-- say "DSL still down."
end try
return secondsToWaitBetweenChecks
end idle

[/php]


- you have to save the script as an application.
     
fimwat  (op)
Fresh-Faced Recruit
Join Date: Dec 2000
Location: inside your left nostril
Status: Offline
Reply With Quote
Aug 17, 2004, 08:25 PM
 
Thanks.

I'm not sure how to work this. Does this application need to be open all the time? I guess I would prefer a background application. Apple should really put an extra option in the "Internet" preference pane to launch certain programs as soon as Internet access becomes available. (I'll make a suggestion)
"People need to stop using forum signatures. They're so irritating"
- conniving little worm
     
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status: Offline
Reply With Quote
Aug 19, 2004, 02:34 AM
 
Peripheral Vision can do that if you register it. It's about $7.
     
   
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 06:36 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