Old 05-21-2019, 04:46 PM   #1
Human being with feelings
woodslanding's Avatar
Join Date: Mar 2007
Location: Denver, CO
Posts: 389
Default Phantom argument to GetTrackName()???

I'm getting this error:

bad argument #2 to 'GetTrackName' (string expected, got no value)

coming from this line number:

else local _,name = reaper.GetTrackName(track)

but the api says:

retval, buf = reaper.GetTrackName( track )

There IS no argument #2?

Am I confused????
eric moon
Very Stable Genius
woodslanding is offline   Reply With Quote
Old 05-21-2019, 05:05 PM   #2
Human being with feelings
nofish's Avatar
Join Date: Oct 2007
Location: home is where the heart is
Posts: 8,782

else local _,name = reaper.GetTrackName(track, "")
A possible explaination why is here:
nofish is offline   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 10:16 AM.

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