Old Today, 11:48 AM   #1
Human being with feelings
daxliniere's Avatar
Join Date: Nov 2008
Location: London, UK
Posts: 1,939
Default REQ: Script to insert marker with specific name

Hey everyone,
Is there a script that can insert marker with specific name? (Obviously the user would have to set this name first.)

"Insert Named Marker", perhaps?

Dax Liniere
London's newest premium studio complex! (Facebook)
[i7-4790K, 12Gb RAM, Win8.1x64, NVidia GT710, UAD2-OCTO, FireFaceUFX, REAPER x64]
daxliniere is online now   Reply With Quote
Old Today, 01:27 PM   #2
Human being with feelings
Yanick's Avatar
Join Date: May 2018
Location: Moscow, Russia
Posts: 124

Hi! In quotes where "Username" enter your name
In the second field (color) you can change the color - reaper.ColorToNative("Red number", "Green number", "Blue number")
By default there is red


local name = "Username"
local color = reaper.ColorToNative(180,60,50)|0x1000000

local _, num_markers, _ = reaper.CountProjectMarkers(0)
local cursor_pos = reaper.GetCursorPosition()

reaper.AddProjectMarker2(0, 0, cursor_pos, 0, name, num_markers+1, color)

reaper.Undo_EndBlock("Insert marker", -1)
My scripts for rendering

Last edited by Yanick; Today at 01:40 PM.
Yanick is online now   Reply With Quote

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:49 PM.

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