Forum

Author Topic: Hotkey form custom tool  (Read 1728 times)

Yoann Courtois

  • Sr. Member
  • ****
  • Posts: 316
  • Engineer in Geodesy, Cartography and Surveying
    • View Profile
Hotkey form custom tool
« on: January 15, 2018, 04:46:38 PM »
Hello !

For some times we are developing several homemade tools in order to make our job easier.
Moreover, must of them are now shared on all colleagues computer and automatically read at PhotoScan start.

Nevetheless, it looks there is impossible to affect (and keep) a hotkey for custom tools. Indeed, the hotkey isn't save after software restart.

Somebody may help ?

Regards
--
Yoann COURTOIS
R&D Engineer in photogrammetric process and mobile application
Lyon, FRANCE
--

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Hotkey form custom tool
« Reply #1 on: January 15, 2018, 05:20:49 PM »
Hello Yoann,

If you are speaking about the custom menu items created by the scripts, then you can assign the hot-keys for them in the script body, using "shortcut" argument in the addMenuItem() function, although, they couldn't be re-assigned by the user.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Yoann Courtois

  • Sr. Member
  • ****
  • Posts: 316
  • Engineer in Geodesy, Cartography and Surveying
    • View Profile
Re: Hotkey form custom tool
« Reply #2 on: January 15, 2018, 05:30:02 PM »
Perfect, it works as wanted ! Thank you !

I'm waiting for your answer about my point-export homemade tool (private inbox), mostly about "ruler tool" access and custom *.xyz export.

Regards
--
Yoann COURTOIS
R&D Engineer in photogrammetric process and mobile application
Lyon, FRANCE
--