Ho il seguente file plist nella mia cartella User / Library / LaunchAgents. Preme il tasto "g" ogni 60 secondi.
La mia domanda è, come posso cambiare questo per premere il tasto "g" ogni 5 secondi?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<key>Program</key>
<string>/usr/bin/osascript</string>
<key>ProgramArguments</key>
<array>
<string>osascript</string>
<string>-e</string>
<string>tell application "System Events" to keystroke "g"</string>
</array>
<key>ServiceDescription</key>
<string>Auto Keypress</string>
<key>StartCalendarInterval</key>
<dict>
<key>Second</key>
<integer>0</integer>
</dict>
</dict>
</plist>