• 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: Copy text to the clipboard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copy text to the clipboard


  • Subject: Re: Copy text to the clipboard
  • From: kai <email@hidden>
  • Date: Fri, 2 Dec 2005 22:11:08 +0000


On 2 Dec 2005, at 16:55, John R. wrote:

On Dec 2, 2005, at 10:55 AM, Brett K. wrote:
I've had the same problem you are having and, after *many* hours, never found a solution.

It is a comfort that someone else struggled with the same problem! I needed some solution, so this is my inadequate one:

property LastAppList : {}
tell application "System Events"
set myAppList to (name of application processes whose visible is true)
end tell
set myAppList to (choose from list myAppList default items LastAppList with title "Which App?")
if myAppList ≠ false then
set LastAppList to myAppList
set myapp to item 1 of myAppList
tell application myapp
activate
display dialog "Tell me, " & myapp & ", what to do now!"
end tell
end if

John, you don't appear to have mentioned which OS version you're running. If it's Tiger (or possibly even Panther), have you tried the approach that both Luther and I suggested in this thread - and that Chris Nebel also mentioned in the recent "frontmost application" thread?


-----------------------------

path to frontmost application

-----------------------------

---
kai


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: Copy text to the clipboard (From: "John R." <email@hidden>)
 >Re: Copy text to the clipboard (From: "Brett K." <email@hidden>)
 >Re: Copy text to the clipboard (From: "John R." <email@hidden>)

  • Prev by Date: Re: [OT] My life after AS: shell commands, perl?
  • Next by Date: Re: Copy text to the clipboard
  • Previous by thread: Re: Copy text to the clipboard
  • Next by thread: Re: Copy text to the clipboard
  • Index(es):
    • Date
    • Thread