We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

how to make a proggy that types control-a

abedaun
abedaun asked
on
Medium Priority
294 Views
Last Modified: 2010-04-25
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.  :)  
Comment
Watch Question

Commented:
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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.