Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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)

Posted on Feb 25, 2015 12:45 PM

Reply
2 replies

Jan 31, 2016 1:04 AM in response to wtowbin

Hi wtowbin,

Given of its age, you might not monitor this thread anymore. I would be very interested to know, however, if you finally found a solution to this issue that you don't mind to share.


I also have an app, with the same behaviour and soon I realised that when the computer is in idle mode the app won't run. I have tried many kinds of solutions, which they initially seemed to have worked. The last one was to add the line

do shell script "caffeinate -u -t 1"

which wakes the computer, so I thought it did the trick, but the last time the applet failed, I checked the logs, where I read that the app " tried to be brought forward, but isn't in fPermittedFrontApps ".


Any thoughts are very appreciated.

fPermittedFrontApps

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.