Auto-open Inspector, Code, Message
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Auto-open Inspector, Code, Message
Is there a way to have Inspector, code and message windows open on launch?
I looked in preference and could not find anything.
I looked in preference and could not find anything.
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: Auto-open Inspector, Code, Message
Hi,
When you say "launch" you mean a standalone or a stack ?
If it is a stack you can use "messages watcher" of menu development.
Best regards
Jean-Marc
When you say "launch" you mean a standalone or a stack ?
If it is a stack you can use "messages watcher" of menu development.
Best regards
Jean-Marc
https://alternatic.ch
-
- Livecode Opensource Backer
- Posts: 9386
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Auto-open Inspector, Code, Message
What do you mean by a "code" window?
This makes me think of Visual BASIC 6 (which I have just
discovered they are teaching at the Technical High School here in Plovdiv)
where all the code/script is in one place.
With LiveCode each object has its own code/script,
so you open a scriptEditor for that object.
Personally I think this is a tremendous advantage over a single script window.
When I had to do some stuff with VB6 (University of Abertay) I found it rather difficult
in the single script windows to work out which bit of code worked for which object
(but, hey, I had already been using LiveCode for 2 years before that).
This makes me think of Visual BASIC 6 (which I have just
discovered they are teaching at the Technical High School here in Plovdiv)
where all the code/script is in one place.
With LiveCode each object has its own code/script,
so you open a scriptEditor for that object.
Personally I think this is a tremendous advantage over a single script window.
When I had to do some stuff with VB6 (University of Abertay) I found it rather difficult
in the single script windows to work out which bit of code worked for which object
(but, hey, I had already been using LiveCode for 2 years before that).
-
- VIP Livecode Opensource Backer
- Posts: 9663
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Auto-open Inspector, Code, Message
I think the OP simply wants the usual handful of palettes and stacks open, and likely in the IDE. These can all be brought forth on opening a new session. After all, the tools palette pops up of its own free will.
But Richmond makes a point. What object would make sense in which to open the script editor? At launch, there may not even be a stack open. But even if there is, what, the stack script?
Craig.
But Richmond makes a point. What object would make sense in which to open the script editor? At launch, there may not even be a stack open. But even if there is, what, the stack script?
Craig.
Re: Auto-open Inspector, Code, Message
Sorry, I was not clear...
What I was looking for was the ability to open the Project Browser, Inspector Window, Message box, script editor ect. automatically when I create or edit a stack. Instead of clicking through 5 menu item to get all the windows in place. The best way to describe this is how Adobe Photoshop has the ability to save and import "Workspaces"
I was not sure if there was some plug-in that could do this task.
What I was looking for was the ability to open the Project Browser, Inspector Window, Message box, script editor ect. automatically when I create or edit a stack. Instead of clicking through 5 menu item to get all the windows in place. The best way to describe this is how Adobe Photoshop has the ability to save and import "Workspaces"
I was not sure if there was some plug-in that could do this task.
-
- Livecode Opensource Backer
- Posts: 9386
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Auto-open Inspector, Code, Message
Well, here's something pretty goofy that should get you going in the right direction:
Although I notice you are still banging on about the scriptEditor
and an "InspectorWindow" (possibly I'm stupid, but I don't know
what you mean by that).
Although I notice you are still banging on about the scriptEditor
and an "InspectorWindow" (possibly I'm stupid, but I don't know
what you mean by that).
Re: Auto-open Inspector, Code, Message
Thank you! Yes, that may do the trick while I am editing. I can then delete this before I save as a standalone.
As for:
As for:
When you first start LiveCode, there is a bar with icons in the top left corner of the computer screen. The first icon that has a window+magnifying glass is the "Inspector" window and the next icon to the right is the "Code" button that opens the Code Editor (script). Sorry I am still trying to figure things out, so I may have called this the Script Editor instead of Code Editor. My bad.Although I notice you are still banging on about the scriptEditor
and an "InspectorWindow" (possibly I'm stupid, but I don't know
what you mean by that).
-
- Livecode Opensource Backer
- Posts: 9386
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Auto-open Inspector, Code, Message
You don't need to have that code in a stack you are working on: just download my stackI can then delete this before I save as a standalone.
and open it before any other stacks . . .
. . . and, of course, add any other stacks you want opened initially.
Re: Auto-open Inspector, Code, Message
Thanks again, this is exactly what I was looking for.