photools.com Community

IMatch Discussion Boards => IMatch Scripting and Apps => Topic started by: ubacher on May 28, 2021, 08:12:17 PM

Title: How to determine in which app panel an app should run
Post by: ubacher on May 28, 2021, 08:12:17 PM
I could not find any info on how to specify in which of the 4 app panels an app should run.
Or is this not possible?

Title: Re: How to determine in which app panel an app should run
Post by: Mario on May 28, 2021, 08:18:10 PM
From the help:

QuoteTo run an app, left-click the icon. The App Manager runs the app in the active App Panel unless the app specifies otherwise. If no App Panel is currently open, the App Manager automatically opens one. Some apps run in a separate window.
Title: Re: How to determine in which app panel an app should run
Post by: thrinn on May 28, 2021, 09:48:56 PM
Or, if you start an App from the Favorites Panel, you can configure it in the properties of the Favorite.
Title: Re: How to determine in which app panel an app should run
Post by: Mario on May 28, 2021, 10:36:24 PM
Damn, that's smart  8)
I really did forget about that. Jeez, IMatch is huuge.
Title: Re: How to determine in which app panel an app should run
Post by: ubacher on May 29, 2021, 07:26:49 AM
Quote....The App Manager runs the app in the active App Panel unless the app specifies otherwise.....

This is exactly where my question comes from: How does the app specify which panel?

I find that app panels which have no app associated with it can not be opened.

The way via favorites will allow me to specify - thanks thrinn.
Title: Re: How to determine in which app panel an app should run
Post by: Mario on May 29, 2021, 08:36:08 AM
The app cannot specify a specific panel. It can only tell that it uses a separate window or that it runs in an app panel.
The App Manager decides which panel. Or the user, who first opens a panel and makes it active and then starts the app. Or just picks the app from the list of apps at the top of the panel.
Title: Re: How to determine in which app panel an app should run
Post by: Jingo on May 29, 2021, 01:50:01 PM
Quote from: Mario on May 29, 2021, 08:36:08 AM
The app cannot specify a specific panel. It can only tell that it uses a separate window or that it runs in an app panel.
The App Manager decides which panel. Or the user, who first opens a panel and makes it active and then starts the app. Or just picks the app from the list of apps at the top of the panel.

Believe you can also us the IMatch.appRun function to specify a specific app window target - one of the parameters allows for the specific app window (1-4).   8) 8)
Title: Re: How to determine in which app panel an app should run
Post by: ubacher on May 29, 2021, 02:43:21 PM
Quote...... use the IMatch.appRun function to specify a specific app window target

I guess this capability was never implemented in the app manager and app.json file.
Title: Re: How to determine in which app panel an app should run
Post by: Jingo on May 29, 2021, 07:50:20 PM
No... only via favorites or programmatically within the app itself.  Of course, you can always run apps as modals which creates NEW panels so it won't mess with the standard app panels at all.
Title: Re: How to determine in which app panel an app should run
Post by: sinus on May 30, 2021, 04:40:37 PM
Quote from: thrinn on May 28, 2021, 09:48:56 PM
Or, if you start an App from the Favorites Panel, you can configure it in the properties of the Favorite.

Haa, cool, thanks thrinn, very good!

And thanks, ubacher, that you brought this up, because I had troubles with this also since a long time.

Solved now!  :)
Title: Re: How to determine in which app panel an app should run
Post by: sinus on December 07, 2021, 05:22:14 PM
Quote from: thrinn on May 28, 2021, 09:48:56 PM
Or, if you start an App from the Favorites Panel, you can configure it in the properties of the Favorite.

thrinn, cool, super.

I knew, that you posted a solution for this. Hence I search in the help ... no look, I am sure, it is there, but I found it not.

Then I searched with the "advanced search" here, for thrinn and app.

Wow, I found it soon and it works perfectly (to determine an app in what panel). Thanks again.  :)