script editor window on drugs

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am
Contact:

script editor window on drugs

Post by maxs » Mon Oct 12, 2009 2:37 am

My script editor window opens too high, not allowing me access to the top menu buttons. Is there any way to set the loc of the script editor window?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Mon Oct 12, 2009 8:43 am

Nope... you have to buy a new computer now ;-)

But you might also try to execute this from the messagebox:

set the top of stack "revNewScriptEditor #" to 100

where # is a number. You will find the correct name and the number of your instance of the script editor in the application browser, if you select Revolution UI Elements In Lists in the View menu.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am
Contact:

Which came first? Script to make a script editor or the SE?

Post by maxs » Tue Oct 13, 2009 4:53 am

Thanks, Mark.

Yes, to clarify, it's the number of the card of the stack.

As an alternative, there is a tangerine iMac on Craigslist available.

Max

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Tue Oct 13, 2009 8:18 am

Hi Max,

It isn't the number of the card. It is the number of the script editor stack, which is part of the name of the stack.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

jsims
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 25
Joined: Thu Apr 30, 2009 1:45 pm
Contact:

Post by jsims » Tue Oct 13, 2009 4:18 pm

Hi Max,

You can also try this...

Open up the Messagebox. Make sure your mouse is hovering over the script editor and execute these 2 lines in the Messagebox:

Code: Select all

set the height of the mousestack to 200
set the loc of the mousestack to the screenloc
Of course, you can use any height you want, just make sure it is less than your monitor height.

Hope this work for you.

(Mousestack and Mousecontrol are my new best friends. Learned them from a Trevor DeVore video. So useful!!!)
- John

maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am
Contact:

Post by maxs » Wed Oct 14, 2009 12:48 am

Thank, John

'MouseStack' is a new term for me.

Max

maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am
Contact:

set the top of stack "revNewScriptEditor 1" to 100

Post by maxs » Mon Nov 02, 2009 7:06 pm

set the top of stack "revNewScriptEditor 1" to 100

I need to type this into the msg box every time the script editor opens.
Is there a place I can put this to call it automatically whenever the script editor opens?

maxs
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 421
Joined: Sat Jun 24, 2006 12:02 am
Contact:

Going nuts

Post by maxs » Fri Nov 13, 2009 11:55 pm

OK, I've been forced to type this into the message box: "set the top of stack "revNewScriptEditor 1" to 100 " every time I need to edit a script.

I figured moving up to Rev 4.0 would fix the problem. No, it didn't. Even using a different computer. The "Compile" button is always hidden under the tool bar.

I've been using Rev for years without having this problem. Am I cursed?
Is there any consultant witch doctor who can shake some rattles at my computer? I'd gladly pay with beans.

Max

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Sat Nov 14, 2009 8:45 am

Try throwing away your preferences file. You can find it:
  • on Windows: in C:\Documents and Settings\<UserName>\Application Data\Runtime Revolution\Revolution <Edition>\revpreferences.rev
  • on MacOSX: inside your home directory ~/Library/Preferences/Runtime Revolution/Revolution <Edition>/revpreferences.rev
Quit the rev IDE first, and then after removing the file, relaunch the rev IDE.

HTH,

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

malte
Posts: 1098
Joined: Thu Feb 23, 2006 8:34 pm
Contact:

Post by malte » Sat Nov 14, 2009 11:31 am

Hi max,

the script editor is cloned from a temlate stack I believe, and thus inherits the "masters" location"

In the messagebox try:

put the top of stack "revNewScriptEditor"

if it is less then a reasonable number set the top of that stack and then save it.

Maybe that helps.

Post Reply