• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE:Exiting a script ? Figured it Out I think
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE:Exiting a script ? Figured it Out I think


  • Subject: RE:Exiting a script ? Figured it Out I think
  • From: Graham Anderson <email@hidden>
  • Date: Sat, 22 Jan 2005 18:43:50 -0800

--Get IP
set localhostip to ¬
	do shell script "ifconfig | grep 'broadcast' | awk '{print $6}'"

if localhostip = "" then
set notConnected to true
display dialog "You must be connected to the Internet to see the Fonovisa Player" buttons "quit" giving up after 5 with icon stop
return notConnected -- seems to exit the script
else
set notConnected to false -- go on with with script
end if


_______________________________________________
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


  • Prev by Date: Re: Exiting a script ?
  • Next by Date: Re: Exiting a script ?
  • Previous by thread: Re: Exiting a script ?
  • Next by thread: Folder Action Script question
  • Index(es):
    • Date
    • Thread