Posts: 56
Threads: 14
Joined: Jul 2008
if(but(id(11 win("Account - Denis Details" "#32770"))))
rep 2
code here.....................
......................................................
.....................................................
is there a way to make it so that if the opinion isnt checked it will only rep once?
thanks
Posts: 12,071
Threads: 140
Joined: Dec 2002
int n=1
if(but(...)) n=2
rep n
,...
Posts: 56
Threads: 14
Joined: Jul 2008
Gintaras Wrote:int n=1
if(but(...)) n=2
rep n
,...
the thing is that code is formated wierd
it is a very long code...and lots of strings,,, what i need is a rep code that will rep the same code
Posts: 56
Threads: 14
Joined: Jul 2008
Macro
if(but(id(11 win("Account - Denis Details" "#32770"))))
,rep 2
,,code......
,,str s.getwintext(win("Internet Explorer- Facebook"))aa.fix(18)xxx(18)
,,out s
if(!but(id(12 win("Account - Denis Details" "#32770"))))
,rep 1
,,code......
,,str s.getwintext(win("Internet Explorer- Facebook"))aa.fix(18)xxx(18)
,,out s
I want to run the same code from the same macro and be able to adjust my rep from 1 and 2 by macro calling to see if Opinion is checked or not.
Hope that helps a little better for you to understand me sorry i can be hard to understand sometimes