• 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: gui scripting - paste script not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gui scripting - paste script not working


  • Subject: Re: gui scripting - paste script not working
  • From: Luther Fuller <email@hidden>
  • Date: Sun, 8 Jun 2008 13:44:22 -0500

Another solution is to add the key ...

	LSUIElement boolean yes

to your script application bundle's Info.plist file. This will cause it to run invisible or in the background. The target (frontmost) application simply remains frontmost.

On Jun 8, 2008, at 1:12 PM, Vince Angeloni wrote:
I think Deivy has it right -- the frontmost app will be the script itself when it is running. I need a way to find out what the frontmost app is before the script runs. I found a solution on the MacScripter board which uses:

_______________________________________________ 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: 
 >Re: Re: gui scripting - paste script not working (From: Vince Angeloni <email@hidden>)

  • Prev by Date: Re: gui scripting - paste script not working
  • Next by Date: Re: Getting recurring event instance for specific day in iCal
  • Previous by thread: Re: Re: gui scripting - paste script not working
  • Next by thread: AppleScript + Packagemaker
  • Index(es):
    • Date
    • Thread