Home Image-Pro Automation (Macros, Apps, Reports)

PATH to CAMERA ICQ FILES in IMAGE-PRO (PREMIER / 10) . . .

2018-08-06-175227

All --

Is there a mechanism within the WORKBENCH which will return the PATH that is used by IMAGE-PRO for ICQ FILES?

One example of this PATH is:

    C:\Users\Matt\Documents\Image-Pro Premier 3D 64-bit\9.3\Configuration Files

but this will change per USER and per VERSION.

Is there CODE that will return the PATH for the CURRENT USER and the CURRENT VERSION?

I have poked at

    THISAPPLICATION

but I did not find the NAMESPACE that yields the PATH that I am looking for.

Will you please assist?

Thanks.

-- Matt


Best Answer

  • Answer ✓
    Matt,

    You can get path to Configuration Files folder using this line:

    ThisApplication.Path(mcPathType.mcptConfigurationFiles)

    Yuri

Answers

  • Matt,

    The default, persistable SpatialCalibrations.icq file is located in the Configuration Files folder.

    You may have other ICQ files in any location on the computer, but they will not be loaded automatically.

    Yuri

  • 2018-08-07-100140

    Yuri --

    Thank you for your message.

    Is there CODE that will return the FULL PATH to the CONFIGURATION FILES FOLDER?

    I would like my APP to be able to adjust with the USER and with the version of IMAGE-PRO (PREMIER / 10) which is being used.

    Thanks.

    -- Matt

  • 2018-08-07-142328

    Yuri --

    That is super.

    Thanks.

    -- Matt

Sign In or Register to comment.