unselect an item >>

Money Forum

Money Forum



SearchSearch   Users   Registration   Entrance
Today: 28.08.2025 - 13:38:37
Pages:  1  

unselect an item

Advertising


MessageAuthor

Hello, I am writing on a script that needs items that are not under the edit cursor to be deselected I could not find any clue on how to do that... is it somehow possible with this: RPR_SetMediaItemInfo_Value(Item_ID, "B_UISEL", ???) not sure what B_UISEL is supposed to be, writing in various numbers shows no reaction at all... EDIT: It works, as soon as you move the mouse over an env-lane after running the script. Cracy! I am using a while loop so far to identify if an item is not under the cursor. Code:

---------------------
10 GTR R35 06 M5 04 330i zhp 93 318is 99 328i (Sold) 99 M3 Turbo (Sold)

ledlum

money-user




Statistics:
Messages: 429
Registration: 03.01.2003
27.12.21 - 21:39:17
Message # 1
RE: unselect an item

Hello, Usually when track/item selection is changed by a script, UpdateArrange -function is needed to refresh the screen: Code:

---------------------

p3rsian

money-user




Statistics:
Messages: 666
Registration: 10.22.2003
27.12.21 - 21:46:06
Message # 2
RE: unselect an item

marvelous! Thanks! Wonder why it used to work without that update command...

---------------------

BMWM5LOVER

money-user




Statistics:
Messages: 100
Registration: 06.16.2003
27.12.21 - 21:55:21
Message # 3
RE: unselect an item

EEL version: Code:

---------------------
E36 DIYs: Air Pump

G. P. Burdell

money-user




Statistics:
Messages: 8,054
Registration: 08.09.2002
27.12.21 - 22:05:41
Message # 4
RE: unselect an item

thanks for giving the example. Where did you get the SetMediaItemSelected command? Looks like there is useful stuff missing on the wiki page... You seem to prefer to use eel for this kind of script, when trying to load older python scripts by other users i have already experienced that it can be problematic. So i understand that eel is integrated into reaper and will always work? For a script like this eel does not seem to be so much worse in terms of code writing compared to python... Just a bit more (); but otherwise much the same.

---------------------
Ex-95/04 m3 owner

cheaploopjob

money-user




Statistics:
Messages: 433
Registration: 12.10.2003
27.12.21 - 22:15:37
Message # 5
RE: unselect an item
Main laptop screen goes blank when displaylink monitor connected : Previous topic
Pages:  1  

Message
Name
Message

Click on the dot next to the name to address the participant

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


Participants