Reascript: how to call GetMediaSourceFileName? » Drinks » Forum
Forum
  Поиск   Users   Registration   Entrance
Today: 24.04.2025 - 10:28:39
Pages:  1  

Reascript: how to call GetMediaSourceFileName?

Advertising

CROWD links from forums - 0,9 USD


MessageAuthor

..or do i need to call get item state beforehand? Help! Very confused now. It looks like this should be easy and I'm feeling a bit dumb here..

---------------------
Sincerely, -Bassam

Bassam

main-users




Statistics:
Messages: 11
Registration: 04.20.2002
10.11.22 - 04:09:01
Message # 1
RE: Reascript: how to call GetMediaSourceFileName?

void GetMediaSourceFileName(PCM_source* source, char* filenamebuf, int buflen) It's not expecting a media item for that value. You need to do this: item = RPR_GetSelectedMediaItem(0,0); take = RPR_GetActiveTake(item); source = RPR_GetMediaItemTake_Source(take); sourceArray = RPR_GetMediaSourceFileName(source, "", 512); infile = sourceArray[1]; RPR_ShowConsoleMsg(sourceArray[1]);

---------------------
Volvo=Pratical Fun!

AndyZ3

main-users




Statistics:
Messages: 154
Registration: 11.21.2002
10.11.22 - 04:20:07
Message # 2
RE: Reascript: how to call GetMediaSourceFileName?

Adam Thank you very much for your time! Much appreciated.

---------------------
ACS Front Spoiler

MDabney

main-users




Statistics:
Messages: 10,426
Registration: 11.09.2001
10.11.22 - 04:26:03
Message # 3
RE: Reascript: how to call GetMediaSourceFileName?
Item envelopes? : Previous topicNext topic: play cursor
Pages:  1  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants