hey guys
i know ive been asking alot of questions, but we all start somewhere hehe soon i;d like to start joining on projects and stuff.
so far ive learned alot and ty for answering questions, but, i have another question.
eerhm,
ā¦
lets say i want to record something, like click movements or certain key movements.
is that possible? and then is it possible to play and loop the movements.
thank ya
Click movements can be recorded right from the Script Editor window. Look for the ārecordā button at the top of the window, press it, then go click on stuff and it should record your actions. When youāre done press it again to stop the recording. Iām not sure how good it works. It used to work great in OS9. I havenāt tried it with OSX though. As far as key presses you can do those with system events likeā¦
tell application āSystem Eventsā
tell process āsome applicationā ā put in whatever app you want the keystroke to happen in
keystroke āsā using command down ā like if you wanted to save a document
end
end
You can search for more keystroke examples. Then you can mix your recorded clicks in with these key presses.
ah ok thanks man. the recording clicks doesnt work but the keystrokes is working out for me. thanks again for the reply.
The recording didnāt work? I had a feeling about that. I tired it once briefly and it wasnāt good, but I never looked into it.
There is another way to do clicks, itās called gui scripting or ui scripting. Search the forums for that and you can learn about it. It works for certain but thereās quirks with it because things you click on using it have a tendency to be in a different place the next time you try to click. Check around though and give it a try. Itās pretty good when it works.
yeaaa, thanks for your help, i actually found a pretty nice hotkey maker and click maker called, keyboard maestro. works very very goodā¦ thanks again.