View Single Post
Old 02-19-2015, 06:06 AM   #35
matthewjumpsoffbuildings
Human being with feelings
 
Join Date: Mar 2013
Posts: 463
Default

im using Lua, SWS 2.6.1 with Reaper 5 pre 13. I have also tested this with 5 pre 12, running SWS 2.6.1 and 2.6.2

If i create a new item with reaper.AddMediaItemToTrack() then attempt to run ULT_SetMediaItemNote() on it, nothing seems to happen, no notes are added.

i did a simple test

Code:
item = reaper.GetSelectedMediaItem(0, 0)

reaper.ULT_SetMediaItemNote(item, "test")
ran it on an empty item, nothing happened.

it seems like the ULT_SetMediaItemNote() function isnt working in Lua?

GetMediaItemNote works. and also if you do a Set on an item that has notes, instead of just failing and leaving the original notes, it deletes all notes. but it doesnt trigger a UI refresh, so you have to zoom/scroll to see it
__________________
[sun sprites] spotify facebook

Last edited by matthewjumpsoffbuildings; 02-19-2015 at 10:04 AM.
matthewjumpsoffbuildings is offline   Reply With Quote