> the first line to sort notes. So note.getline makes sense to get
the
> first line of the note. It works quite fine but not if a note is
> rolled up.
It works fine for me in all cases I have tested; for example, the
following script works fine.
static i nh
;*** Create notes once
if (not vec.exists(nh)) do
nh = vec.create(5)
for (i=0; i<5; i=i+1)
nh[i] = note.open("","pos stack")
endfor
endif
; Assign note note text based on time and randomly roll or unroll
for (i=0; i<5; i=i+1)
note.replacetext(nh[i],"note "++i++" at time "++
time++"\r\n2line\r\n3line")
note.roll(nh[i],random(3))
endfor
; *** sleep for a bit just to show results
wait.for(2000)
; *** show first line of text ext
for (i=0; i<5; i=i+1)
win.debug(note.getline(nh[i],0))
endfor
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/