Page 1 of 2
Resizing at 80% Editor space / Screen
Posted: Fri Apr 05, 2019 5:08 am
by licondam
Hi,
How do I change the Editor Main window to occupy only 80% of the Screen in one clic ?
It really gets in the way when the editor uses 100% of the screen since I always need to switch to some other desktop soft to grab something...
Is there any 1 click way NOT to minimize it totally or maximize it in full screen ?
tks
Re: Resizing at 80% Editor space / Screen
Posted: Fri Apr 05, 2019 7:46 am
by richmond62
I tend to resize the scriptEditor using the grab thing at the lower right-hand corner.
Re: Resizing at 80% Editor space / Screen
Posted: Fri Apr 05, 2019 11:30 am
by bogs
I see 3 possibilities.
The post is from a bot.
The post is about something other than Lc.
The post is about the backdrop.
On the chance that this is talking about the backdrop, go to the 'View' menu, and uncheck 'Backdrop'.
Re: Resizing at 80% Editor space / Screen
Posted: Fri Apr 05, 2019 3:10 pm
by dunbarx
Doesn't sound like a bot. Doesn't sound like backdrop.
Try this, if you are human and don't care about backdrops. (pseudo)
Code: Select all
get the screenRect
figure out where you want to reduce that space (from the topLeft down, for example)
set the rect of stack "revNewScripteditor" to that value
Craig Newman
Re: Resizing at 80% Editor space / Screen
Posted: Fri Apr 05, 2019 11:33 pm
by SparkOut
Maybe stack "revNewScriptEditor1" perhaps?
Re: Resizing at 80% Editor space / Screen
Posted: Sat Apr 06, 2019 12:58 am
by dunbarx
Maybe stack "revNewScriptEditor1" perhaps?
Hmmm. I am in v.8. I actually never tried to change the rect of the SE, merely asking, in msg:
Code: Select all
answer the rect of stack "revNewScriptEditor"
I got a rect.
I just tried with the "1" variant, and got "cannot find stack". Is it a v.9 thing?
Craig
Re: Resizing at 80% Editor space / Screen
Posted: Sat Apr 06, 2019 10:41 am
by bogs
dunbarx wrote: ↑Sat Apr 06, 2019 12:58 am
I just tried with the "1" variant, and got "cannot find stack". Is it a v.9 thing?
I don't think so. Wonder which version of 8.x your using? Far as I know, it has been with 1 since the beginning.
8.0.1 ~

- Whoomp there it is...
8.1.2 ~

- Whoomp there it is...again....
6.5.2 ~

- Whoom... HOLY COW !
I *MIGHT* add you also need to have opened a script editor window to see the one. I am pretty sure revScriptEditor (without the 1) is the template the editor is made from. Just for fun, open 2 SE windows, and put the name of each

Re: Resizing at 80% Editor space / Screen
Posted: Sat Apr 06, 2019 2:28 pm
by dunbarx
I am in 8.1.10.
No dice. Even with the SE open, LC cannot find the "1" version of the stack.
And in a new session the rect of SE (no "1") is known and displayed even before it is opened. This is not surprising, and actually has nothing to do with the issue. I just wonder why you and I differ.
Craig
Re: Resizing at 80% Editor space / Screen
Posted: Sat Apr 06, 2019 3:21 pm
by bogs
![osxTest [Running] - Oracle VM VirtualBox_001.png (71.36 KiB) Viewed 7347 times osxTest [Running] - Oracle VM VirtualBox_001.png](./download/file.php?id=11064&t=1&sid=59ac7fe306d0e63359f3cefd6dbac0b6)
- Its OSX-o-matic...
I think your edition of Lc must be infected with evil pixies, cause I sure see it here. Maybe a typo? I know SparkOut has a typo in his, no space between 'revScriptEditor' and '1'
Code: Select all
Maybe stack "revNewScriptEditor1" perhaps?
Maybe stack "revNewScriptEditor 1" <----

Re: Resizing at 80% Editor space / Screen
Posted: Sat Apr 06, 2019 4:08 pm
by dunbarx
Nope.
Neither "revNewScriptEditor1" nor "revNewScriptEditor 1" is a stack on my computers, either at work or the one at home. Both in v.8.
There is chatter here in the forum about "revNewScriptEditor 1". So it does seem to exist. It just doesn't exist for me.
Craig
Re: Resizing at 80% Editor space / Screen
Posted: Sat Apr 06, 2019 4:13 pm
by Klaus
Craig,
open a script editor window
Open the message box and type -> put the name of the mousestack
Move the cursor over the script editor window
NOW hit ENTER
See what the message box tells you

Re: Resizing at 80% Editor space / Screen
Posted: Sat Apr 06, 2019 4:20 pm
by bogs
Alternately, you can -
"View" menu -> livecode ui elements in lists
then with the script editor open (for anything)~
application browser ->

- There it is...
Re: Resizing at 80% Editor space / Screen
Posted: Sat Apr 06, 2019 5:19 pm
by richmond62
Down in Northern Greece / Eastern Macedonia / Western Thrace / Illegally Occupied Southern Bulgaria / Whatever (Alexandropoli) I'm getting this sort of thing:
-

- HalieCoo.png (12.24 KiB) Viewed 7318 times
Re: Resizing at 80% Editor space / Screen
Posted: Sat Apr 06, 2019 5:24 pm
by jacque
As I understand it, the unnumbered editor is the template. When opening a script, the template is cloned and assigned a number. The original template isnt ever actually used but it does exist, so it's possible to retrieve its properties. Since the introduction of tabs, it's now unusual to go past 1.
To the OP, LC should remember the size of the script editor between sessions, so you can drag it to the size and location you want and it should stay that way. If by "editor" you mean the whole LC environment then turning off the backdrop is probably what you want.
Re: Resizing at 80% Editor space / Screen
Posted: Sat Apr 06, 2019 5:32 pm
by richmond62
Maybe I'm just a lucky bloke: but on both Macintosh and Linux
my scriptEditor windows always open at the size I set my last
scriptEditor window to.