How Do I Make It Work
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.