Hi,
I want to use printscreen, so I checked this link.
https://portal.blueprism.com/global-send-keys-printscreen
1. Created an object.
2. Added "System.Windows.Forms.dll" at Initialise page, selected C# as language.
3. Added Data Item as filename and Code stage at Action page, then I wrote this code.
SendKeys.Send("{PRTSC}");
dim Screenshot As Image = Clipboard.GetImage();
Screenshot.Save(filename, System.Drawing.Imaging.ImageFormat.Jpeg);
But an error is displayed, I don't know why this error is displayed.
"Compiler error ; is needed."
# I attached the error.
Could you please tell me how to clear this error?
Thanks,
Akiko