Author Topic: APP WISH LIST (Ask here if you are looking for a specific App)  (Read 6679 times)

Jingo

  • Super Hero
  • ****
  • Posts: 1972
Howdy!  Let's start a thread with scripts that the community would like to see created.  This will be a nice way to keep the requests together so Mario and other script developers can have a resource to assist others and build their own skills on items requested by the community.

I will try to keep this opening thread up to date with the script requests and their open/closed status.  If someone would like to tackle a certain script, please post a response (or PM me) and I'll add your username next to the script so others know it is being worked on and can choose another to program.

I'm happy to also keep an open Google Doc with this information for anyone that finds that easier.  That might make a good IM2017 script in itself!  ;D

Enjoy!! - Andy.


Script Name  Description  Requested byDate of RequestProgrammed by  Completed on  Link to Script 
John Zeman's "Ultimate Description Writer"Write Clipboard Contents to Desc of single/multiple selected images. Include ability to Replace, Pre-pend or AppendDigPeter07.06.2017Jingo-Andy//John Zeman07.09.2017https://www.photools.com/community/index.php?action=dlattach;topic=6872.0;attach=16138
Geodata Coordinate ConverterConversion of Lat/Long Geodata to other types of coordinates - UTM, British National Grid, etcDigPeter07.06.2017Jingo-Andy07.08.2017https://www.photools.com/community/index.php?action=dlattach;topic=6870.0;attach=15565
Attribute Script CalculatorApp that will create calculations for event purchase per imageSinus07.07.2017Thrinn07.31.2017https://www.photools.com/community/index.php?action=dlattach;topic=6871.0;attach=15888
Attributes-Export to a printable sheetApp that will generate an invoice based upon image attributesSinus07.10.2017Thrinn
Incremental time stamperApp that will add incremental time stamp to a selection of fileshluxem07.10.2017Jingo-Andy07.16.2017https://www.photools.com/community/index.php?action=dlattach;topic=6886.0;attach=15683
Collapsible Metadata ViewerDisplay specific Metadata Information for the Selected ImageJohnZeman08.01.2017JohnZeman08.11.2017https://www.photools.com/community/index.php?action=dlattach;topic=7017.0;attach=15986
Music PlayerPlays Music Files right from IMatchAndy Grachuk08.05.2017JohnZeman08.06.2017https://www.photools.com/community/index.php?action=dlattach;topic=7001.0;attach=15934
« Last Edit: August 31, 2017, 01:39:29 PM by Jingo »

sinus

  • Global Moderator
  • *****
  • Posts: 4707
  • IMatch-User since 2001 (IMatch 3.6)
Re: APP WISH LIST (Aks here if you are looking for a specific App)
« Reply #1 on: July 06, 2017, 04:09:58 PM »
Hi Jingo

A very good thing, this list.
Thorsten did already create a small script:
https://www.photools.com/community/index.php?topic=6840.0

His text:
It is really barebone: An input form for two metadata tags, a save button.
The form data changes when the focused file changes. You can enter some data and press save.

Please be careful, there is no error checking or other types of safety belts. As simple as possible.


With this script I can work and add more fields.
Maybe Thorsten could answer, but I think, this small script we could also take on the list as solved ... or of course, it can be enhanced with some more field?!
Best wishes from Switzerland! :-)
Markus

sinus

  • Global Moderator
  • *****
  • Posts: 4707
  • IMatch-User since 2001 (IMatch 3.6)
Re: APP WISH LIST (Aks here if you are looking for a specific App)
« Reply #2 on: July 06, 2017, 04:38:27 PM »
What I would like is a script for Attributes.
Say, we have two Attributes-Sets and some fields:

Adress-set global:

Name
Company
City

Calculations-set per file:

Text
Amount
price for each
price for all
plus 8% tax (8% could be hardcoded or a flexible field)
total tax
total price

(in reality I have more fields like car-miles, expenses, delivered and so on, but with a sample script I think, I would be able to add more fields)


- The script should display the values of all Attributes-fields.
- If there is no Attribute-entry, it should add one automatically
- Then we should be able to enter some numbers into the fields and the script would calculate the result.

I add a screenshot, but not exactly with these fields, but you see, what I mean (the red rectangles).

This means, for receive the total, the script should calculate

Amount * price for each = price for all
price for all + 8% tax = total tax
price for all + total tax = total price


If I had such an example with these fields, I think (but I am not sure), I could all more fields on my own and do maybe even some more calculations.

I use such a script with many fields more to calculate the prize for a shooting, how many files I delivered, when, number of delivery and so on.
I am sure, it is very bad scripted from me, but it works great since years.  :)

I like it because I can click on an image, push the button and can see all calculations about this event.  :D
All other infos (map, metadata) I have anyway.
For each photosession I have a "Info-master", what holds all this infos in the attributes for an event, and the event is stacked.

Creating this script was hard, but it worked (I tried for example to add the focussed thumb into the window, this I could not do, I was not able, but finally it is not necessary).
And  :-[ I was also not able to do it right with Visual Basic, the calculations does only count, if I closed the window. Then I must open the script a second time and then all correct numbers are there.
But finally it works very good and helps me a lot.

With these attributes fields I create then a real bill with a, well, second script  8) what opens Word and put each Attributes - field in the correct place in Word, but this is another "script-story".

I think, at the moment I am at a loss with JS to create such a script.
To be honest, I do not think, that someone wants write such a script, I could simply not.
But since we have a list here ...  ;D :D

This script is the main-reason, why I cannot change now to IMatch 2017.
And the second reason is a script, what does export theses fields into word for a bill, but this I could solve maybe with export as csv or with another way.
« Last Edit: July 06, 2017, 04:41:50 PM by sinus »
Best wishes from Switzerland! :-)
Markus

Jingo

  • Super Hero
  • ****
  • Posts: 1972
Re: APP WISH LIST (Aks here if you are looking for a specific App)
« Reply #3 on: July 06, 2017, 05:26:03 PM »
Thx Markus - I think I understand what you are looking for... let me review, add it to the list and see what we can come up with this weekend.  Enjoy the day/night - Andy.

sinus

  • Global Moderator
  • *****
  • Posts: 4707
  • IMatch-User since 2001 (IMatch 3.6)
Re: APP WISH LIST (Aks here if you are looking for a specific App)
« Reply #4 on: July 06, 2017, 05:43:22 PM »
Thx Markus - I think I understand what you are looking for... let me review, add it to the list and see what we can come up with this weekend.  Enjoy the day/night - Andy.

Thanks, Andy, well it is 6 pm here, still to work for 2-3 hours ... have a nice day!
Best wishes from Switzerland! :-)
Markus

Jingo

  • Super Hero
  • ****
  • Posts: 1972
Re: APP WISH LIST (Aks here if you are looking for a specific App)
« Reply #5 on: July 07, 2017, 11:39:30 PM »
Hi Peter - just wanted to let you know that I have written the script to convert GPS coordinates to multiple formats... now, I just need to make it pretty (it currently output to the console).  So far, the app will read the database GPS coordinates from the selected image and display them to the user as: GPS coordinates, Degrees MM Secs, UTM and OSGB. 

On my to do list... MGRS and GARS conversions and then allowing a user to just enter coordinates in a form and have the system convert them on the fly.  I should have the app completed by tomorrow... so stay tuned!   8)

For what it is worth... Mario - an outstanding job on building the scripting/app creation part of the software.  Granted, I am a programmer by trade.. but just started working with JS and the IMatch endpoints today and already have a great feel of how to interact with the browser/console and app panel using just a simple text editor.  Having access to millions of lines of JS code as well as unlimited internet resources only enhances my enjoyment of working on these apps!  Truly..... Kudos!!!!


thrinn

  • Super Hero
  • ****
  • Posts: 1111
Re: APP WISH LIST (Aks here if you are looking for a specific App)
« Reply #6 on: July 08, 2017, 11:34:11 AM »
Quote
- The script should display the values of all Attributes-fields.
- If there is no Attribute-entry, it should add one automatically
- Then we should be able to enter some numbers into the fields and the script would calculate the result.
Hi Markus,
for my understanding some questions:

I assume there should also be a Save button to write the result of the calculation (and all fields that may have changed) back to your Calculation attribute set?

I understand that you have put your customer master data in the global Address attribute set. Now, do you need an Calculation record for an image linked to a specific customer? Because then there should be a reference field customer in your calculation attribute set. And we would have to deal with multiple attribute records per image (including the possibility to select a specific one for display in the App).

Is there only one Calculation record per image? How do you handle it if you sell an image to more than one customer? Or is the Calculation record somewhat temporary and can be overwritten when you sell the same image twice? Or to different customers?

If you also want to be able to change your customer master data in an app, there should be two different apps: One for the master data, one for the calculation. This is how regular business software for invoice management handles this usually. But I assume it is enough if the customer master data is only displayed in the calculation. Changing it (or adding customer records) can be done using the standard attribute functionality in IMatch, right?
Thorsten
Win 10 / 64, IMatch 2018, IMA

Jingo

  • Super Hero
  • ****
  • Posts: 1972
Re: APP WISH LIST (Aks here if you are looking for a specific App)
« Reply #7 on: July 08, 2017, 01:50:27 PM »
Hi Thorsten... are you thinking of giving Markus's app a shot?  If so, can I put you down on the chart?  Much appreciated! - Andy.

thrinn

  • Super Hero
  • ****
  • Posts: 1111
Re: APP WISH LIST (Ask here if you are looking for a specific App)
« Reply #8 on: July 08, 2017, 02:36:17 PM »
Hi Andy,
yes and yes - as time allows.
Thorsten
Win 10 / 64, IMatch 2018, IMA

Jingo

  • Super Hero
  • ****
  • Posts: 1972
Re: APP WISH LIST (Ask here if you are looking for a specific App)
« Reply #9 on: July 08, 2017, 04:07:18 PM »
Done.. and thx!

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 31554
Re: APP WISH LIST (Ask here if you are looking for a specific App)
« Reply #10 on: July 08, 2017, 04:22:59 PM »
Maybe it would be better to create a new thread for each app request or at least an per-app discussion thread.
Otherwise we'll loose track about who's commenting on what... :o

Jingo

  • Super Hero
  • ****
  • Posts: 1972
Re: APP WISH LIST (Ask here if you are looking for a specific App)
« Reply #11 on: July 08, 2017, 05:29:24 PM »
Maybe it would be better to create a new thread for each app request or at least an per-app discussion thread.
Otherwise we'll loose track about who's commenting on what... :o

I agree Mario... we'll use this thread just to track the requests and a unique thread for each app request.

By the way... the Geo Coordinate app is now Complete... my first APP!!!  I'll create a new thread for it so it can be reviewed, discussed, the code picked apart ( :P) in its own thread.


Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 31554
Re: APP WISH LIST (Ask here if you are looking for a specific App)
« Reply #12 on: July 08, 2017, 06:17:15 PM »
By the way... the Geo Coordinate app is now Complete... my first APP!!!

Yay!    

sinus

  • Global Moderator
  • *****
  • Posts: 4707
  • IMatch-User since 2001 (IMatch 3.6)
Re: APP WISH LIST (Aks here if you are looking for a specific App)
« Reply #13 on: July 08, 2017, 06:18:43 PM »
Quote
- The script should display the values of all Attributes-fields.
- If there is no Attribute-entry, it should add one automatically
- Then we should be able to enter some numbers into the fields and the script would calculate the result.
Hi Markus,
for my understanding some questions:

I assume there should also be a Save button to write the result of the calculation (and all fields that may have changed) back to your Calculation attribute set?

Hi Thorsten
Yes, that would be cool.

I understand that you have put your customer master data in the global Address attribute set. Now, do you need an Calculation record for an image linked to a specific customer? Because then there should be a reference field customer in your calculation attribute set.

Phew, I see, you are very experienced. I envy you.  8)
Yes, I have a global set for adresses.
Then I have a set for files. In this set is also a reference field for an adress-field of the global set (the name).
 
And we would have to deal with multiple attribute records per image (including the possibility to select a specific one for display in the App).
In my case I have only one attribute-record for an image.
Hm, I try to explain this at the end of this posting.

Is there only one Calculation record per image? How do you handle it if you sell an image to more than one customer? Or is the Calculation record somewhat temporary and can be overwritten when you sell the same image twice? Or to different customers?
Yes, there is only one calculation per image. I can (normaly) not sell such an image a second time.
In my case one sell-calculation for one customer would be enough good. Of course, the possibility for more than one sell for more then one customer would be very nice, but in my case it would not be necessary (for photographer with selling to stocks agencys your idea would be of course great).

If you also want to be able to change your customer master data in an app, there should be two different apps: One for the master data, one for the calculation. This is how regular business software for invoice management handles this usually. But I assume it is enough if the customer master data is only displayed in the calculation. Changing it (or adding customer records) can be done using the standard attribute functionality in IMatch, right?

To be he honest, you do know much more then me. My "idea" putting some calculations into a "info-master-image" came alone from me, I do not know, how regular business software does this handle.

I attache the window, what I have now with VB. But do not be shocked,  :-[  it is not very nice designed and has also too many fields .... bit it works.
And as I pointed out, I guess, if I have one working example with not that many fields, I think, I would be able to add more fields.

I have  made the important fields red.

1) The window, when I the first time let run the script

Number 1: fields (boolean), if this is for billing or already billed
Number 2: The adress-fields from the address-set
Number 3: The calculation
Number 4: Textfield
Number 5: Date and number fields

The second attachement
, I write now some numbers and text in the calculations-field (and the text-field)
As you can see the Total will not be calculated immadiataly, simply because I was not able to do it in Visual Basic.  :-\ :-[


Attachement 3
Hence I close the window and let run the script a second time.

Now you can see, the calculations are made and these values are written into the attributes.

If I want now change something, I can do it now. Every time. But I have then always to close the script and open again, that the calculations does take in place. Of course it would be better, if I change something, that the calculations would be immediately viewable, but it is not that important.

Attachement4

If I close the script, the amount of total (without tax and expenses) are displayed under the image.
And the icon (a thick pencil) shows me, that this image should be billed. (This icon changes, if I change later the boolean of number 1 (first attachement)

On this way I can quickly see, how much money an event (or an image) gives and can see, if it is billed already or not.
And I can change the numbers or text every time, for this I have to let run the script again.

These values are now in the attributes - fields and it is only left to "transferring" these values into an ecxel or word, but this is another story. And I think, this can be done by an export (csv) or something else.


Thorsten, sorry for the mess here, but I hope, you understand what I mean.
Thanks a lot for thinking about it.

BTW: of course your idea or srcript could be completely designed in another way, I showed here only, like I have it now and this works fine at least.





















« Last Edit: July 08, 2017, 06:21:03 PM by sinus »
Best wishes from Switzerland! :-)
Markus

sinus

  • Global Moderator
  • *****
  • Posts: 4707
  • IMatch-User since 2001 (IMatch 3.6)
Re: APP WISH LIST (Ask here if you are looking for a specific App)
« Reply #14 on: July 08, 2017, 06:21:26 PM »
By the way... the Geo Coordinate app is now Complete... my first APP!!!

Yay!    

Congratulations too!!!  :D
Best wishes from Switzerland! :-)
Markus

Jingo

  • Super Hero
  • ****
  • Posts: 1972
Re: APP WISH LIST (Ask here if you are looking for a specific App)
« Reply #15 on: July 08, 2017, 07:49:10 PM »
All App requests and discussion points have now been moved to their own threads.. please use those threads to keep the discussion going and reserve this thread for only updates to the ongoing app requests.

As always, if you think of an app you would like, please create a new thread using the template from one of the other request threads and PM me so I can update this thread... happy app'ing!

DigPeter

  • Super Hero
  • ****
  • Posts: 1282
Re: APP WISH LIST (Ask here if you are looking for a specific App)
« Reply #16 on: July 23, 2017, 12:10:05 PM »
@Jingo.
I am now ready to try your Coord Conversion and Caption apps.   What folder(s) should the various files go into?

Jingo

  • Super Hero
  • ****
  • Posts: 1972
Re: APP WISH LIST (Ask here if you are looking for a specific App)
« Reply #17 on: July 23, 2017, 02:38:53 PM »
Thx DigPeter... the instructions should be in each detailed app request thread but user apps should be placed in your C:\ProgramData\photools.com\imatch6\webroot\user  folder.  So, just unzip the whole app folder in there and then IMatch will refresh the app panel with the new apps showing at the bottom.

Please let me know if you run into any difficulties!!  It might take me a few days to respond as I will be "out of the office" next week.  Enjoy!

DigPeter

  • Super Hero
  • ****
  • Posts: 1282
Re: APP WISH LIST (Ask here if you are looking for a specific App)
« Reply #18 on: July 23, 2017, 05:50:41 PM »
Thanks Jingo.  That is magic.   I will play around for a bit with both apps and let you know the results in due course.

Jingo

  • Super Hero
  • ****
  • Posts: 1972
Re: APP WISH LIST (Ask here if you are looking for a specific App)
« Reply #19 on: July 23, 2017, 06:42:59 PM »
Sure thing.. if you do find an issue or a feature request, please update the specific request string so we can keep it all together in that thread.  Thx and Enjoy!

unterwasserfoto_at

  • Full Member
  • **
  • Posts: 120
Re: APP WISH LIST (Ask here if you are looking for a specific App)
« Reply #20 on: October 30, 2018, 12:17:53 AM »
die ZIP-Datein sind leider fast alle fehlerhaft?!?
Berufsfotograf in Österreich.
HW: Nikon D5, Nikon Coolscan 5000, Subal Unterwassergehäuse, DJI Phantom
SW Photoshop CS4, Adobe Bridge, IMatch6

unterwasserfoto_at

  • Full Member
  • **
  • Posts: 120
Re: APP WISH LIST (Ask here if you are looking for a specific App)
« Reply #21 on: October 30, 2018, 12:24:16 AM »
Hello

I am looking for an app that writes in an attribute field all assigned categories of an image. However, only those categories below a root category eg My_Cat.

Best
Tom
Berufsfotograf in Österreich.
HW: Nikon D5, Nikon Coolscan 5000, Subal Unterwassergehäuse, DJI Phantom
SW Photoshop CS4, Adobe Bridge, IMatch6

Jingo

  • Super Hero
  • ****
  • Posts: 1972
Re: APP WISH LIST (Ask here if you are looking for a specific App)
« Reply #22 on: October 30, 2018, 01:12:48 PM »
Hmm.. this shouldn't be too difficult to create (there might even be one out there).  So, you are saying you have a category tree like this:
  Animals
    --> Dogs
       -->Boxer
       -->Shepard
    --> Cats
       -->Short-haired
       -->Tabby

If you supplied the app with the top category of "Animals", then you would want all the subcategories (Dogs, Boxer, Shepard, Cats, Short-haired, Tabby) to be written to a provided attribute field?

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 31554
Re: APP WISH LIST (Ask here if you are looking for a specific App)
« Reply #23 on: October 30, 2018, 02:35:31 PM »
Could this not be done directly with the Attribute Importer App?

The Attribute Importer App allows you to import metadata or other data into Attributes. The source is specified by a variable.

Example: If you assign an image to the category "Animals|Dogs|Shepard" and "Animals|Cats|Short-haired", the variable:

{File.Categories|filter :^Animals}

Returns Animals|Cats|Short-haired;Animals|Dogs|Shepard

The variable returns all categories assigned to the file in a list separated by ;
We use a filter to filter out all categories not starting with Animals on the top-level.

If you use this variable with the Attribute Importer App you can copy the categories into a text Attribute (in the example below, the Description Attribute in the Notes Set):



This works for one file or many, depending on how many files you have selected when you run the Attribute Importer App.

Jingo

  • Super Hero
  • ****
  • Posts: 1972
Re: APP WISH LIST (Ask here if you are looking for a specific App)
« Reply #24 on: October 30, 2018, 03:39:16 PM »
See.. I thought so!   8)

unterwasserfoto_at

  • Full Member
  • **
  • Posts: 120
Re: APP WISH LIST (Ask here if you are looking for a specific App)
« Reply #25 on: October 31, 2018, 12:02:54 AM »
Thx, thats fine
I wanted the script as an aid to my further task.
so I post the more detailed task of my desired script in the next post now
Berufsfotograf in Österreich.
HW: Nikon D5, Nikon Coolscan 5000, Subal Unterwassergehäuse, DJI Phantom
SW Photoshop CS4, Adobe Bridge, IMatch6

unterwasserfoto_at

  • Full Member
  • **
  • Posts: 120
Re: APP WISH LIST (Ask here if you are looking for a specific App)
« Reply #26 on: October 31, 2018, 04:54:39 PM »
The filter is sparking, but it looks a little different with me. I need all categories below this root category. So without the ^

Now I just want the subcategories. So without the complete (category) path.

In the further look then all Wöter in the category with me with a hyphen "-" separated. How do i get that separated with a semicolon ";"

As a second step, words behind the "*" are supposed to be in a different field.

that's what matters with {File.Categories|filter:_Menschen}
My_Kat|[3 WAS]|_Menschen|Mensch - Menschen - Leute - Person - Personen * people - human - humans

That's the way it should look
Attributs_de:Mensch; Menschen; Leute; Person; Personen;
Attributs_en:people; human; humans;
Berufsfotograf in Österreich.
HW: Nikon D5, Nikon Coolscan 5000, Subal Unterwassergehäuse, DJI Phantom
SW Photoshop CS4, Adobe Bridge, IMatch6

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 31554
Re: APP WISH LIST (Ask here if you are looking for a specific App)
« Reply #27 on: October 31, 2018, 06:25:49 PM »
The ^ means "starting with". See Regular Expressions

I don't think that all the features for which you had written a purpose-built app previously can be managed by a simple variable. For your very peculiar workflow a custom-made app is probably the only thing that can do everything you require.

Such complex workflow requirements are usually only met in corporate or commercial environments. And there it is easy to setup a project, define the requirements, hire the programmers to do the job. The IMWS running in IMatch is fully documented and apps or scripts can be written in all popular programming languages, from JavaScript to Python. Even Windows PowerShell or Visual Basic.

unterwasserfoto_at

  • Full Member
  • **
  • Posts: 120
Re: APP WISH LIST (Ask here if you are looking for a specific App)
« Reply #28 on: November 01, 2018, 01:09:59 AM »
Thanks Mario
Too bad that there is no way to implement this in the IMatch with the integrated functions.
Now the question is if there is someone who would program this function. That's why here in the wish list.
Due to the great features of IMatch, my workflow is almost complete. Except for converting the categories into individual words into a field of metadata or attributes
Source: train - trains - railway
Destination: train; Trains; railroad

I checked it affects over 7,000 categories. To lead these all into a thesaurus is too much.

I think all other functions can be realized with IMatch.

Greetings Tom
Berufsfotograf in Österreich.
HW: Nikon D5, Nikon Coolscan 5000, Subal Unterwassergehäuse, DJI Phantom
SW Photoshop CS4, Adobe Bridge, IMatch6