• 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
Ping Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ping Script


  • Subject: Ping Script
  • From: Porter Slice <email@hidden>
  • Date: Mon, 25 Mar 2013 21:41:16 -0700

I am trying to write a script that will welcome me home when the static ip address of my phone is recognized on my wireless network. Here is what I have so far, 

property server_address : "192.168.2.37"
delay 10
do shell script "ping -c 1 " & server_address
say "welcome home Porter" using "Alex"

It works the first time, but I want the script to continually run and listen for that ip address without annoying me by welcoming me home every ten seconds. 

Porter Slice 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Ping Script
      • From: 2551phil <email@hidden>
    • Re: Ping Script
      • From: 2551phil <email@hidden>
  • Prev by Date: Re: [sul] Solver: Play sounds via script
  • Next by Date: The variable speak hour is not defined
  • Previous by thread: Re: Strings as list items don't always compare as strings
  • Next by thread: Re: Ping Script
  • Index(es):
    • Date
    • Thread