recentpopularlog in

kme : menuextra   18

Junos Pulse Automatically Opens at Startup. | Apple Support Communities
launchctl unload -w /Library/LaunchAgents/

Possible source:

Here's how to load/unload the PulseTray service on-demand (I put this in an Automator app):
-- Source:
property checkInterval : 30 -- interval to check process

on run
do shell script "launchctl load -w /Library/LaunchAgents/ &>/dev/null &"
-- What this actually runs is "/Applications/Junos"
delay checkInterval
tell application "Junos Pulse" to activate -- start it up
delay checkInterval -- initial delay before idle
end run

on idle
tell application "System Events"
if (exists application process "Junos Pulse") then return checkInterval -- check again later
end tell
-- application is not running, so run script here
do shell script "launchctl unload -w /Library/LaunchAgents/ &>/dev/null &"
end idle

And here's how to load just the tray application (which is basically all the launch service does anyway):
open -a '/Applications/Junos'
juniper  junos  junospulse  vpn  mac  osx  menuextra  trayicon  annoyance  solution 
september 2014 by kme

Copy this bookmark:

to read