Code: Select all
Let>http=http://www.mjtnet.com/usergroup/posting.php?mode=newtopic&f=2
If>{pos("*",%http%)=1},End
Label>End
Moderators: JRL, Dorian (MJT support)
Code: Select all
Let>http=http://www.mjtnet.com/usergroup/posting.php?mode=newtopic&f=2
If>{pos("*",%http%)=1},End
Label>End
Code: Select all
Let>http=http://www.mjtnet.com/usergroup/posting.php?mode=newtopic&f=2
Let>x={pos("*",%http%)}
If>x>0
//do whatever here if * is found in URL
Else
//do whatever here if no match
Endif
Code: Select all
Repeat>k
WaitReady>0
Let>k=k+1
Let>http=http[%k%]
If>{length(%http%)=0},End
If>{pos("*",%http%)=1},Skip
If>k>1
Press Ctrl
Wait>.1
Send>t
Release Ctrl
Endif
WaitWindowChanged>2
WaitWindowOpen>Blank Page*
WaitReady>0
Wait>1
Press BACKSPACE
Wait>.2
Send>%http%
Wait>.2
Press Enter
Wait>.1
Label>Skip
Until>k,20
Hi Me_again,Me_again wrote:I'm confused by:
If>k>1
maybe the script is too
Code: Select all
If>k>1
Press Ctrl
Wait>.1
Send>t
Release Ctrl
Endif
Code: Select all
Let>a=5
//simple expression only
IF>a=5
//do something
ELSE
//do something else
ENDIF