• 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: Repeat until application is frontmost
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Repeat until application is frontmost


  • Subject: Re: Repeat until application is frontmost
  • From: theDaniel <email@hidden>
  • Date: Sat, 14 Jan 2012 21:57:38 -0500

In Leopard my script is broken. BTW I activate this script using the users Script menu. The problem seems to be the current application looses focus while the script is running and 'keystroke "c" ' seems to be lost, I also get a 'system beep' when it runs.
Funny thing is if I use the script using the freeware 'FinderPop'  — I place an alias to "Users Scripts Folder" in the FinderPop menu — then the script works, even though it first brings the Finder forward.


On Jan 13, 2012, at 6:24PM, theDaniel wrote:


set OLB to application "Online Bible"
tell application "System Events" to keystroke "c" using command down
tell OLB to activate

 _______________________________________________
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

  • Follow-Ups:
    • Re: Repeat until application is frontmost
      • From: Alex Zavatone <email@hidden>
    • Re: Repeat until application is frontmost
      • From: Alex Zavatone <email@hidden>
References: 
 >Repeat until application is frontmost (From: theDaniel <email@hidden>)
 >Re: Repeat until application is frontmost (From: KOENIG Yvan <email@hidden>)
 >Re: Repeat until application is frontmost (From: theDaniel <email@hidden>)
 >Re: Repeat until application is frontmost (From: Luther Fuller <email@hidden>)
 >Re: Repeat until application is frontmost (From: theDaniel <email@hidden>)

  • Prev by Date: Re: Re: Set color of body text in Mail (Iurista GmbH)
  • Next by Date: Re: Repeat until application is frontmost
  • Previous by thread: Re: Repeat until application is frontmost
  • Next by thread: Re: Repeat until application is frontmost
  • Index(es):
    • Date
    • Thread