Selecting a Line in the Script Editor Window

Ray ray at linkit.com
Wed Apr 22 04:18:08 EDT 2015


Mike - I had actually done a more complicated work-around.  This is 
better.  I forgot about the 'with messages' option with the wait 
command.  Thanks!

On 4/22/2015 1:35 AM, Mike Bonner wrote:
> meant to say wait 50 millisec with messages
>
> On Tue, Apr 21, 2015 at 5:33 PM, Mike Bonner <bonnmike at gmail.com> wrote:
>
>> 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
>>>
>>
> _______________________________________________
> 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