Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tiling 2 Windows
#1
I'm trying to create two macros for use with Directory Opus, a program with which I always have two open windows -- tiled either horizontally or vertically, depending upon my needs. The following ALMOST works -- "almost" because the second window will not tile. I think it's because I have not cleared the variable which is used to identify each window, but I may be wrong. Any suggestions?

(By the way, I use this macro compiled. Otherwise, it could only be applied to QM. I also tried setting up a separate macro for the sizing the second window, but it, too, did not work.)

bee "D:\Media\Ding 01.Wav"
sel(mes("After clicking OK, move the cursor atop[]the window to be positioned on top ..." "" "OCits"))
case 'C' ret
2
int hwndActive
int s = hwndActive
MoveWindow win("s") 3 6 1272 495 1
1
run "C:\Apps\Quick Macros\Data\Compiled\Opus - Horizontal B.Exe"

bee "D:\Media\Ding 01.Wav"
inp- b "Identify bottom window"
sel(mes("After clicking OK, move the cursor atop[]the window to be positioned on bottom ..." "" "OCits"))
case 'C' ret
2
int hwndActive
int t = hwndActive
MoveWindow win("t") 3 514 1272 495 1


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)