OS: WIndows 10
Browser: Google CHROME 85.0.4183.83
Hi, Long time forum lurker first time poster lol,
I am trying to run a very simple script to automate my computer workflow, however one frame keeps changing its number from '4' to '5' and then my script doesn't work.
I'm sure this is a really simple fix but I clearly lack the expertise to figure it out. I have also searched on the forums as much as I could, however, the solutions are either beyond my capabilities or I'm missing their application.
Here is the code I'm using. It literally is used to just click two radio buttons (in FRAME F=5) and one drop down button (in FRAME F=0):
Code: Select all
FRAME F=5
TAG POS=1 TYPE=LABEL FORM=NAME:mainform ATTR=TXT:****
TAG POS=1 TYPE=DIV ATTR=ID:next_button
WAIT SECONDS=3
FRAME F=0
TAG POS=1 TYPE=SPAN ATTR=TXT:*******
TAG POS=1 TYPE=A ATTR=TXT:*******
First I tried to make a script like this:
Code: Select all
SET !ERRORIGNORE YES
FRAME F=5
TAG POS=1 TYPE=LABEL FORM=NAME:mainform ATTR=TXT:****
TAG POS=1 TYPE=DIV ATTR=ID:next_button
FRAME F=4
TAG POS=1 TYPE=LABEL FORM=NAME:mainform ATTR=TXT:****
TAG POS=1 TYPE=DIV ATTR=ID:next_button
WAIT SECONDS=3
FRAME F=0
TAG POS=1 TYPE=SPAN ATTR=TXT:*******
TAG POS=1 TYPE=A ATTR=TXT:*******
My main question is this: Is there a solution that will allow me to just run the script for both F=5 and F=4 without the macro hanging if one doesn't complete? Or is there another solution to this I'm completely missing. Many solutions in the forums seemed to talk about using javascript, I'm not really too sure how to do that and wasn't sure if that even applied to my free version. Also if this can be solved easily by simply buying the paid version of the program, I'm open to it, I certainly think its worth the money, I just only use it to help click these three buttons and haven't been able to save up just yet.
Hope my description outlines the problem somewhat coherently.
Thanks so much for any help!