ControlPlane icon indicating copy to clipboard operation
ControlPlane copied to clipboard

Access to context info from scripts?

Open mrjcleaver opened this issue 9 years ago • 4 comments

Control Plane calls my AppleScript when it joins or leaves a network. Great; but when it's called can I get told all context info? E.g. are some environment variables set?

Thanks, M.

mrjcleaver avatar Dec 17 '15 02:12 mrjcleaver

Looks a bit like #316

mrjcleaver avatar Dec 21 '15 15:12 mrjcleaver

Also, how can you tell whether you are entering or exiting a context?

mrjcleaver avatar Jan 04 '16 19:01 mrjcleaver

The script never knows. As a work around you can always copy the script for the various states you are dealing with.

dustinrue avatar Jan 05 '16 15:01 dustinrue

Does Context Plane know whether it's entering or exiting? Could it share this somehow?

mrjcleaver avatar Jan 06 '16 21:01 mrjcleaver