Hello,
I’ve spent awhile searching for an answer here, but cannot find any mention of what appears to be a bug in screenvisible():
When using screenvisible([screen],Width) without further modification, the Dock is accounted for and Width returns the expected value, regardless is Dock position.
With the Dock located on the right side of the screen of a multiscreen setup, the Dock is ignored when using the Width variable on a standard ‘Right Column’ or any predefined ‘Right’ actions; further, when attempting to modify Width by any value, the returned value is incorrect. e.g., on a 1440 x 900 display (located on the right side of the Main display including Dock on right edge):
SCREENVISIBLE(front,Width) -> 1397 (correct)
SCREENVISIBLE(front,Width)*50% -> 822 (incorrect; expect ~699)
furthermore:
SCREENVISIBLE(front,MidX) -> 720 (incorrect; expect ~699)
This does not occur when the Dock is on the left. Any default included Resize Window Left/Right action properly calculates and accommodates the Dock.
I can obviously install calculations to account for the Dock on the right, but then the macro is no longer very portable.
Any ideas? Is this a bug, or are my expectations incorrect?