Old 04-26-2017, 07:00 AM   #1
divedive
Human being with feelings
 
Join Date: Feb 2012
Location: New York
Posts: 230
Default help moving the Edit Cursor

Hi,
I'm having trouble understanding how to move the cursor in the arange window. I'd like to SET the edit cursor position, but I don't see that in the API. Does that exist? (I see GetCursorPosition, but not SetCursorPosition).

I am currently using MoveEditCursor, which seems to behave like a scrub when I use it, in that it plays audio it passes over, even when I make one cursor move.

What method are you guys using to simply place the edit cursor in a new position on the timeline?

(context: I'm creating an action I call Move Cursor to Next Marker, Region, or Region End. The 'region end' part is what's missing from the actions I'm aware of.)

Thanks!
Divedive
divedive is offline   Reply With Quote
Old 04-26-2017, 12:01 PM   #2
lunker
Human being with feelings
 
lunker's Avatar
 
Join Date: Nov 2007
Location: Lucas, TX, USA (via Luleå, Sweden)
Posts: 2,008
Default

Have you seen these two functions?

http://reaper.fm/sdk/reascript/reasc...#SetEditCurPos

http://reaper.fm/sdk/reascript/reasc...SetEditCurPos2
__________________
Best Regards, Ernie "lunker" Lundqvist
BDSM (Bad Dog Studio Musicians)
Windows 10 running on Z390 + i7-8700
lunker is online now   Reply With Quote
Old 04-26-2017, 01:38 PM   #3
divedive
Human being with feelings
 
Join Date: Feb 2012
Location: New York
Posts: 230
Default

Perfect. I didn't see those. Thank you!
divedive is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:36 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.