Selecting a Line in the Script Editor Window

Mike Bonner bonnmike at gmail.com
Tue Apr 21 19:33:59 EDT 2015


Just put a wait with messages after the window open and it should work.  I
was trying the same thing here as bob was posting his answer.

On Tue, Apr 21, 2015 at 5:08 PM, Ray <ray at linkit.com> wrote:

> Bob - just in case you're interested, I realize now how I missed this.
> Your simple solution to select a line in the script editor window works
> only if the script editor window is already open.  I was trying to open the
> script editor window and immediately select a line in it.  This is I ran
> into problems.
>
> Nonetheless, there are a number of work arounds including sending the
> command to do the selecting /after /the script editor window is open.
>
> Thanks again.
>
> On 4/22/2015 12:09 AM, Bob Sneidar wrote:
>
>> select line 542 of fld "Script" of stack "RevNewScriptEdtor 1" works.
>>
>> Bob S
>>
>>
>>  On Apr 21, 2015, at 13:01 , Richmond <richmondmathewson at gmail.com>
>>> wrote:
>>>
>>>     set the hilitedLine of fld "Script" of stack "RevNewScriptEdtor 1"
>>>> to 542
>>>>
>>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list