• 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: Ed Stockly <email@hidden>
  • Date: Sun, 8 Jun 2008 11:38:08 -0700

   From:     email@hidden
   Subject:    Re: gui scripting - paste script not working
   Date:   June 8, 2008 9:51:15 AM PDT
   To:       email@hidden



Vince , you think that it does not paste. It tries but it can't Your app, the script saved as an app is the frontmost application. you try to paste, but there is no where to write to. You want to past it in what app? Set that App to the front process and it will very likely work.


Here's a couple commands that may help you trouble shoot...

set frontApp to getfrontmostappname()
tell application "System Events"
   tell process frontApp
       display dialog frontApp
   end tell
   set myApps to name of every process
   choose from list myApps
end tell

Rather than save this script as an app, try saving it as a compiled script. You can then run it from the script menu and it should work as you inteded.

HTH,

ES

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

  • Prev by Date: Re: Re: gui scripting - paste script not working
  • Next by Date: Re: gui scripting - paste script not working
  • Previous by thread: Re: gui scripting - paste script not working
  • Next by thread: Re: gui scripting - paste script not working
  • Index(es):
    • Date
    • Thread