Needs the latest builds of PP and DLL plugin:
local hWnd=win.handle("active")
local colorref=win.getpixel1(xmouse,ymouse)
local stylex=dll.call("GetWindowLong|hWnd Int Long",hWnd,-20)
dll.call("SetWindowLong|hWnd int long long",hWnd,-20,stylex ^ 0x00080000))
if(not(stylex & 0x00080000))
dll.call("SetLayeredWindowAttributes|hWnd colorref byte dword bool",
hWnd,colorref,0,1)
quit
Sean
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/JV_rlB/TM
--------------------------------------------------------------------~->
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/