wre wrote, on 08/29/08 11:45:
> On Aug 27, 3:59 am, bu-bu <bedo...@[EMAIL PROTECTED]
> wrote:
>
>> ~ how to make a script resident in memory ?
>> i have a script that i want to use every time. I would like to make it
>> resident in memory, to avoid to click my buttons many times a day.
>
>
> If you want to run a script every few seconds you could do this.
>
> hiRegTimer( "yourfunction( \"your input\")" 10)
>
> I use this in a showproperties function which shows the w and l of
> the
> current selected transistor or resistor for example. I implemented
> a value input to start, stop or repeat the function. This enables
> you to stop it from repeat mode. Sample code to get the idea:
>
<snipped>
> see my blog for more details: http://relyveld.wordpress.com/
>
> Greetings, William.
In fact, the solution I mentioned in my previous post (11381132) uses
hiRegTimer
internally. It's a convenient wrapper around it to make it easier to set
up
repeating events.
Still, it's not clear that this is what was actually being requested...
Andrew.


|