Solved

how to make a proggy that types control-a

Posted on 1997-05-25
1
262 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.  :)  
0
Comment
Question by:abedaun
1 Comment
 

Accepted Solution

by:
datafox earned 200 total points
ID: 1539880
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

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There is a security feature on iOS devices that is nearly impenetrable when it has been activated.  This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.
Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
Users will learn how to set proper sequence settings, scale images, paste attributes, add transitions, fades, and music. Open up Final Cut Pro 7 and Create a new Project: Set the Sequence Settings. a) Click File > Easy Setup > Format > Apple ProRe…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question