Author Topic: How to get the current file displayed in viewer via script  (Read 2795 times)

ubacher

  • Oldtimer
  • ****
  • Posts: 2297
How to get the current file displayed in viewer via script
« on: October 29, 2013, 09:27:50 PM »
In the viewer window I can start a script from the Favorites panel.
But how can I get the currently displayed file?  The code which works in the F&M window
does not work.
Help much appreciated.

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 29382
Re: How to get the current file displayed in viewer via script
« Reply #1 on: October 29, 2013, 11:03:24 PM »
There are currently no scripting methods which access the viewer.

ubacher

  • Oldtimer
  • ****
  • Posts: 2297
Re: How to get the current file displayed in viewer via script
« Reply #2 on: October 30, 2013, 07:57:28 AM »
Can I find out if the script was called from the viewer so that I can disable it in that case?

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 29382
Re: How to get the current file displayed in viewer via script
« Reply #3 on: October 30, 2013, 08:57:06 AM »
No. IMatch does not track from "where" a script was called.