• 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: Used to work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Used to work


  • Subject: Re: Used to work
  • From: KOENIG Yvan <email@hidden>
  • Date: Sat, 26 Mar 2011 16:13:15 +0100


set theProcess to FrontmostApp()

tell application theProcess
activate
tell application "System Events"
tell application process theProcess -- EDITED
keystroke "v" using command down
delay 1 --give it time to update
end tell
end tell
end tell

on FrontmostApp()
tell application "System Events" to return displayed name of (path to «constant afdregfp»)
end FrontmostApp


I guess that you dropped a singled word in the code.

Look at the instruction  commented as EDITED

Yvan KOENIG (VALLAURIS, France) samedi 26 mars 2011 16:13:09


 _______________________________________________
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: 
 >Used to work (From: Irwin Poché <email@hidden>)

  • Prev by Date: Used to work
  • Next by Date: Puzzled by a whose filter
  • Previous by thread: Used to work
  • Next by thread: Re: Used to work
  • Index(es):
    • Date
    • Thread