fPermittedFrontApps
I have a simple script :
act
activactivateapplication "Quicken 2015"
deladelay 1
tellttell application "System Events"
key dowk key down {control}
keystrok keystroke "s"
key up {c key up ontrol}
end tend ell
returreturn
This This script has been saved as APP in Applications folder and I have it scheduled yo be executed via calendar (alert) at 11PM every day.
nv,dWhen I am active on the computer at that time program works correctly, however when I am not active (either screen saver or display sleep) then program fails with syslog messages:
eb 25 12:50:00 Walters-Mac-mini.local launchservicesd[58]: Application App:"Quicken IPAD Sync" asn:0x0-746746 pid:31054 refs=7 @ 0x7f9d2b59c8c0 tried to be brought forward, but isn't in fPermittedFrontApps ( ( "LSApplication:0x0-0x1001 pid=76 "loginwindow"")), so denying. : LASSession.cp #1521 SetFrontApplication() q=LSSession 100005/0x186a5 queue
Feb 25 12:50:00 Walters-Mac-mini.local WindowServer[135]: [cps/setfront] Failed setting the front application to Quicken IPAD Sync, psn 0x0-0x746746, securitySessionID=0x186a5, err=-13066
Feb 25 12:50:00 Walters-Mac-mini.local applet[31054]: Performance: Please update this scripting addition to supply a value for ThreadSafe for each event handler: "/Library/ScriptingAdditions/SIMBL.osax"
Feb 25 12:50:00 Walters-Mac-mini.local launchservicesd[58]: Application App:"Quicken 2015" asn:0x0-39039 pid:1441 refs=7 @ 0x7f9d2b769320 tried to be brought forward, but isn't in fPermittedFrontApps ( ( "LSApplication:0x0-0x1001 pid=76 "loginwindow"")), so denying. : LASSession.cp #1521 SetFrontApplication() q=LSSession 100005/0x186a5 queue
Feb 25 12:50:00 Walters-Mac-mini.local WindowServer[135]: [cps/setfront] Failed setting the front application to Quicken 2015, psn 0x0-0x39039, securitySessionID=0x186a5, err=-13066
Feb 25 12:50:26 Walters-Mac-mini.local SIMBL Enabler for Sandboxed Apps[31061]: Set up watching for containers directory at URL file://localhost/Users/wtowbin/Library/Containers/
I am I am running Yosemite 10.10.2
This I have seen similar questions but no answer ...
P P Please help !
Thx, Walter
Y j
Mac mini (Late 2014), OS X Yosemite (10.10.2)