• 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
How Do I Make It Work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How Do I Make It Work


  • Subject: How Do I Make It Work
  • From: Ezra Balaraj <email@hidden>
  • Date: Sun, 11 Jan 2004 20:51:39 +0800

Hello,
I am an absolute newbie. I got this from another forum. I want to use it as
a start-up item. Please, how do I make it work for me? The error msg. refers
to the 3variable=connect2 not being defined. I also want it to quit after it
has done it9s work. Thank you.


property myConfig : "Built-in Ethernet"

tell application "Internet Connect"
-- get the current configuration
if name of current configuration is not equal to "Built-in Ethernet"
then
,
set configList to every configuration
set configNames to name of every configuration

repeat with i from 1 to count of configNames
if item i of configNames is equal to myConfig then
set current configuration to item i of configList
exit repeat
end if
end repeat
end if
end tell


activate
connect



tell application "Safari"
activate
-- OpenURL to some places
end tell
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: How Do I Make It Work
      • From: Andrew Oliver <email@hidden>
  • Prev by Date: Rép : Selection in iPhoto
  • Next by Date: Re: Bug in Image Events (?)
  • Previous by thread: Re: Rép : Selection in iPhoto
  • Next by thread: Re: How Do I Make It Work
  • Index(es):
    • Date
    • Thread