Hi
me again.
I improved my script, with mouse zoom in/out function.
mouse scroll up/down: vertical scrolling
alt+mouse scroll up/down: horizontal scrolling
ctrl+mouse scroll up/down: zoom in/out (position is marked element)
Edit: I didnt want to use shift + mouse for horizontal scrolling (like other programs) because shift + mouse is used by FTV for element moving.
Wanted to register for this script alone. Life saver.
Just some feedback: script only works for me when the screen is maximized...
you mean the display screen, not the FactoryTalk View Studio screen, am i right? Basically its working, but it sends the scrolling command to the inner window (the display itself which has
no scroll bar if you open it) and not to the scroll bar of the Studio.
You can test this if you un-maximize Studio itself, open a display and resize it so that it has a scroll bar.
Also the zoom command works, and that one is in the same #IfWinActive.
If it would be possible to send the scroll command to the Studio (also) and not only to the display, it would scroll even when the display is not maximized.
Let me know if you find a way.
Wow thanks for the reply.
Let me also clarify the script works great and is 100% amazing. I wonder if you can use items on a "nonactive" screen? Is that a possibility? Is there a help file for this script environment? Its pretty cool. I feel like it can be utilized for a lot of other things as well.