• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how can i hide an app?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >how can i hide an app? (From: tom wible <email@hidden>)

  • Prev by Date: how can i hide an app?
  • Next by Date: Newbie help needed: capturing keypress to record QuickTime timing
  • Previous by thread: how can i hide an app?
  • Next by thread: Newbie help needed: capturing keypress to record QuickTime timing
  • Index(es):
    • Date
    • Thread