Re: Newbie to Applescript
Re: Newbie to Applescript
- Subject: Re: Newbie to Applescript
- From: vectormation <email@hidden>
- Date: Thu, 12 Apr 2001 11:16:16 -0400
I don't have it, or know what it is - but from the dict you sent
I'd guess along the following lines :
tell application ""EnterNet 100"
activate
connect using configuration "blah"
end tell
replace "blah" with the name of the config you've created and saved
(however that's done...)
~Phi
>
Hello, I would like to get some recommendations on which books to purchase
>
for Applescript. Also, I am tring to create a script that will allow me to
>
assign an F Key to launch an application called EnterNet 100, then connect
>
to the internet. After a connection has been established, I would like the
>
script then to launch Internet Explorer and Outlook Express. I have been
>
able to launch all of the applications, but can't get it to connect. Here
>
is a modified script that was created.
>
>
tell application "Finder"
>
activate
>
select file "EnterNet 100 alias"
>
open selection
>
set connect to true
>
end tell
>
>
Here is the dictionary for EnterNet 100
>
>
Connect: Attempt to start a PPP connection.
>
Connect
>
[Using Configuration string]
>
>
ConnectState: Returns current PPP connection state
>
ConnectState
>
Result: small integer -- 0 = not connected, 1 = connect or disconnect
>
in progress, 2 = connected
>
>
Disconnect: Terminate any current PPP connection.
>
Disconnect
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users