View Single Post
Old 02-22-2020, 03:50 AM   #433
tompad
Human being with feelings
 
Join Date: Jan 2010
Location: Fjugesta, Sweden
Posts: 811
Default IsMarkerAtPosition

Hi Mespotine!

First of all - THANKS for giving us this box of magic, a lot of useful things!

I have a question about IsMarkerAtPosition, I am not sure if I am using this function the right way.

When running this code:

Code:
    local retval, count, markersstring, markersarray = ultraschall.IsMarkerAtPosition(reaper.GetCursorPosition())
    reaper.ShowConsoleMsg("IsMarkerAtPos? ".. tostring(retval) .."\n")
....I get false both when there is no marker AND when there are a marker!?
Shouldn't it give true if there is a marker at cursor position?

....Or is it because I'm on Linux when trying this I get wrong answer?
__________________
ToDoList Obliques MusicMath Donation Some of mine and my friends music projects on Spotify
tompad is offline   Reply With Quote