Full Screen Shot
Gowtham@gowtham
64 Posts
Quote from Gowtham on April 14, 2022, 11:05 amFor Each hWindow In aWindow
If Mouse.ScreenX > hWindow.X - 20 And Mouse.ScreenX < hWindow.X + hWindow.Width And Mouse.ScreenY > hWindow.Y - 20 And Mouse.ScreenY < hWindow.Y + hWindow.Height Then
Shell "wmctrl -a " & hWindow.Name
Wait 0.25
FMain.PictureBoxArea.Picture = hWindow.GetScreenshot()
Break
End If
NextClick here to download:
For Each hWindow In aWindow
If Mouse.ScreenX > hWindow.X - 20 And Mouse.ScreenX < hWindow.X + hWindow.Width And Mouse.ScreenY > hWindow.Y - 20 And Mouse.ScreenY < hWindow.Y + hWindow.Height Then
Shell "wmctrl -a " & hWindow.Name
Wait 0.25
FMain.PictureBoxArea.Picture = hWindow.GetScreenshot()
Break
End If
Next
Click here to download:
Click for thumbs down.0Click for thumbs up.0