Re: New user/ first question since 3 months
Re: New user/ first question since 3 months
- Subject: Re: New user/ first question since 3 months
- From: Geoff Graham <email@hidden>
- Date: Wed, 25 Nov 2009 09:15:15 -0500
It's been years, so I don't know if it still works, but the scripting
addition Extra Suites might do what you want Yuma.
http://www.kanzu.com/
Pasted below are the input commands from the dictionary:
Input Commands :
ES select menu item: simulate choosing a menu item from a menu
ES select menu item string -- the menu item to select
from menu string -- the menu
Result: boolean -- true if successful, false if it wasn't
ES type key: simulate typing a key on the keyboard
ES type key string -- the key to press. Special keys include "tab",
"enter", etc. Refer info for full list
[command boolean] -- hold down the command key
[option boolean] -- hold down the option key
[shift boolean] -- hold down the shift key
[control boolean] -- hold down the control key
ES type string: simulate typing a string of text
ES type string string -- the string to type.
[use clipboard boolean] -- use the clipboard to type faster
ES move mouse: move the cursor to a new location
ES move mouse list -- where to place the cursor
[locally boolean] -- move relative from it's current location
ES click mouse: press the mouse
ES click mouse [double click boolean] -- double click the mouse
[command boolean] -- hold down the command key
[option boolean] -- hold down the option key
[shift boolean] -- hold down the shift key
[control boolean] -- hold down the control key
ES command down: is the command key pressed?
ES command down Result: boolean -- true if the key is down, false
if it's not
ES option down: is the option key pressed?
ES option down Result: boolean -- true if the key is down, false if
it's not
ES shift down: is the shift key pressed?
ES shift down Result: boolean -- true if the key is down, false if
it's not
ES control down: is the control key pressed?
ES control down Result: boolean -- true if the key is down, false
if it's not
ES keys down: what keys were pressed
ES keys down Result: list -- a list of the keys pressed
ES mouse down: is the mouse button pressed?
ES mouse down Result: boolean -- true if the mouse button is down,
false if it's not
ES mouse location: position of the cursor on the screen
ES mouse location Result: list -- position as list of {across, down}
hope that helps,
Geoff
On Nov 24, 2009, at 3:37 AM, Yuma Antoine Decaux wrote:
Hi Matthew,
Ok, that's a party crasher for me. What i mean to say is this:
-Voice over, even if separate by rogue amoeba's software, still
doesn't know where the turntables, equalizer and crossfade are. They
just aren't labelled or boxed to create hotspots.
The software itself works fine for all other actions via keyboard,
but to have the scratching done, it requires a visual cue, which in
the program for sighted are the turntables, the equalizer and the
rest in graphics. These can only be accessed by the mouse. Hence the
search for a solution.
I thought applescript would be a bit similar to actionscript, where
you can specify the mouse to go to a certain position. Ok, maybe not
the boundaries, but what about just positioning the mouse by code?
Thanks, and best
Yuma Decaux
Light has no value without darkness
Skype: shainobi1
blog: www.theblindsamurai.com
twitter: www.twitter.com/triple7
Tel: +85513623378
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
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