App Recently used

Started by sinus, September 15, 2017, 11:41:07 AM

Previous topic - Next topic

sinus

Hallo Mario
Your app "recently used" is cool and I try to use it now.  :D

Two things I spotted:

1) see attachement, vertical-formats (Hochformat) are somehow "rammed", you will see it on my attachement. I do not know, is this a glitch.

2) The second thing is only a general remark: it is impressing, how quickly a new selected thumb comes into this list.
Nevertheless, so quickly, if I only switch e.g. from "Media-folder" to "collections", and the focus is then randomly on an image, this will go also in the list. Would it make sense to take only images in this list, where the focus is a bit longer, say 1 second or so? Just a remark, nothing important.
It makes fun to work with this.  :D (I have just really explored this app).
Best wishes from Switzerland! :-)
Markus

kirk

Is  "app" what was "script" before?   just a new cool name? 

sinus

I am not sure, but I think, App stays for "Application".

Almost every smartphone runs nowadays this and that App.

But to explain really the difference between script and App I am the wrong man, because I am not that knowledged.  8)
Best wishes from Switzerland! :-)
Markus

kirk

Well, apps in phones are just programs. I think we may call the whole iMatch a pc App.   I am just trying to figure out if App is where I could insert older "scripts"  somehow and what was "script manager" before?   Can't find it now.


ps. oh, looks like you answered this question in other thread. Thanks

Mario

The way IMatch can be programmed as evolved beyond simple scripts. An IMatch 2017 script (app) can have it's own user interface, resources etc. It can run outside of IMatch, in a web browser as  a separate executable using JavaScript technologies like Node or Electron. IMatch apps can be written in Python, Windows PowerShell, .NET,Java, Go etc.

The App Manager Panel has replaced the Script Manager Panel.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Mario

#5
Quote from: sinus on September 15, 2017, 11:41:07 AM
Nevertheless, so quickly, if I only switch e.g. from "Media-folder" to "collections", and the focus is then randomly on an image, this will go also in the list. Would it make sense to take only images in this list, where the focus is a bit longer, say 1 second or so? Just a remark, nothing important.

Almost everything is possible with apps. This app just monitors file window events and when the event "selection changed / focus changed" is received, it updates the list and thumbnails in the panel window. This event is triggered under many circumstances, e.g. switching to another file window.

In this case the last selected file is automatically reactivated, the panels (Metadata, Keywords, Quick View etc.) are updated with the now focused image. And this of course also is recorded in the recently used app. I don't see this as a problem because, by definition, you have 'used' that file.

Of course we could add a delay (I think there is already a short bouncer) but even if we set this to 3 seconds, the result would probably not change. Unless you switch to another file window and then, within 3 seconds, focus another file...

The main purpose of this app is to show how to monitor file window events, how to load and resize thumbnails and how to do small animations with the thumbnails.
Feel free to clone the app and change it to your liking.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

sinus

Thanks, Mario

no problem about the instantly take the focussed file in the list. Shows how fast IMatch is  :D

But I think, the squeezed (verzerrt) thumb is a small glitch, I will try, if I can solve this. (point 1 of my starting thread).

Best wishes from Switzerland! :-)
Markus

Mario

I just made them square. I did not bother to keep the aspect ratio, because this requires a lot of CSS rules and stuff and that would make the sample harder to understand. I may revisit this at some later time. Please file a bug report.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Mario

I have updated the CSS to ensure that the images are properly scaled.
If you need this urgently, just replace the existing styles at the end of app.css with


.grid-thumb {
    display:block;
    width:auto;
    height: auto;
    margin-left:auto;
    margin-right:auto;
}

.grid-thumb-xs {
    max-width: 40px;
    max-height: 60px;
}

.grid-thumb-sm {
    max-width: 60px;
    max-height: 60px;
}

.grid-thumb-md {
    max-width: 80px;
    max-height: 80px;
}

.grid-thumb-lg {
    max-width: 100px;
    max-height: 100px;
}

.grid-thumb-xl {
    max-width: 120px;
    max-height: 120px;
}

.grid-thumb-xxl {
    max-width: 160px;
    max-height: 160px;
}




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

sinus

Just wanted prepare a FR... then I have read your comment here and the release notes.  ;)

You solved my FR before I have even written it! ;D Almost world record  8)
Best wishes from Switzerland! :-)
Markus