photools.com Community

IMatch Discussion Boards => IMatch Scripting and Apps => Topic started by: nordkapp on October 18, 2018, 11:17:59 PM

Title: Is it possible to goto a folder or category via scripting?
Post by: nordkapp on October 18, 2018, 11:17:59 PM
Is it possible to jump to a folder or to a category just before the script ends?

I have written an app that creates a category. After assigning the images to that category i would like IMatch to go to that category.

And I have an other app in mind, where I like to do the same with folders i.e. goto a selected folder after executing the app.

Thanks,
Ralph
Title: Re: Is it possible to goto a folder or category via scripting?
Post by: Mario on October 18, 2018, 11:27:32 PM
I recommend using the gotoFolder or gotoCategory methods available in the IMatch Wrapper class. Or the corresponding v1/imatch/goto/folder or v1/imatch/goto/category endpoints. Did you look a the documentation of IMWS yet? This is documented.
Title: Re: Is it possible to goto a folder or category via scripting?
Post by: nordkapp on October 19, 2018, 08:33:47 AM
Thanks Mario for the quick reply. I looked at the documentation but it seems I searched with the wrong words.

I am still struggling with all the different "concepts" or languages. Where to look for a special question i.e. webservice, method, javascript, JSON, html, css, ...

And I used IMatch the past years only in my used way. Mainly using categories and some vb scripts. There I have to learn also very much. But it starts to make fun
Title: Re: Is it possible to goto a folder or category via scripting?
Post by: Mario on October 19, 2018, 09:11:58 AM
The IMatch JavaScript wrapper class is documented here:

https://www.photools.com/dev-center/doc/imatch/IMatch.html