• 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: 2nd attempt: copying and pasting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2nd attempt: copying and pasting


  • Subject: Re: 2nd attempt: copying and pasting
  • From: garrett <email@hidden>
  • Date: Wed, 27 Mar 2002 10:05:22 -0600

Well I was hoping that something like puppet menu made the transition - but
I guess not - and the app I wanna use - Snak - does not have a copy command
in its dictionary which is really pretty weak. I'm trying to take data in
irc and pass it out of Snak - but I guess I'm out of luck.




Sometime 'round 03/27/2002 05:29 AM, Mr Tea at email@hidden described:

> This from garrett - dated 27/3/02 07.09 am:
>
>> In os x:
>>
>> I want to highlight some text in a program, doesn't matter which one, then
>> invoke a script from the Apple script menu that will basically perform a
>> command C for copy. Any ideas?
>
> The thing is, Garrett, it *does* matter which programme...
>
> If the app you are directing the copy instruction at doesn't understand it
> (ie, doesn't have an AS dictionary containing 'copy' terminology) then no
> amount of invoking will make it happen. Similarly, telling an app to 'set
> the clipboard to selection of window 1' will be fruitless if the app doesn't
> understand script terminology like 'selection' and 'window'.
>
> Additionally, you need to identify in your script which App you are sending
> the instruction to. Getting the frontmost application when running a script
> from the OS X script menu returns the SystemUIServer, which no use to man
> nor beast - so it's very difficult to make a universal menu script that
> works with any compliant program.
>
> For earlier OSes there are scripting additions that let you simulate key
> strokes (don't know which ones, I used OneClick), but I don't know if any of
> these have evolved to survive in the X environment yet.
>
> If you have a specific task that you want to accomplish with specific
> applications, post it here for appropriately specific advice.
>
> Mr Tea


-------
garrett
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: 2nd attempt: copying-Snax
      • From: Craig Sutherland <email@hidden>
    • Re: 2nd attempt: copying and pasting
      • From: Reinhold Penner <email@hidden>
References: 
 >Re: 2nd attempt: copying and pasting (From: Mr Tea <email@hidden>)

  • Prev by Date: Re: [OFF] NeXT stupidity (was Re: Finding folder from its id)
  • Next by Date: Mount Volume woes
  • Previous by thread: Re: 2nd attempt: copying and pasting
  • Next by thread: Re: 2nd attempt: copying and pasting
  • Index(es):
    • Date
    • Thread