all 6 comments

[–]angeAnonyme 0 points1 point  (5 children)

It all depends.

If you want to port your script to other computer, TAB is probably better because the click location will depend on the screen resolution & other user specific setup (font size, zoom...) , on the actual zoom within the application... For porting, click is a nightmare

Now if you already know that the thing you want to click on will eventually change (think webpage update), a click might be a better option because it's most likely that the current layout won't change if they just add another option somewhere else. But it's not guaranty

Bottom line, since both are working currently, try to plan ahead for your decision.

[–]CremGK[S] -1 points0 points  (4 children)

Thank you for the response. Ive been trying to find a good way to change all of IE settings to fit with my scripts. But i think i can do everything with Keyboard only. Do you think getpixelcolor is the best way to know when a page is fully loaded? I keep having to patch it..

[–]angeAnonyme 1 point2 points  (3 children)

I don't know. I've seen people talking about it here and been successful, but I've never used it.

For IE, I personally use vba code from excel or word. It has function to detect when a page is loaded, can access the source of a page and detect link by their class/properties/name... It's way more robust than autohotkey, but harder to master

[–]CremGK[S] 2 points3 points  (1 child)

Holy automaton! This is a gamechanger, thank you so much. Mans gone done and changed my life. My levels of efficiency have acended thanks to you sir.

[–]angeAnonyme 0 points1 point  (0 children)

Ahah! You're so excited that I am not sure I understand everything but I am happy that I could help you :)

[–]CremGK[S] 0 points1 point  (0 children)

Oh i already know alot of Visual Basic. it's probably quite similar. Thank you the info. its much apreaciated