zutto Posted May 17, 2008 Posted May 17, 2008 (edited) yeah i want to edit this script so i can do anything else on windows while this is running if even possible O,o expandcollapse popup#region --- ScriptWriter generated code Start --- HotKeySet("{F7}", "_Start") HotKeySet("{F6}", "_Quit") ; Opt("WinWaitDelay",100) Opt("WinTitleMatchMode",4) Opt("WinDetectHiddenText",1) Opt("MouseCoordMode",0) While 1 Sleep(5000) WEnd Func _Start() While 1 WinWait("Diablo II c1","") If Not WinActive("Diablo II c1","") Then WinActivate("Diablo II c1","") WinWaitActive("Diablo II c1","") MouseMove(446,355) MouseDown("left") MouseUp("left") TrayTip("repeat.", 1, 2) sleep("140") MouseMove(363,379) MouseDown("left") MouseUp("left") sleep("140") MouseMove(333,482) MouseDown("left") MouseUp("left") sleep("140") WinWait("Diablo II c2","") If Not WinActive("Diablo II c2","") Then WinActivate("Diablo II c2","") WinWaitActive("Diablo II c2","") MouseMove(319,482) MouseDown("left") MouseUp("left") sleep("140") WinWait("Diablo II c1","") If Not WinActive("Diablo II c1","") Then WinActivate("Diablo II c1","") WinWaitActive("Diablo II c1","") MouseMove(403,353) MouseDown("left") MouseUp("left") sleep("140") WEnd ; Exit EndFunc Func _Quit() Exit EndFunc #endregion --- ScriptWriter generated code End --- EDIT: and/or how/is it possible to read X to Y area what there is written and show it as example traytip? Edited May 17, 2008 by zutto
TnTProductions Posted May 17, 2008 Posted May 17, 2008 you may have to look at the help file for support but i dont think there really is a way when you minimize your diablo II game for the mouseclicks to stop woriking... unless you do an if statment ex: hotkey({watever minimize is},"terminate") func terminate() endfunc but, i think that terminates entire script.... i dont think its possible sorry i cant help much jst look into helpfile it tells you everything in autoit "FREEDOM is not FREE""Its a good thing war is so terrible, or we grow too fond of it" -Robert E. Lee[quote]Firestrom: global $warming = False[/quote]My scripts:Desktop Cleaner---->Total Downloads:167;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111111;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;"a wise man once said why use your skills when we have technology"
Muchuchu Posted May 17, 2008 Posted May 17, 2008 Look up the control functions in the help file. ie. Control Send; Control Click
TnTProductions Posted May 17, 2008 Posted May 17, 2008 Look up the control functions in the help file.ie. Control Send; Control Clicki already said that..... "FREEDOM is not FREE""Its a good thing war is so terrible, or we grow too fond of it" -Robert E. Lee[quote]Firestrom: global $warming = False[/quote]My scripts:Desktop Cleaner---->Total Downloads:167;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111111;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;;;;;;;;;;;1;;;;;;1;;;;;;;;;;;;;;11;;;;;;"a wise man once said why use your skills when we have technology"
Hok Posted May 17, 2008 Posted May 17, 2008 Yes, the control functions would work, but unless you created the game, it will be hard to figure out the Control ID.
Muchuchu Posted May 17, 2008 Posted May 17, 2008 i already said that..... You said nothing about control functions.
Hiyoal Posted May 17, 2008 Posted May 17, 2008 Sorry Hok, but control Id's are very easy to find when using the AutoIt Info Window tool
Hok Posted May 18, 2008 Posted May 18, 2008 LOL. Hiyoal (Nice to see you here). Yeah, but I am AutoItWindowTool challenged. (I have problems using it...)
Drew Posted May 18, 2008 Posted May 18, 2008 Shoulda been more specific. It blocks control commands. I know automating diablo II minimized IS possible , but not with those commands.
zutto Posted May 18, 2008 Author Posted May 18, 2008 Shoulda been more specific.It blocks control commands. I know automating diablo II minimized IS possible , but not with those commands.yes i noticed, how can i do it then..?
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