On Jan 18, 2010, at 10:04 PM, jonat...@mugginsoft.com wrote:
>> Or use TransformProcessType to elevate your Unix style executable to GUI
>> status: [...]
> Looking at rb-appscript [...] the process is transformed only when error
> -1713 occurs.
Correct, errAENoUserInteraction = -1713.
> Ide
On 18 Jan 2010, at 15:55, has wrote:
> Dave Keck wrote:
>
>> That seems like a silly requirement for UI interaction...
>>
>> It seems you can get around it by making your app bundled and setting
>> the LSUIElement key in your Info.plist, though.
>
> Or use TransformProcessType to elevate your U
Dave Keck wrote:
> That seems like a silly requirement for UI interaction...
>
> It seems you can get around it by making your app bundled and setting
> the LSUIElement key in your Info.plist, though.
Or use TransformProcessType to elevate your Unix style executable to GUI status:
OSStatus err
On 18 Jan 2010, at 14:30, jonat...@mugginsoft.com wrote:
> On 18 Jan 2010, at 14:22, Alastair Houghton wrote:
>
>> Quite possibly. Have you tried calling NSApplicationLoad() at the top of
>> your main() function?
> Makes no difference as far as I can tell.
> There is a practical point here as
On 18 Jan 2010, at 14:30, jonat...@mugginsoft.com wrote:
>> Quite possibly. Have you tried calling NSApplicationLoad() at the top of
>> your main() function?
> Makes no difference as far as I can tell.
> There is a practical point here as I am trying to launch user interacting
> AppleScript fro
> Yes - I'd recommend placing your helper into your main app's
> Contents/MacOS directory, per
> http://developer.apple.com/mac/library/technotes/tn2007/tn2206.html.
> (Although Apple seems to favor putting their helpers in
> Contents/Resources, at least on 10.5.)
I forgot to add that helper _bund
> Silliness apart it's a legitimate question.
Of course - I meant AS requiring one's app to be a bundle to interact
with the user seemed strange.
> I want to investigate NSAppleScript user interaction from within a foundation
> tool.
> The tool is already part of my app bundle.
>
> I don't reall
On 18 Jan 2010, at 14:28, Dave Keck wrote:
> That seems like a silly requirement for UI interaction...
>
> It seems you can get around it by making your app bundled and setting
> the LSUIElement key in your Info.plist, though.
Silliness apart it's a legitimate question.
I want to investigate NSA
That seems like a silly requirement for UI interaction...
It seems you can get around it by making your app bundled and setting
the LSUIElement key in your Info.plist, though.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post ad
On 18 Jan 2010, at 13:43, jonat...@mugginsoft.com wrote:
> Can anyone cast any light on the interaction between the bundle structure and
> the window server?
>
> The following modified Cocoa app main function displays a dialog when run as
> an app.
> If the executable is extracted from the bund
Can anyone cast any light on the interaction between the bundle structure and
the window server?
The following modified Cocoa app main function displays a dialog when run as an
app.
If the executable is extracted from the bundle and run it fails (no user
interaction allowed).
The thing is that
11 matches
Mail list logo