seeh Posted April 30, 2022 Report Share Posted April 30, 2022 (edited) from math import floor time.sleep(.1) lastFtime = store.get_global_value("ftime") # time.sleep(.2) from datetime import datetime; time.sleep(.1) ftime = datetime.utcnow().strftime("%Y%m%d%H%M%S") store.set_global_value("ftime",ftime) timeDiffInSeconds = int(ftime) - int(lastFtime) timeDiffInMin = 0 if timeDiffInSeconds > 0: timeDiffInMin = floor(timeDiffInSeconds / 60) if timeDiffInMin >= 55: keyboard.press_key('<backspace>') time.sleep(.12) mouse.click_relative(500,500,1) time.sleep(.2) keyboard.release_key('<backspace>') a little modification of the autoFlare its not flare automatically (fist time i slect cav using hotkey ALT+C) the next 55 Minutes if you press your hotkey for select the Cav. i use Alt+C for that. this is a autoKey script. i use <backspace> as flare buttion. you config it with autoCiv Edited April 30, 2022 by seeh Quote Link to comment Share on other sites More sharing options...
seeh Posted May 15, 2022 Report Share Posted May 15, 2022 (edited) with this flare you dont need to press mouse button. BTW i use <backspace> for flare. set the hotkey in autoKey then also to <backspace> its a littele autoKey-Script (https://github.com/autokey/autokey works in most linux): # works most of time. but sometimes not import time mouse.click_relative_self(0,0,1) time.sleep(.2) mouse.click_relative_self(0,0,1) time.sleep(.3) mouse.click_relative_self(0,0,1) Edited May 15, 2022 by seeh Quote Link to comment Share on other sites More sharing options...
alre Posted May 16, 2022 Report Share Posted May 16, 2022 I expect you to stop using the mouse entirely at some point. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.