Re: how can i hide an app?
Re: how can i hide an app?
- Subject: Re: how can i hide an app?
- From: Luther Fuller <email@hidden>
- Date: Mon, 31 Dec 2007 08:30:57 -0600
On Dec 31, 2007, at 7:37 AM, tom wible wrote:
is there any way of telling a running application to hide? i'm
doing a cronjob invocation of vDVHS to record firewire, and the
app's window pops on top because that's what activate does...even
if i'm watching something in fullscreen.
This works ...
tell application "xxxxx"
launch
end tell
tell application "System Events"
set visible of process "xxxxx" to false
end tell
The 'launch' command opens the application without bringing it
frontmost, but it IS visible and I don't recall exactly, but the
application may not open the way you may expect. You will have to
experiment with this. You may need to change 'launch' to 'activate',
which will not look good.
(a pause while I try something)
This works even better ...
tell application "System Events"
launch application "xxxxx" -- or activate
set visible of process "xxxxx" to false
end tell
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden