How to Renew DHCP Lease
How to Renew DHCP Lease
- Subject: How to Renew DHCP Lease
- From: Gnarlodious <email@hidden>
- Date: Fri, 15 Apr 2005 22:23:38 -0600
Title: How to Renew DHCP Lease
Hey, why won’t this work?
tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.network"
end tell
tell application "System Events"
get properties
tell process "System Preferences"
tell window "Network"
click pop up button 2
click menu item "Built-in Ethernet" of menu "OtherViews" of pop up button 2
tell group 1
tell tab group 1
click radio button "TCP/IP"
tell group 1
-- click button "Renew DHCP Lease"
-- OOPS, won’t work
get every UI element
--So where is "Renew DHCP Lease" ??
end tell
end tell
end tell
end tell
end tell
end tell
_______________________________________________
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