OverviewExamples
Window.SetMask ( |
number TransparentColor = 0 ) |
-- Get the current application's window handle
nHandle = Application.GetWndHandle();
-- Specify the path to use
sMaskFilePath = _SourceFolder .. "\\Masks\\Mask1.jpg";
-- Apply the mask to the window
Window.SetMask(nHandle, sMaskFilePath, true, 0);
Applies the "Mask1.jpg" window mask to the current autoplay application.
-- Apply the mask.jpg mask to the application window.
Window.SetMask(Application.GetWndHandle(), "Autoplay\\Images\\mask.jpg", true, 0);
Applies the "mask.jpg" window mask to the current autoplay application.
See also: Related Actions