Subject:Keystrokes functions
Posted by: pierre94
Date:12/6/2005 4:02:01 PM
Hi I'm a begginer in scripting language so i need some support, to do a script : First i will explain what i want the script does, i know that the keystrokes function will help me a lot to do that, and the Do effect function too, so let me explain : 1 - On active window, I would like to mimic keystrokes to : - Increase time magnification with ( UP ARROW) - Increase level magnifiaction with (SHIFT + UP ARROW) as many times as i want, for example if the file is short i will strike the key 4 times, if it's a long file I will strike the key ten times or more. I'm sure i can do a copy and paste the line command to do that. So after this operation, I would like to place my cursor on the sample I want ( something that will be cool, is to have a message window, that said place your cursor), but after this i also want to mimic keyboards shortcut to : 1 - Select from the cursor to the first sample in the data window (CTRL + SHIFT + HOME) 2 - Clear ( Delete) the selected data ( DELETE or SUPPR) 3 - Go to the first sample in the data window with the cursor ( CTRL + HOME) 4 - Select from the cursor to the next sample ( SHIFT + CTRL + ALT + RIGHT ARROW) 5 - Fade in ( on my keyboard configuration the key is " i " or do it with process menu) 6 - Ask for save the file 7 - Close the active data window ( CTRL + W ) Thanks a lot in advance, the script language in Soundforge seems to be really powerfull. See you all later |
Subject:RE: Keystrokes functions
Reply by: _TJ
Date:12/8/2005 11:51:34 AM
If you just want to record keystrokes and play them back. I recommend that you do that. http://www.autohotkey.com/ Is an open-source program for keyboard recoding and playback for windows. I'm sure that there are others out there as well. Scripting is more about automating things that can't be turned in a sequence of keystrokes, where choices have to be made. tj |