Re: uh, that's so cool! AS 1.9.1
Re: uh, that's so cool! AS 1.9.1
- Subject: Re: uh, that's so cool! AS 1.9.1
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 20 Dec 2002 17:36:26 -0800
On 12/20/02 4:53 PM, "Domains4Days.com" <email@hidden> wrote:
>
So, this looks really cool - GUI (Graphic User Interface).
>
>
I'm wondering if with this new interface - it is now possible to do/trigger
>
certain simple universal tasks such as:
>
>
- copy - paste etc.
>
>
- it would be nice to not have to use quickeys or youpie key - for these
>
tasks...
>
>
- if this is true - and someone knows the simple AppleScript that can make
>
this happen - could you please let me know?
>
Every window can have a 'text area' as well as a text field, and every UI
element has a 'selected' property, plus the Text Suite is implemented.
I would think that - one way or another - you'll be able to get selected
text and put it on the clipboard with the standard addition ''set the
clipboard".
But it's easier than that: if the application supports Copy (cmd-C) and
Paste (cmd-V) with the usual keyboard shortcuts then you can use:
keystroke reference -- the object for the command
[with command down/option down/control down/shift down] --
modifiers with which the keystrokes are to be entered
So:
keystroke "c" with command down -- copy
keystroke "v" with command down -- paste
in the front application.
It's Sigma's Additions (or Sandi's Additions) built in. Simple as that.
--
Paul Berkowitz
_______________________________________________
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.