Exiting a script ?
Exiting a script ?
- Subject: Exiting a script ?
- From: Graham Anderson <email@hidden>
- Date: Sat, 22 Jan 2005 18:08:11 -0800
here's a dumb question...
--Get IP
set localhostip to ¬
do shell script "ifconfig | grep 'broadcast' | awk '{print $6}'"
-- if there is no IP address, exit the script
if (localhostip = "") then display dialog "You must be connected to the
Internet to see the Fonovisa Player" giving up after 5 with icon stop
--quit here ...bypassing the rest of the code
how do I do this ?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden