Is there a way for a reascript to know which screenset is loaded?
It seems loading a screenset refreshes windows and dockers positions etc, but nothing is stored anywhere to say, current screenset is number 1 or number 2 for example.
I want to be able to automatically change docker of a reascript window in a different one if a different screenset is loaded.
Or maybe the solution is to force a certain docker to have certain ID before saving the screenset. so the reascript can always have the same docker ID, but that docker can be positioned in different locations.
there are some docker functions but I have no idea how they work.
Dock_UpdateDockID
DockIsChildOfDock
DockWindowActivate
DockWindowAdd
DockWindowAddEx
DockWindowRefresh
DockWindowRefreshForHWND
DockWindowRemove
I've tried reaper.Dock_UpdateDockID(desireddockid, currentdockid)
but it doesn't work.
Anyone knows what all these dock functions do?
It seems loading a screenset refreshes windows and dockers positions etc, but nothing is stored anywhere to say, current screenset is number 1 or number 2 for example.
I want to be able to automatically change docker of a reascript window in a different one if a different screenset is loaded.
Or maybe the solution is to force a certain docker to have certain ID before saving the screenset. so the reascript can always have the same docker ID, but that docker can be positioned in different locations.
there are some docker functions but I have no idea how they work.
Dock_UpdateDockID
DockIsChildOfDock
DockWindowActivate
DockWindowAdd
DockWindowAddEx
DockWindowRefresh
DockWindowRefreshForHWND
DockWindowRemove
I've tried reaper.Dock_UpdateDockID(desireddockid, currentdockid)
but it doesn't work.
Anyone knows what all these dock functions do?
Q: ReaScripts, Dockers and Screensets
Aucun commentaire:
Enregistrer un commentaire