you are very, very close!<div><br></div><div>under the View drop-down menu, select Script, then click on the User tab at the bottom of the Script window.</div><div>here you will type:</div><div>Dim count as Integer</div><div>

<br></div><div>in your inline, prior to your text object just type:</div><div>count = count+1</div><div>If count = 5 Then Goto Label1</div><div><br></div><div>and put your Label1 object after your text object.  that should do it.</div>

<div><br></div><div>ben<br><br><div class="gmail_quote">On Mon, Nov 2, 2009 at 2:17 PM, Rivermaker <span dir="ltr"><<a href="mailto:coolpsychology@gmail.com">coolpsychology@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
Hi,<br>
<br>
I need a really short script that, I'm sure, is embarrassingly simple<br>
for those with coding skills. I'm not one of you! Please be kind.<br>
<br>
All I want to do is to skip a text object the 5th (and last) time<br>
through a procedure. I need to create an integer variable and add 1 to<br>
it each time through so that eventually, with an InLine object, I can<br>
tell it to...<br>
<br>
If count = 5 GoTo Label1    'this is to get it to skip the text object<br>
<br>
Else count = count + 1      'this is to add 1 to it each time through<br>
<br>
<br>
In addition to the above, I need help creating the variable. I am<br>
assuming that I can't create (declare?) it within the same InLine<br>
object because that would reset its value to zero each time<br>
through...So I'm thinking that earlier on, say at the start, I have to<br>
write this:<br>
<br>
Dim count as integer<br>
<br>
Am I close?<br>
<br>
<br>
Can anybody help me out?<br>
<br>
Many thanks,<br>
<br>
Mike<br>
<br>
<br>
<br>
<br>
</blockquote></div><br></div>
<br>
--~--~---------~--~----~------------~-------~--~----~<br>
You received this message because you are subscribed to the Google Groups "E-Prime" group. <br> To post to this group, send email to e-prime@googlegroups.com <br> To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com <br> For more options, visit this group at http://groups.google.com/group/e-prime?hl=en<br>
-~----------~----~----~----~------~----~------~--~---<br>
<br>