May be not "switchDefault(<screen_number>) " but "setDefaultSearchRegion(<Region>)"?
Then I can switch active region between some app window, one screen or entire screens space.
I definetly can't know on which screen my window appears, but I know process name and window appearance sample.
If I have a method that will allow to define a window region (or it already possible?), and set the region as search area for future script operations, this will be the best solution.
May be not "switchDefault( <screen_ number> ) " but "setDefaultSear chRegion( <Region> )"?
Then I can switch active region between some app window, one screen or entire screens space.
I definetly can't know on which screen my window appears, but I know process name and window appearance sample.
If I have a method that will allow to define a window region (or it already possible?), and set the region as search area for future script operations, this will be the best solution.