GregsStack / InputSimulatorStandard

Input Simulator Standard
MIT License
70 stars 7 forks source link

Repeating with no good performance... help? #166

Open anastasiosskg opened 5 months ago

anastasiosskg commented 5 months ago

this is inside function which has parameter "performSelection" it is coming with string "paste" or "search", os when it comes with search, it has to move the mouse and make 2 clicks with delay, but i have 21 ifs like this, so when it got finished with this if, ti goes to the second... after the first one, it is loosing the timesleeps, it is clicking very slow at the next it can click fast, it is not working as i wrote it... the problem is when i put alot of ifs and checks, when i use without checks and ifs, only mouse moving sleep, clicks, even 21 times, it has no problem, but when i put in situation like this, it is not performing as it should.. any help ?

Edit:

My problem was that i was using another extension with mouse hook, and that was the problem.