This content has been marked as final. Show 8 replies
myTrustedMenu = app.trustedFunction( function( name )
And this on mouse up action:
but it opened the console saying:
"NotAllowedError: Security settings prevent access to this property or method."
What am I missing? Is there any other way to do this?
Or add the menu entry to the white list in the registry.
Well, I cannot do that, because the resulting pdf must be self-contained. It will be for distribuition, and I can't reasonably ask for people to go around placing .js in a specific path so that it won't result in warnings from the console..
@ Bernd Alheit
That solution is probably worse than PDL's because it's not only placing a file at a specific place, but having to alter the registry of my users. Adding to that, it's a Windows-specific solution.. =(
No, those are your only options. Aside from a plug-in, of course.
Let the user activate the select tool.
Well, thanks anyway. Bernd, that was my idea in the first place =) just have to convince management that it can't be done (at least without having to do an installer of sorts).
Again, thanks for your time.