Forum Discussion

tim_faron's avatar
tim_faron
Contributor
10 years ago
Solved

Alternative to Win32API commands in Script Extension

Is there an alternative to using the following code in a script extension:




Sys.Desktop.MouseDown(Win32API.VK_LBUTTON, X, Y);


Sys.Desktop.MouseUp(Win32API.VK_LBUTTON, X, Y);



When using VK_LBUTTON I am getting the following error:

 

Win32API is undefined 



Thanks