woodsha Posted June 1, 2015 Share Posted June 1, 2015 I want to run the following scrip every 1 min. please helpWinWait, RealTime Feeder | RealTime`, IEOD and EOD Data Provider., IfWinNotActive, RealTime Feeder | RealTime`, IEOD and EOD Data Provider., , WinActivate, RealTime Feeder | RealTime`, IEOD and EOD Data Provider., WinWaitActive, RealTime Feeder | RealTime`, IEOD and EOD Data Provider., MouseClick, left, 249, 289Sleep ,100 Link to comment Share on other sites More sharing options...
SadBunny Posted June 1, 2015 Share Posted June 1, 2015 AutoHotKey have a forum too: http://www.autohotkey.com/board/ Roses are FF0000, violets are 0000FF... All my base are belong to you. Link to comment Share on other sites More sharing options...
UEZ Posted June 1, 2015 Share Posted June 1, 2015 (edited) @SadBunny: maybe he wants to do it with AutoIt.@woodsha: please provide some more information about the application using e.g. AU3Info which can be found in AutoIt dir or just call it from SciTE (Ctrl + F6). Edited June 1, 2015 by UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted June 1, 2015 Moderators Share Posted June 1, 2015 AutoHotKey have a forum too: http://www.autohotkey.com/board/I don't understand what made you think this was a worthwhile addition to this thread. Yes, there is an AHK forum, just as there is a VBScript forum, a javascript forum, a python forum, etc. etc. etc. The OP is posting on this forum, which language would common sense lead you to think he wants to automate this task with? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted June 1, 2015 Moderators Share Posted June 1, 2015 JLogan3o13,I don't understand what made you think this was a worthwhile addition to this threadPossibly the AHK syntax of the script the OP posted?M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted June 1, 2015 Moderators Share Posted June 1, 2015 My take on the OP was that, having tried it unsuccessfully in AHK, he was posting here for a solution.Perhaps you are correct and I am mistaken. Mea Culpa "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
TheDcoder Posted June 1, 2015 Share Posted June 1, 2015 It would be nice if the OP uses code tags EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
ViciousXUSMC Posted June 1, 2015 Share Posted June 1, 2015 Here is how I would do this, sans of course translating your AHK Script to AutoIT;Register a function and run it every XXXXX Miliseconds 60000 = 1 Minute AdlibRegister("MyFunc", 60000) ;Loop script to keep it running, small sleep to reduct CPU load While 1 Sleep(100) WEnd ;Your function (Replace MsgBox with your function you want to run) Func MyFunc() MsgBox(0, "", "time") EndFunc Link to comment Share on other sites More sharing options...
SadBunny Posted June 1, 2015 Share Posted June 1, 2015 (edited) I don't understand what made you think this was a worthwhile addition to this thread.Well, OP posted AHK code, did not mention AutoIt, and his question was (at least as I interpreted it) how to put a loop around script. Not how to port it to AutoIt. Which made me think it was an honest mistake (one that has been made before) and that OP actually meant to ask help for an AHK loop. So for once in my life I kept my answer under 3000 words and posted a link to the forum that he was probably looking for. My sincere apologies for my earlier ambiguously formulated post (let's blame it on English being only my third language?), but that was what I meant. To OP: if you're actually looking for help porting this script to AutoIt, please clarify. Edited June 1, 2015 by SadBunny Roses are FF0000, violets are 0000FF... All my base are belong to you. Link to comment Share on other sites More sharing options...
iamtheky Posted June 1, 2015 Share Posted June 1, 2015 (edited) while we are all randomly guessing, I hope this a bot for the most boring game ever where you feed animals, in real time. Edited June 1, 2015 by boththose ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
SadBunny Posted June 1, 2015 Share Posted June 1, 2015 @Boththose: crossed my mind as well, but probably not: http://www.tradermate.in/p/software.html Roses are FF0000, violets are 0000FF... All my base are belong to you. Link to comment Share on other sites More sharing options...
TheDcoder Posted June 1, 2015 Share Posted June 1, 2015 Software for feeding animal!? EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
woodsha Posted June 1, 2015 Author Share Posted June 1, 2015 Sorry friends, its my mistake which i thought autoit and autohotkey both are same...did posted in ahk forum as per sadbunny suggestion and got the output...really nice of all you guys on taking part in this discussion..lets close it here. Link to comment Share on other sites More sharing options...
SadBunny Posted June 2, 2015 Share Posted June 2, 2015 Thanks for explaining Woodsha, honesty and feedback both appreciated Roses are FF0000, violets are 0000FF... All my base are belong to you. 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