Remote Access scripting busted
Remote Access scripting busted
- Subject: Remote Access scripting busted
- From: Preston Smith <email@hidden>
- Date: Tue, 2 Jul 2002 18:57:46 -0500
I was able to use PPP connect and PPP disconnect in 9.0.4. On upgrading to
9.1, and AS 1.8.3, these commands stopped working. If I use the command RA
disconnect in 9.1, I get an error message about needing to install Apple
Shared Library manager.
Any ideas on how to disconnect in 9.1?
========
Peter Bunn replied:
>
Gnarlodius recently commented:
>
>
> You are entirely correct, RA "Status" is broken in 9.1
>
>
However, PPP status as of 9.0 was still alive and well, despite the
>
contol panel name change. The following worked there for me:
>
>
Hope you can use these on 9.1.
>
>
Peter B.
>
>
----------
>
>
--Connect
>
>
on run
>
if ((state of (PPP status)) = "idle") then
>
try
>
PPP connect
>
on error
>
end try
>
end if
>
end run
>
>
-----
>
>
--Disconnect
>
>
on run
>
if ((state of (PPP status)) "idle") then
>
try
>
PPP disconnect
>
on error
>
end try
>
end if
>
end run
>
Preston Smith
Perfect Record
St.Paul, MN USA
email@hidden
Sound for CD * DVD-A * Sound for Broadcast * Mastering * Editing
_______________________________________________
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.