Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

anujkumar

macrumors newbie
Original poster
Nov 29, 2012
1
0
Hi developers
I want to hide my running Indesign Application from Dock and also from desktop (completely hide and run in background).
I try using Apple Script but it not hide.

tell application "Adobe InDesign CS5.5" to activate
tell application "Adobe InDesign CS5.5" to activate
tell application "Finder"
set visible of process "Adobe InDesign CS5.5" to false
end tell

Also set LSUIElement= 1, and LSBackgroundOnly=1.

and also try

NSRunningApplication *selectedApp = [arrayController.selectedObjects objectAtIndex:0];
[selectedApp hide];


I try system events also
set appName to "Adobe InDesign CS5.5"
set appID to bundle identifier of (info for (path to application appName))
tell application "System Events"
##set visible of process appName to false
set visible of appID to false
end tell

Result:

error "Can’t set visible of \"com.adobe.InDesign\" to false." number -10006 from visible of "com.adobe.InDesign"

But not sucess to hide running indesign application.

I want to completely hide (from Dock and desktop) and run in backgroud.
Is it possible to hide application and run in hidden mode(background).

I also try AppList to hide running process but it also not hide my running Indesign application.

Thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.