What should have been a rather simple task seems to not be...
in my Cocoa app I reach a point where after doing a version check on iTunes, I launch it and need it to be brought to the foreground... in 10.4 simply doing this statement does this correctly.
[[NSWorkspace sharedWorkspace] launchApplication"iTunes"];
however in 10.5.2, the application requested (iTunes) is launched effectively at the bottom of the stack (if you immediately invoke app swither, iTunes is the last in the row).
I cant seem to find any API call for activating or "focusing" another app other than your own... any ideas on what the API call would be?
thanks
in my Cocoa app I reach a point where after doing a version check on iTunes, I launch it and need it to be brought to the foreground... in 10.4 simply doing this statement does this correctly.
[[NSWorkspace sharedWorkspace] launchApplication"iTunes"];
however in 10.5.2, the application requested (iTunes) is launched effectively at the bottom of the stack (if you immediately invoke app swither, iTunes is the last in the row).
I cant seem to find any API call for activating or "focusing" another app other than your own... any ideas on what the API call would be?
thanks