Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Copy Text from a Text Track To Clipboard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copy Text from a Text Track To Clipboard



Hi Michael, great to hear from you!

At 8:56 AM -0700 5/29/07, Michael Shaff wrote:
>Anyone know a method by which to copy text from a text track to the clipboard via script? I've had a method to do this when the text displayed was in a Flash track, but in this kinder gentler time of secure computing I need a method using a text track.
>
>Both of my initial attempts failed (using QScript's EnterText to simulate a command-C), so I figured I'd look towards the collective conscious....


I'm not sure I understand what you want to do, but if you can do it with the keyboard and/or clicking the mouse, you should be able to do it with AppleScript using System Events.

Enable "Enable access for assistive devices" in the Universal Access System Preference pane and then use UI Element Inspector Application to find out the hierarchy of the UI to write the script.  In that case you'll be able to do cmd-C and cmd-V where ever you want.

http://developer.apple.com/samplecode/UIElementInspector/index.html

Hope this does what you want/need.
--


   francesco schiavon

   . digital media deployment       | . despliegue de medios digitales
   . instructor + adviser + author  | . instructor + asesor + autor

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Copy Text from a Text Track To Clipboard (From: Michael Shaff <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.