bingbing Posted October 6, 2009 Posted October 6, 2009 Hello everyone ~ Well, i have currently some troubles with autoit, my script worked fine in windows xp, i tried on windows seven, nothing worked ... I added this line : #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_UseX32=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** Still not work ~ Thanks for you help and have a good day ~ Kind Regards -
Achilles Posted October 6, 2009 Posted October 6, 2009 Could you please post the segment of your code that is giving you issues? Or at least the error messages that you are getting? I am currently running windows 7 64bit and have experienced no problems with AutoIt. My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]
AdmiralAlkex Posted October 7, 2009 Posted October 7, 2009 Show us the output from your console after compilation. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface
bingbing Posted October 7, 2009 Author Posted October 7, 2009 (edited) Hey ~ I have no error when i launch my script (exe or iu3) that just doesnt work, hotkey doesnt work, nothing work. Here is my code : expandcollapse popup#Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_UseX32=y #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** Opt("GUIOnEventMode", 1) HotKeySet("{a}", "stop") HotKeySet("{b}", "start") $process = True $blabla = 2 $color = "000000" $limit = 100 ; Dod ; until $blabla = 0 While 1 Sleep(1000) WEnd Func stop() $process = False EndFunc Func start() $success = 0 $process = True Do Do $var2 = Hex(PixelGetColor(100 ,100), 6) $cast = Hex(PixelGetColor($limit ,100), 6) Until $var2 = "FFFFFF" OR $var2= "000000" ;... if $process = False Then Return False EndIf if $cast = $color Then send("1") $success = 1 Endif Until $success = 1 Endfunc (I checked for pixelget color and stuff, everything is good, good position and stuff so its not a code prob but dunno why it really doesnt work on windows seven) (my script worked pretty fine on xp 32x, then i have no segment issues, i also tried the compatibility prog from windows seven and he just said to me "problem solved, but your program is not compatibily) thanks ~ Edited October 7, 2009 by bingbing
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now