Subject:Create Selection
Posted by: Kit
Date:2/23/2010 7:08:04 PM
Hello, I'd like to know how to create a selection 1 second long from the current position of the cursor. Once the selection has been made I'd like to create a region using the selection. I think this should be easy but I have a hard time getting my head around scripting and Sound Forge. Can anyone help? Thanks, Kit |
Subject:RE: Create Selection
Reply by: ExSonyTJ
Date:3/13/2010 1:25:18 AM
You get the cursor position of the active window from app.ActiveWindow.Cursor, You add a marker by calling the Add method of the Markers collection, like this
|
Subject:RE: Create Selection
Reply by: Kit
Date:3/15/2010 10:44:15 PM
Thanks very much for the reply. I see the script creating a marker but don't actually see the area selected being highlighted. I don't really want to make a region. I want to cut and past the selection to a new file. I tried amending the script but it rejected my app.do statements. I'd be grateful for some more help. Best wishes, Kit |
Subject:RE: Create Selection
Reply by: Kit
Date:4/17/2010 3:36:01 PM
Figured it out. Just remembered to post back Kit
|