LiveCode 8.0.0 App Browser

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1970
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria
Contact:

LiveCode 8.0.0 App Browser

Post by richmond62 » Mon Oct 05, 2015 8:35 pm

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.
Attachments
AppBH.zip
The Patch
(13.9 KiB) Downloaded 94 times
Last edited by richmond62 on Mon Oct 05, 2015 9:09 pm, edited 1 time in total.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1970
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria
Contact:

Re: LiveCode 8.0.0 App Browser

Post by richmond62 » Mon Oct 05, 2015 8:41 pm

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'.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1970
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria
Contact:

Re: LiveCode 8.0.0 App Browser

Post by richmond62 » Mon Oct 05, 2015 9:10 pm

As my Patch Button won't "stack" between IDE restarts I am also offering a small palette:
Hack2.png
Attachments
AppBH.zip
Small Palette
(13.9 KiB) Downloaded 92 times

peter-b
Posts: 182
Joined: Thu Nov 20, 2014 2:14 pm
Location: LiveCode Ltd.

Re: LiveCode 8.0.0 App Browser

Post by peter-b » Mon Oct 05, 2015 10:16 pm

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!
LiveCode Open Source Team — @PeterTBBrett — peter.brett@livecode.com

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1970
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria
Contact:

Re: LiveCode 8.0.0 App Browser

Post by richmond62 » Mon Oct 05, 2015 10:18 pm

That is going to make life a bit more awkward for hacky types like me :)

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5466
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: LiveCode 8.0.0 App Browser

Post by FourthWorld » Mon Oct 05, 2015 10:18 pm

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.
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1970
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria
Contact:

Re: LiveCode 8.0.0 App Browser

Post by richmond62 » Mon Oct 05, 2015 10:21 pm

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.

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

Re: LiveCode 8.0.0 App Browser

Post by Mark » Mon Oct 05, 2015 10:29 pm

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
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/livecodebook

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5466
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: LiveCode 8.0.0 App Browser

Post by FourthWorld » Mon Oct 05, 2015 11:39 pm

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?
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Klaus
Posts: 9619
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: LiveCode 8.0.0 App Browser

Post by Klaus » Tue Oct 06, 2015 5:38 pm

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!

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1970
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria
Contact:

Re: LiveCode 8.0.0 App Browser

Post by richmond62 » Tue Oct 06, 2015 7:08 pm

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.
Attachments
IDE_8_Hacks.zip
Both hacks are in here.
(5.08 KiB) Downloaded 102 times

livecodeali
Livecode Staff Member
Livecode Staff Member
Posts: 128
Joined: Thu Apr 18, 2013 2:48 pm

Re: LiveCode 8.0.0 App Browser

Post by livecodeali » Wed Oct 07, 2015 6:07 pm

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.

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

Re: LiveCode 8.0.0 App Browser

Post by Mark » Wed Oct 07, 2015 6:40 pm

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
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/livecodebook

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1970
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria
Contact:

Re: LiveCode 8.0.0 App Browser

Post by richmond62 » Wed Oct 07, 2015 6:49 pm

Well, I never really 'went' for the Project Browser: and, what is it anyway? A sort of rehash of the
Application Browser?

SparkOut
Posts: 1643
Joined: Sun Sep 23, 2007 4:58 pm

Re: LiveCode 8.0.0 App Browser

Post by SparkOut » Wed Oct 07, 2015 6:54 pm

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.

Post Reply

Return to “Feature Requests”