View Single Post
Old 27th November 2005, 02:48 PM   #3
Willy
Member
Expert member
 
Join Date: Nov 2003
Posts: 57
Default

What I was thinking of was something more versatile than a script to call up a particular script or plug-in. I was thinking of something like a command logger.

Here's one way it might work in principle:

Create a button/icon on the tool bar titled "Record Macro"

When clicked, the button text or icon changes to indicate macro recording is taking place and then the routine records any mouse click data, text input and etc. that the user inputs. Until the "Record Macro" button is clicked again to stop the recording.

Then the routine would display a window asking for the title of the new Macro and perhaps allow an icon to be chosen as well. It would create the new Macro button and place it on the tool bar and iniate any other housekeeping tasks as well. Then close down.

I don't know enough to really guess by maybe the data recorded could be saved in a simple text file named "Macro-[macro name]" or something like that.

This approach, if it can be done this way, would enable mouse input, data input for plug-ins and even calls to other scripts to be recorded and played back just as if the user was inputting them manually.

Basically, I guess, the Record Macro routine would have to grab the data and save it before passing each individual action onto AC3D. I don't know if this can be easily done. I suck at programming theory and practical.

That's my idea anyway...
Willy is offline   Reply With Quote