App Panels and App Names

Started by JohnZeman, January 25, 2018, 09:32:48 PM

Previous topic - Next topic

JohnZeman

I like to group my apps so to speak, meaning I like to open apps that perform similar functions into the same app panel.

For example I have one called Photo Processing which performs specific functions whenever I add new photos to my database.  And when I'm done with that app, I always want to open another app in the same panel which moves the new files to the appropriate folder.  I do this by creating a simple html link (button) to the second app and it works great.  I just click the Go to App2 button and App 2 is loaded into the same app panel.

The only issue is, and admittedly it's a minor one, when I do this the name of the app at the top of the app panel still shows the original App1 name instead of the just loaded into the panel App2 name (see attachment).  Refreshing the app panel does not change the name.

Is this to be expected or can it be changed?

Mario

The App Panel shows the name of the loaded app.

If you load another app, web site or local HTML file into the embedded Chromium, IMatch has no knowledge about this.
Did you try to use the runapp endpoint to run your other app, instead of a plain link?
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

JohnZeman

No I haven't tried the runapp endpoint.  In fact it only recently occurred to be that I could group my apps by using simple html links so that's the way I went.

I'll have to look into that run app endpoint, thanks Mario.

Mario

imatch/apps/run should to what you want (there is also an example app for this). It allows you to run an app in a specified app panel or a modal.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

JohnZeman

Thanks Mario, I'm looking for that sample app right now.

JohnZeman

Problem solved! :) :) :) :) :)

Found what I needed in the imatchlib.js file and now when I switch from one app to another within an app panel the name at the top shows the name of the app currently loaded.

Many thanks Mario, you da man!

Mario

-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook