本帖最后由 悟农 于 2016-8-17 15:28 编辑
南无大慈大悲观世音菩萨!
顶礼大慈大悲观世音!
菩萨保佑。
蒙对了,白丁一个。
问题已经解决。
请问:外挂在WIN7 32位系统上正常使用,为什么在win7 64位系统上无法正常使用?
这是网友帮忙写的外挂。原来在win7,32位系统上正常使用。
由于文华升级后只能在64位系统上使用。原来的外挂无法正常使用?
[attachimg]30830[/attachim
=========================
#EndRegion
AUTOITSETOPTION ( "WinTitleMatchMode" , 2 )
AUTOITSETOPTION ( "TrayAutoPause" , 0 )
AUTOITSETOPTION ( "TrayIconDebug" , 1 )
GLOBAL $LKFILEPATH = "C:\雷凯\client.exe"
GLOBAL $LKCLIENTTITLE = "交易星期货交易系统"
GLOBAL $LKPCTITLE = "平仓"
GLOBAL $BKJ2 = "[CLASS:Button; INSTANCE:3]"
GLOBAL $SKJ2 = "[CLASS:Button; INSTANCE:4]"
GLOBAL $QCJ2 = "[CLASS:Button; INSTANCE:10]"
GLOBAL $PCJ2 = "[CLASS:Button; INSTANCE:5]"
GLOBAL $LKKP = "[CLASS:ComboBox; INSTANCE:1]"
GLOBAL $LKHEYUE = "[CLASS:Edit; INSTANCE:1]"
GLOBAL $LOTS
GLOBAL $TITLE_WH = "文华财经"
GLOBAL $TITLE_WH_MOZU = "全自动运行模组"
IF WINEXISTS ( $TITLE_WH_MOZU ) <> 0 THEN
WINEXISTS ( $TITLE_WH_MOZU )
WINACTIVATE ( $TITLE_WH_MOZU )
ELSE
MSGBOX ( 0 , "!!!提示!!!" , "全自动运行模组未打开" )
EXIT
ENDIF
WINEXISTS ( $TITLE_WH_MOZU )
WINACTIVATE ( $TITLE_WH_MOZU )
SLEEP ( 500 )
CONTROLCLICK ( $TITLE_WH_MOZU , "" , $WH_MOZU_XINHAO_BUTTON , "LEFT" , 1 )
SLEEP ( 100 )
;IF WINEXISTS ( $LKCLIENTTITLE ) = 0 THEN
;MSGBOX ( 0 , "!!!提示!!!" , "雷凯软件未打开" )
;EXIT
;ENDIF
ENDFUNC
$ATEXT = CONTROLLISTVIEW ( $TITLE_WH_MOZU , "" , $WH_MOZU_XINHAO , "GetText" , $LINE1 , 2 )
$LINE1 = $LINE1 + 1
UNTIL $ATEXT = ""
$LINE1 = $LINE1 - 1
SLEEP ( 200 )
DO
$ATEXT = CONTROLLISTVIEW ( $TITLE_WH_MOZU , "" , $WH_MOZU_XINHAO , "GetText" , $LINE2 , 2 )
$LINE2 = $LINE2 + 1
UNTIL $ATEXT = ""
$LINE2 = $LINE2 - 1
SLEEP ( 200 )
DO
$ATEXT = CONTROLLISTVIEW ( $TITLE_WH_MOZU , "" , $WH_MOZU_XINHAO , "GetText" , $LINE3 , 2 )
$LINE3 = $LINE3 + 1
UNTIL $ATEXT =
FUNC TRADE ( $WH_XINHAO_LISTVIEW , $WH_XINHAO_BUTTON , $ALINE )
LOCAL $WH_MOZU_XI
ENDIF
IF WINEXISTS ( "提示" ) = 1 THEN
WINACTIVATE ( "提示" )
CONTROLCLICK ( "提示" , "" , "[CLASS:Button; INSTANCE:1]" )
ENDIF
ENDFUNC
CHECK ( 13 )
CHECK ( 33 )
CHECK ( 53 )
GETLINE ( 3 , 13 )
GETLINE ( 7 , 33 )
GETLINE ( 11 , 53 )
SLEEP ( 100 )
WHILE 1
SLEEP ( 10 )
TRADE ( 3 , 13 , $LINE1 )
TRADE ( 7 , 33 , $LINE2 )
TRADE ( 11 , 53 , $LINE3 )
IF WINEXISTS ( $LKCLIENTTITLE ) <> 1 THEN
MSGBOX ( 0 , "雷凯软件不存在!!!" , "运行雷凯后重启本程序" )
EXIT
ENDIF
IF WINEXISTS ( "提示" ) = 1 THEN
WINACTIVATE ( "提示" )
SLEEP ( 500 )
CONTROLCLICK ( "提示" , "" , "[CLASS:Button; INSTANCE:1]" , "LFET" , 1 )
ENDIF
WEND |