News:

 

Topic: Some request  (Read 4052 times)

0 Members and 1 Guest are viewing this topic.

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
December 30, 2014, 02:41:31 pm
Hallo IStonia,
I make apllink that will connect NVil, MoI and KeyShot using AHK scripts.
Have one question, now everytime when I import in NVil using - Import Scene if there is geometry in NVil pops up this window - "Do you want to change file name from...to..."
Could you pleas make this window appears immediately after you press Enter in Open dialog?
I need it to automatically send to NVil "n" to press NO. Now this window appears only after geometry is loaded so I can not see any way to trace its appearing to handle it...And user must always click yes/no in this window and this is absolutely unnecessary step when you using my script. Because you click button only once in MoI and all other stuff make script.
And also have NVil any API?

PS
Frankly speaking I use NVil about year and nether press Yes in this window may be there is reason to remove it all? In all other apps that I used there is no such window. But I do not may be I am wrong and somebody use it.

Portfolio: www.samardac.com

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
December 30, 2014, 09:47:41 pm
There is no API in NVil.

Try this. The popup will not show up in clipboard operation.
http://www.digitalfossils.com/Download/NVil-Dec-31a-14.rar

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
December 31, 2014, 07:55:23 am
Hi IStonia,
I can not use Clipboard operation because it has no default shortcuts.
Open and Open Scene has those shortcuts Ctrl+O and Ctrl+Shift+O, and practicaly everybody has these shortcuts untouched, so my plugin will work in most users.
I could run Clipboard command on every machine through Menu... But I can not open menu using AHK because Menu in NVil do not support ALT to open like in many Windows softwares.
My script generate shortcut for example Ctrl+O and then handle Open dialog telling him what file to open etc.
Clipboard is great function because it has no any dialogs, but I do not no how to make it trigger on different NVil setups.
May be you have some suggestion, if no, could you pleas make this window - "Do you want to change file name from...to..." make appears before geometry begin to load in NVil just after you press Enter in Open Dialog.
« Last Edit: December 31, 2014, 08:01:18 am by samardac »
Portfolio: www.samardac.com

  • No avatar
  • Posts: 232
  • Spline
December 31, 2014, 09:01:33 am
Couldn't you simply use another hotkey combo? What you do is no Open action anyway but clipboard copy / paste. I use Ctrl+Shift+C and Ctrl+Shift+V to exchange with three different programs which in some apps are the hotkeys for copy/paste "special", which seems a good fit.

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
December 31, 2014, 09:44:56 am
polyxo,
Yep but I for example in NVil for clipboard use F5 and F6. Somebody may not even set shortcut for this... So if this person install my plugin it will not work. And to work I have to ask people to set their clipboard commands to defined shortcuts by my plugin or make settings in my plugin where people will set their clipboard shortcuts... This is long story, not good solution.
I practically solve all problems, but with that window that I asked will be perfect.
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
January 01, 2015, 09:05:48 pm
IStonia, Thank you.
Portfolio: www.samardac.com