Hi guys, I have a few PI ProcessBook pages which I want to Scroll in the 'y' direction every-time it opens.
Currently I have a few Scripts which move the Page in the 'X' direction:
Public Sub Display_Open()
Dim PauseTime, Start, Finish, TotalTime
Dim x As Display
Set x = Application.Displays.Open("\\klpi01\Graphics\PM8E-PVDS.pdi", True)
x.Zoom = "100"
testa = x.Scroll(315, 0)
Application.FullScreen = True
- If I want to move it 100 points/pixels Downwards, do I type Scroll(0,100) or Scroll(0,-100)?
- What is the VBA for Zoom "Fit All", is it Zoom = "Fit.All"?
- Are there any sample VBA Scripting/ Command Guides in PI Live Library?