Article View: demon.tech.mac
Article #907Applescript & Location Manager
From: Alan W. Frame
Date: Fri, 19 Jun 1998 00:00
Date: Fri, 19 Jun 1998 00:00
23 lines
1136 bytes
1136 bytes
Hi folks,
Has anyone[1] tried scripting the Location Manager[2]?
Code like:
------
tell application "Location Manager"
set current location to location "Office"
quit
end tell
------
works, but the LM always displays the "Switching to 'Office' was
sucessful (OK)" modal dialog which is a bit of a pain as I want it to
continue the script and do connects, etc.
Oh, it also seems to have trouble switching *from* a PPP TCP/IP config
*to* a Manual Ethernet config. - everything else works OK
rgds, Alan
[1] Ben?
[2] Err, LM 2.01, Sys 8.0 (UK)
--
Technical Details
Message-ID:
<1davio2.jhuxtkyryk1sN@newtechd.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b5a2,49b5ba013fe4b44b,start X-Google-Attributes: gid10b5a2,public From: alan.frame@acm.org (Alan W. Frame) Subject: Applescript & Location Manager Date: 1998/06/19 Message-ID: <1davio2.jhuxtkyryk1sN@newtechd.demon.co.uk> X-Deja-AN: 364177980 X-NNTP-Posting-Host: newtechd.demon.co.uk:158.152.58.83 X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 898261475 nnrp-01:13741 NO-IDENT newtechd.demon.co.uk:158.152.58.83 Organization: Coder Of Fortune Newsgroups: demon.tech.mac