Re: Quick IDE question

2020-04-29 Thread Martin Koob via use-livecode
Hi Graham

Glad it worked.

Getting the decorations and dragability back is just a matter of getting the 
stack rect within the rect of the screen.

LiveCode IDE parts sometimes get a mind of their own and set out a wanderin’ — 
who knows why.  Setting their loc to the screenloc will put them right in the 
centre of the screen so you can deal with them there.

Martin


> On Apr 29, 2020, at 2:46 PM, Graham Samuel via use-livecode 
>  wrote:
> 
> Stone the crows, it worked!! Even the decorations came back, and the ability 
> to drag the window - neither of which are obviously related to the rect or 
> height of the stack, as far as I can see.
> 
> Thanks so much Martin. I wonder how just the Script Editor got so out of 
> whack - but it’s just a theoretical wonder, as I am back to normal.
> 
> Thanks again.
> 
>> On 29 Apr 2020, at 15:35, Martin Koob via use-livecode 
>>  wrote:
>> 
>> Hi Graham
>> 
>> Try this in the message box
>> 
>> set the rect of stack "revNewScriptEditor 1" to the screenrect; set the 
>> height of stack "revNewScriptEditor 1" to 750
>> 
>> 
>> 
>> 
>> Regards,
>> 
>> Martin Koob
>> 
>> 
>> 
>> 
>> 
>>> On Apr 29, 2020, at 9:11 AM, Graham Samuel via use-livecode 
>>>  wrote:
>>> 
>>> Since yesterday, running either LC 9.5.1  or 9.6.0 dp4 on a Mac, every time 
>>> I open the Script Editor window, it overfills my screen, so I can’t see the 
>>> bottom of the window. There are no decorations, so I can’t resize or 
>>> minimise the window; and dragging the window by the title bar doesn’t work 
>>> either. I’ve restarted both versions but no joy. Everything else seems to 
>>> be working normally and the other LC windows have decorations.
>>> 
>>> I don’t believe I’ve ever seen this before. Does anyone know how I can get 
>>> out of it?
>>> 
>>> Graham
>>> ___
>>> use-livecode mailing list
>>> use-livecode@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@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Quick IDE question

2020-04-29 Thread Graham Samuel via use-livecode
Stone the crows, it worked!! Even the decorations came back, and the ability to 
drag the window - neither of which are obviously related to the rect or height 
of the stack, as far as I can see.

Thanks so much Martin. I wonder how just the Script Editor got so out of whack 
- but it’s just a theoretical wonder, as I am back to normal.

Thanks again.

> On 29 Apr 2020, at 15:35, Martin Koob via use-livecode 
>  wrote:
> 
> Hi Graham
> 
> Try this in the message box
> 
> set the rect of stack "revNewScriptEditor 1" to the screenrect; set the 
> height of stack "revNewScriptEditor 1" to 750
> 
> 
> 
> 
> Regards,
> 
> Martin Koob
> 
> 
> 
> 
> 
>> On Apr 29, 2020, at 9:11 AM, Graham Samuel via use-livecode 
>>  wrote:
>> 
>> Since yesterday, running either LC 9.5.1  or 9.6.0 dp4 on a Mac, every time 
>> I open the Script Editor window, it overfills my screen, so I can’t see the 
>> bottom of the window. There are no decorations, so I can’t resize or 
>> minimise the window; and dragging the window by the title bar doesn’t work 
>> either. I’ve restarted both versions but no joy. Everything else seems to be 
>> working normally and the other LC windows have decorations.
>> 
>> I don’t believe I’ve ever seen this before. Does anyone know how I can get 
>> out of it?
>> 
>> Graham
>> ___
>> use-livecode mailing list
>> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Quick IDE question

2020-04-29 Thread Martin Koob via use-livecode
Hi Craig

The script editor is a stack just like any other so what you can do to a stack 
you can do to it.

To find the name of it you can type the following into the Message Box:

put the openstacks

That will show a list in the message box of all the stacks open including the 
stack you are working on, here “My great app” and all the UI currently opened 
UI stacks.

Message Box
revNewScriptEditor 1
My great app
revPropertyInspector 1
revInspector
revTools
Improve LiveCode Handler Finder
revMenuBar
com.livecode.palette.autocomplete.completions


If you have more than one SE or property inspector it numbers them.

i.e..


1. open new Script in a new window
2. open a property inspector for a second object

3. Type in message box "put the openstacks"

New listing

Message Box
revPropertyInspector 2
revInspector
My great app
revTools
revNewScriptEditor 1
revNewScriptEditor 2
Improve LiveCode Handler Finder
revMenuBar
revPropertyInspector 1
com.livecode.palette.autocomplete.completions

from the list of open stacks you can find the stack names so you can set their 
properties.

You can set stack properties like loc rect, height, etc.   


You could make a small stack with buttons that set all your UI elements where 
you want them for each of your use cases and have them all fly to their 
respective positions and sizes.   Maybe someone has made a plugin like that.
 

Regards,

Martin Koob





> On Apr 29, 2020, at 9:20 AM, dunbarx--- via use-livecode 
>  wrote:
> 
> Can you explicitly set the rect of the SE? I do this all the time because I 
> have it located on a large vertically oriented monitor adjacent to my main 
> screen, and the loc needs to be refreshed now and then depending on other 
> stuff I use them for.
> Craig
> 
> 
> -Original Message-
> From: Graham Samuel via use-livecode 
> To: How to use LiveCode 
> Cc: Graham Samuel 
> Sent: Wed, Apr 29, 2020 9:13 am
> Subject: Quick IDE question
> 
> Since yesterday, running either LC 9.5.1  or 9.6.0 dp4 on a Mac, every time I 
> open the Script Editor window, it overfills my screen, so I can’t see the 
> bottom of the window. There are no decorations, so I can’t resize or minimise 
> the window; and dragging the window by the title bar doesn’t work either. 
> I’ve restarted both versions but no joy. Everything else seems to be working 
> normally and the other LC windows have decorations.
> 
> I don’t believe I’ve ever seen this before. Does anyone know how I can get 
> out of it?
> 
> Graham
> ___
> use-livecode mailing list
> use-livecode@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@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Quick IDE question

2020-04-29 Thread Martin Koob via use-livecode
Hi Graham

Try this in the message box

set the rect of stack "revNewScriptEditor 1" to the screenrect; set the height 
of stack "revNewScriptEditor 1" to 750




Regards,

Martin Koob





> On Apr 29, 2020, at 9:11 AM, Graham Samuel via use-livecode 
>  wrote:
> 
> Since yesterday, running either LC 9.5.1  or 9.6.0 dp4 on a Mac, every time I 
> open the Script Editor window, it overfills my screen, so I can’t see the 
> bottom of the window. There are no decorations, so I can’t resize or minimise 
> the window; and dragging the window by the title bar doesn’t work either. 
> I’ve restarted both versions but no joy. Everything else seems to be working 
> normally and the other LC windows have decorations.
> 
> I don’t believe I’ve ever seen this before. Does anyone know how I can get 
> out of it?
> 
> Graham
> ___
> use-livecode mailing list
> use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Quick IDE question

2020-04-29 Thread dunbarx--- via use-livecode
Can you explicitly set the rect of the SE? I do this all the time because I 
have it located on a large vertically oriented monitor adjacent to my main 
screen, and the loc needs to be refreshed now and then depending on other stuff 
I use them for.
Craig


-Original Message-
From: Graham Samuel via use-livecode 
To: How to use LiveCode 
Cc: Graham Samuel 
Sent: Wed, Apr 29, 2020 9:13 am
Subject: Quick IDE question

Since yesterday, running either LC 9.5.1  or 9.6.0 dp4 on a Mac, every time I 
open the Script Editor window, it overfills my screen, so I can’t see the 
bottom of the window. There are no decorations, so I can’t resize or minimise 
the window; and dragging the window by the title bar doesn’t work either. I’ve 
restarted both versions but no joy. Everything else seems to be working 
normally and the other LC windows have decorations.

I don’t believe I’ve ever seen this before. Does anyone know how I can get out 
of it?

Graham
___
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Quick IDE question

2020-04-29 Thread Graham Samuel via use-livecode
Since yesterday, running either LC 9.5.1  or 9.6.0 dp4 on a Mac, every time I 
open the Script Editor window, it overfills my screen, so I can’t see the 
bottom of the window. There are no decorations, so I can’t resize or minimise 
the window; and dragging the window by the title bar doesn’t work either. I’ve 
restarted both versions but no joy. Everything else seems to be working 
normally and the other LC windows have decorations.

I don’t believe I’ve ever seen this before. Does anyone know how I can get out 
of it?

Graham
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode