Sign in to follow this  
Followers 0
Romm

Coords and Windows Decoration Styles....

3 posts in this topic

Ok i made script based on Pixel search. It searches pixels in

GUICreate("Object - Mouse Challenge", 960, 670, 1, 1, $WS_BORDER)

$B_oIE2 = ObjCreate("Shell.Explorer.2") 
$Breaktime = GUICtrlCreateObj($B_oIE2, 0, 0,  960, 670) 
$B_oIE2.navigate ("www.www.com")

All is ok, but if i change Windows Style "Vista Aero" to "Classic" or "Standart", the position of coordinates changes. I dont know why because i use

AutoItSetOption ("MouseCoordMode", 2)
AutoItSetOption ("PixelCoordMode", 2)

Is it posible GUICreate only client area? Without this thing where Window Title is written...without buttons to close, minimize..etc?

Share this post


Link to post
Share on other sites



Ok i made script based on Pixel search. It searches pixels in

GUICreate("Object - Mouse Challenge", 960, 670, 1, 1, $WS_BORDER)

$B_oIE2 = ObjCreate("Shell.Explorer.2") 
$Breaktime = GUICtrlCreateObj($B_oIE2, 0, 0,  960, 670) 
$B_oIE2.navigate ("www.www.com")

All is ok, but if i change Windows Style "Vista Aero" to "Classic" or "Standart", the position of coordinates changes. I dont know why because i use

AutoItSetOption ("MouseCoordMode", 2)
AutoItSetOption ("PixelCoordMode", 2)

Is it posible GUICreate only client area? Without this thing where Window Title is written...without buttons to close, minimize..etc?

Try

GUICreate("Object - Mouse Challenge", 960, 670, 1, 1, $WS_POPUP)


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

Wooot! :) I am happy

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0