Tuesday, June 18, 2019

#1 2019-02-05 09:05:23 am

Registered: 2019-01-14
Posts: 98

Is there a way to avoid Mojave app interaction security question?

First; I should note that I'm not sure if there is a "correct" forum in which to ask this question, because it affects all Mojave scripting projects that try to control other apps.

I'm scripting an app that opens a set of various types of files in their default app and resizes/positions the window in an overlapping layout. I can activate the apps and open the files, but setting the bounds of an open app in Mojave results in something like the following:

“Filename and List Handlers.app“ wants access to control “TextEdit.app“. Allowing control will provide access to documents and data in “TextEdit.app“, and to perform actions within that app.

This is no surprise. I've seen this type of message even with some commercial apps and fully understand that it is part of Mojave's enhanced security features. However; having to "say" Ok to the control of each new app (the first time) has a negative impact of the user perception of the script.

Is there an approved way to "pre-authorize" specific interactions or open the files with a particular size and location without triggering this security feature?



#2 2019-02-05 04:19:39 pm

Shane Stanley
From:: Australia
Registered: 2002-12-07
Posts: 5699

Re: Is there a way to avoid Mojave app interaction security question?

No. Script Editor has special permission to do this, but no other app has.

Shane Stanley <sstanley@myriad-com.com.au>



Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)