Re: Selecting a Line in the Script Editor Window

2015-04-22 Thread Richmond
On 22/04/15 01:23, Ray wrote: Bob - thanks! I thought I had tried all forms of this syntax. How'd I miss that? Makes me feel pretty stupid as well :P Mainly because it should be moronically obvious. Richmond. On 4/22/2015 12:09 AM, Bob Sneidar wrote: select line 542 of fld "Script" of sta

Re: Selecting a Line in the Script Editor Window

2015-04-22 Thread Ray
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 wrote: Ju

Re: Selecting a Line in the Script Editor Window

2015-04-21 Thread Mike Bonner
meant to say wait 50 millisec with messages On Tue, Apr 21, 2015 at 5:33 PM, Mike Bonner 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 wrote: > >> Bob -

Re: Selecting a Line in the Script Editor Window

2015-04-21 Thread Mike Bonner
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 wrote: > Bob - just in case you're interested, I realize now how I missed this. > Your simple solution to select a line in

Re: Selecting a Line in the Script Editor Window

2015-04-21 Thread Ray
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 in

Re: Selecting a Line in the Script Editor Window

2015-04-21 Thread Ray
Bob - thanks! I thought I had tried all forms of this syntax. How'd I miss that? 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 wrote: set the hilitedLine of fld "Script" of st

Re: Selecting a Line in the Script Editor Window

2015-04-21 Thread Bob Sneidar
select line 542 of fld "Script" of stack "RevNewScriptEdtor 1" works. Bob S > On Apr 21, 2015, at 13:01 , Richmond wrote: > >> set the hilitedLine of fld "Script" of stack "RevNewScriptEdtor 1" to 542 ___ use-livecode mailing list use-livecode@l

Re: Selecting a Line in the Script Editor Window

2015-04-21 Thread Ray
Very nice Richard. I wasn't aware of this. Too bad it's not working. I've asked to be informed when it's fixed. Thanks On 4/21/2015 10:44 PM, Richard Gaskin wrote: Ray wrote: > Does anybody no of a way to select a line in the script editor window? > > This doesn't work: > edit script of

Re: Selecting a Line in the Script Editor Window

2015-04-21 Thread Richard Gaskin
Ray wrote: > Does anybody no of a way to select a line in the script editor window? > > This doesn't work: > edit script of this stack > set the hilitedLine of fld "Script" of stack "RevNewScriptEdtor 1" > to 542 > > Ideally this will also scroll to the selected line. The Dictionary notes th

Re: Selecting a Line in the Script Editor Window

2015-04-21 Thread Ray
Richmond - you've got some interesting stacks in this bundle. I'll explore ways of moving scripts over to a normal field in a stack to work with them there if nobody posts any ways to select a line in Livecode's script editor window. Thanks for the idea! On 4/21/2015 10:01 PM, Richmond wrote

Re: Selecting a Line in the Script Editor Window

2015-04-21 Thread Richmond
On 21/04/15 22:23, Ray wrote: Does anybody no of a way to select a line in the script editor window? This doesn't work: edit script of this stack set the hilitedLine of fld "Script" of stack "RevNewScriptEdtor 1" to 542 Ideally this will also scroll to the selected line. Many thanks fo