?
Solved

how to make a proggy that types control-a

Posted on 1997-05-25
1
Medium Priority
?
266 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
datafox earned 400 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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

Hi Folks, This article is intended to throw some light or basically give an idea towards taking the first step in the world of Systems Administration. This would in the real context of the word "Systems Administration" which would mean right from…
Article by: Justin
In light of the WannaCry ransomware attack that affected millions of Windows machines, you might wonder if your Mac needs protecting. Yes, it does and here is how to do it.
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 …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

777 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