huehuevolvofix Posted August 23, 2013 Share Posted August 23, 2013 Hello, im new with autoit and i need help with autoscroll. I did try to do it, but it didnt work. I need script wich scrolls my scroll up when i hold space. It should scroll always once, timings 224-227 ms. (randomize) Link to comment Share on other sites More sharing options...
orbs Posted August 23, 2013 Share Posted August 23, 2013 post your code, then we can help you see what's wrong, so you can get it right. don't be shy, "the shy one does not learn". Signature - my forum contributions: Spoiler UDF: LFN - support for long file names (over 260 characters) InputImpose - impose valid characters in an input control TimeConvert - convert UTC to/from local time and/or reformat the string representation AMF - accept multiple files from Windows Explorer context menu DateDuration - literal description of the difference between given dates Apps: Touch - set the "modified" timestamp of a file to current time Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes SPDiff - Single-Pane Text Diff Link to comment Share on other sites More sharing options...
huehuevolvofix Posted August 23, 2013 Author Share Posted August 23, 2013 (edited) Fact is i couldnt even start that code properly I can do only hello world wich one is easy. Any help is apreciated. Send "keys" [, flag] ? MouseWheel "direction" [, clicks] ? My friend tryed to help me, but this didnt work properly. It works only if i hold space, but if i click something else it stops. Any idea ? HotKeySet("{SPACE}", "Spacebarhold") HotKeySet ( "{o}", "LessDelay" ) HotKeySet ( "{p}", "MoreDelay" ) $dif = 200 $begin = 0 $Delay = 230 Func Spacebarhold() $begin = TimerInit() sleep(5) EndFunc Func LessDelay() $Delay = $Delay - 1 If $Delay < 180 Then $Delay = 180 EndIf ToolTip($Delay, 0, 0) EndFunc Func MoreDelay() $Delay = $Delay + 1 If $Delay > 350 Then $Delay = 350 EndIf ToolTip($Delay, 0, 0) EndFunc While 1 $dif = TimerDiff($begin) if $dif <100 Then MouseWheel ( "up" , 1 ) Sleep($Delay+(Random(-1, 1, 1))) ToolTip("GO TIME!",0,0) Else ToolTip("",0,0) Sleep(5) EndIf WEnd Edited August 23, 2013 by huehuevolvofix Link to comment Share on other sites More sharing options...
orbs Posted August 23, 2013 Share Posted August 23, 2013 start with this: #include <Misc.au3> While True If _IsPressed('20') Then MouseWheel('up') WEnd note: this is infinite loop, quit the script by Tools > Stop Executing or by Exit from the tray menu. * and just in case you did not notice the forum rules, this better not be for game automation, ok? Signature - my forum contributions: Spoiler UDF: LFN - support for long file names (over 260 characters) InputImpose - impose valid characters in an input control TimeConvert - convert UTC to/from local time and/or reformat the string representation AMF - accept multiple files from Windows Explorer context menu DateDuration - literal description of the difference between given dates Apps: Touch - set the "modified" timestamp of a file to current time Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes SPDiff - Single-Pane Text Diff Link to comment Share on other sites More sharing options...
huehuevolvofix Posted August 23, 2013 Author Share Posted August 23, 2013 I did read rules its not for game automatimation its for edit program wich helps me to use some plugins Ty, il try. Link to comment Share on other sites More sharing options...
huehuevolvofix Posted August 23, 2013 Author Share Posted August 23, 2013 Hmm it works now when i click other keys, but its way way too fast. Speed is really really fast, not even near 224-227. Seems like its not easy :/ ? Ty for help anyway. Link to comment Share on other sites More sharing options...
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