Posts: 60
Threads: 24
Joined: Jan 2008
theres examples of timer with OSD
well is there a way i can get it with outp?
say 1 2 3 4 5 untill 10?
thanks, TYLER
Posts: 60
Threads: 24
Joined: Jan 2008
,str c.getwintext(id(12 "DoNTKNoWMe - Multi Yahoo Creator"))
,,str a.getwintext(id(15 "DoNTKNoWMe - Multi Yahoo Creator"))
,outp c
c + 1
,if(c=a)end
else
,0.1
i want that so after the first time it will be 2 then 3 then 4????
ty
Posts: 1,769
Threads: 410
Joined: Feb 2003
when you declare your variable in the beginning, instead of starting it at 0 start it at 1 or 2.
Posts: 60
Threads: 24
Joined: Jan 2008
So
c=1 ??
thanks for reply too bro.
its calling off a dialog (edit)
Posts: 60
Threads: 24
Joined: Jan 2008
well i got a dialog with 2 edits.
one for Starting Number example (1) then ending number (5)
so thats why i'm, using the getwintext.
so i want it to add 1 everytime so at 5 it stops???
Posts: 1,769
Threads: 410
Joined: Feb 2003
ahhh....to convert a string that is a number to a number. use the 'val' function.
there are several examples in the help under 'val'.
Posts: 60
Threads: 24
Joined: Jan 2008
Ok bro.
i looked around. couldn't find anythin.
you think you could give me a sample or give me a link.
i done this but i cannot make it stop just carrys on making accounts..
int+ Yahoo
,Yahoo+1
str b.format("%i" Yahoo)
,outp b
thanks Ken bro
Posts: 1,769
Threads: 410
Joined: Feb 2003
look for the word 'val' in the help file. in the qm help file index (F1).
Posts: 473
Threads: 33
Joined: Aug 2007
This is straight from the QM reference for 'val'.
Macro ( Macro68 )
lpstr s = " - 04.757E2 5000"
out val(s)
int i
out val(s 2 i)
out i
;Output:
;-475
;-475.7
;11
Taking on Quick Macros one day at a time
Posts: 60
Threads: 24
Joined: Jan 2008
Yeh i found this.
so how would i be able to make i go up 1 every time?
thx again bro
Posts: 1,769
Threads: 410
Joined: Feb 2003
just like this
int+ Yahoo
Yahoo+1
Posts: 60
Threads: 24
Joined: Jan 2008
Ahh
Thx alot bro