• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 278
  • Last Modified:

how to make a proggy that types control-a

This is my first question, so please bare with me.  :)

All I have to make such a program with is appleScript and Future Basic.  The program must be an application.  I have a little program called video playground which launches applications when an external video source senses movement.  I want a script to be launched that tells oneClick or KeyQuencer (via typing control-a to launch a keyquencer script, or clicking a set of coordinates where a OneClick palette is sitting) to execute a script that will tell a program to start recording (so I can catch a video of my dog eating out of the trash - wouldn't that be a hilarious video? :) he he he).  Anyways, I figured I would use the OneClick Scripting additions (for AppleScript) to launch a OneClick button's script, but AppleScript editor won't recognize the commands (I have OneClick scripting additions in the extensions folder, but it doesn't seem to help).  What I need from you, the experts, is:

a) The AppleScript command for clicking at a set of
               coordinates
b) The AppleScript command for typing control-a (if
     existent)
c) The Future Basic command for doing either of the above
d) The AppleScript command for letting it know I want to
               use the OneClick Scripting additions (if existent)
e) A shareware or freeware program that works better than
   video playground for telling a quickcam to record when
   it senses movement.

Thanx for the help!  I think this is quite a difficult question, but sense I will settle for 1 of 6 different solutions, 200 seems reasonable.  :)  
0
abedaun
Asked:
abedaun
1 Solution
 
datafoxCommented:
I have one answer for ALL your questions that will solve ALL your problems.

YOU NEED PREFAB PLAYER FROM PREFAB SOFTWARE.

This little extension you pop into the system folder and then, via applescript you can do ANYTHING a user can do, ie, click the mouse, drag, pull menus, click coordinates, AND type ctrl a like this:

tell application "PreFab Player™"
type "a" holding control
end tell

Prefab player is the best thing since sliced bread and is well worth the few buckazoids it costs.
Search the net for PreFab Player.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now