Page 1 of 2

LiveCode 8.0.0 App Browser

Posted: Mon Oct 05, 2015 8:35 pm
by richmond62
The Application Browser is present in LiveCode 8, but is inaccessible from the Menus in the IDE.

As I use the Application Browser a lot of the time I have written a 'Patch Stack" that will place a button
on the revMenuBar stack to access it:
AppBH2.png
hacked.png
If you don't like the button you can safely remove it with my stack.

Re: LiveCode 8.0.0 App Browser

Posted: Mon Oct 05, 2015 8:41 pm
by richmond62
What a blasted nuisance; although the script in my patch attempts to save the revMenuBar stack:

on mouseUp
copy img "AppH"
palette "AppB_Hack"
set the defaultstack to "revMenuBar"
set the cantModify of stack "revMenuBar" to false
paste
move img "AppH" of stack "revMenuBar" to 880,10
save stack "revMenuBar"
set the cantModify of stack "revMenuBar" to true
save stack "revMenuBar"
toplevel stack "AppB_Hack"
end mouseUp

on a restart the new button has not 'stuck'.

Re: LiveCode 8.0.0 App Browser

Posted: Mon Oct 05, 2015 9:10 pm
by richmond62
As my Patch Button won't "stack" between IDE restarts I am also offering a small palette:
Hack2.png

Re: LiveCode 8.0.0 App Browser

Posted: Mon Oct 05, 2015 10:16 pm
by peter-b
The menubar isn't a stack that gets save to disk any more; it's generated dynamically by a live code script stack. So saving it won't work, you need to edit the script to make sure it gets generated the way you want it to be!

Re: LiveCode 8.0.0 App Browser

Posted: Mon Oct 05, 2015 10:18 pm
by richmond62
That is going to make life a bit more awkward for hacky types like me :)

Re: LiveCode 8.0.0 App Browser

Posted: Mon Oct 05, 2015 10:18 pm
by FourthWorld
Non-saving patches are arguably better anyway: we can implement them as plugins that run on startup so they work whenever we need them, but simply removing the plugin and restarting LC restores the environment to defaults; a win-win.

Re: LiveCode 8.0.0 App Browser

Posted: Mon Oct 05, 2015 10:21 pm
by richmond62
But, on the topic of the Application Browser, I would be interested to know what RunRev's current attitude is towards it, as it does seem odd that it is
present but almost inaccessible.

Personally, I would like to see it kept, and put back on the menuBar.

Re: LiveCode 8.0.0 App Browser

Posted: Mon Oct 05, 2015 10:29 pm
by Mark
I haven't used the application browser for years. I have never used the project browser, except for one time, when I had to make a screenshot of it. I use my own tiny navigation window. I believe, if I would have to choose, I'd keep the application browser and delete the bloated project browser.

Mark

Re: LiveCode 8.0.0 App Browser

Posted: Mon Oct 05, 2015 11:39 pm
by FourthWorld
Mark wrote:I haven't used the application browser for years. I have never used the project browser
What do you use for navigating objects?

Re: LiveCode 8.0.0 App Browser

Posted: Tue Oct 06, 2015 5:38 pm
by Klaus
Some years ago I tried to turn the MetaCard "Control Browser" a Livecode plug-in, but did not succeed unfortunately. :oops:
That would be a nice object browser, I think!

Re: LiveCode 8.0.0 App Browser

Posted: Tue Oct 06, 2015 7:08 pm
by richmond62
Here are 2 stacks that will hack the IDE and then close themselves: so can be put in the Plugins folder to execute every time:

RappBrowse.livecode will ONLY place a button to access the Application Browser on the revMenuBar stack:
Hack1.png
RappBrowseBW.livecode will place a button to access the Application Browser on the revMenuBar stack AND invert the colours of both the revMenuBar
and the revTools stacks:
Hack2a.png
As has been pointed out, these hacks will not "stick" between restarts of the LiveCode 8 IDE, if they do anything 'funny' to your IDE just quit the thing
and restart it.

Re: LiveCode 8.0.0 App Browser

Posted: Wed Oct 07, 2015 6:07 pm
by livecodeali
Ideally we would not have to maintain the Application Browser and the Project Browser, which essentially perform the same function. So the most productive route here may be to identify the things that everyone likes about each of them, and combine them into one.

If such a thing is possible.

Re: LiveCode 8.0.0 App Browser

Posted: Wed Oct 07, 2015 6:40 pm
by Mark
Hi LiveCodeAli,

The application browser is small and does what it should do. That's what I like about the application browser, even though I don't use it. I don't use it because the tool I use is even smaller and does even less than the application browser: it just lets me navigate to an object, show it if it is not on screen and edit its script.

I don't like everything else about the project browser.

My proposal is to keep the application browser and delete the project browser.

Kind regards,

Mark

Re: LiveCode 8.0.0 App Browser

Posted: Wed Oct 07, 2015 6:49 pm
by richmond62
Well, I never really 'went' for the Project Browser: and, what is it anyway? A sort of rehash of the
Application Browser?

Re: LiveCode 8.0.0 App Browser

Posted: Wed Oct 07, 2015 6:54 pm
by SparkOut
I second what Mark said, apart from the bit about having made my own. I like the Application Browser (I'd like it even more if it stopped disappearing and reopening in different places to where I set it). I can't put my finger on what specifics I don't like about the project browser but I stopped using it a long time ago. Too much screen estate required to be useful is probably the biggest problem.
Compact, tidy, useful => Application Browser please.