On Jan 31, 2010, at 9:00 AM, pendolino wrote:

> nice and i can confirm it works but how about a disconnect/connect
> action without selecting a specific server? the disconnect could just
> apply to whatever connection is on and the connect, if without a
> specific server, would connect to the last connection used.

Oh, believe me, I’ve thought about this. I just haven’t discovered a reliable 
way to query the application to find out it’s current state. It’s AppleScript 
library provides only “connect” and “disconnect” and they require a specific 
connection name.

The last connection used thing might be possible, so long as it was “used” via 
Quicksilver because again, I’m not sure how you would get such information 
directly from Viscosity.

If anyone has suggestions/experience related to getting such information, I’m 
listening.

-- 
Rob McBroom
<http://www.skurfer.com/>

It's not that I think guns, drugs, prostitution, swimming, eating and reading 
should be legal. It's just that no one on Earth has the authority to make them 
illegal.

Reply via email to