KeyShot Forum

Technical discussions => Extending KeyShot => Scripting => Topic started by: mikekhogan on May 09, 2017, 02:20:09 AM

Title: Importing KSP without dialog box
Post by: mikekhogan on May 09, 2017, 02:20:09 AM
Hi all,

When I use lux.importFile or lux.openFile to open a KSP, it pops up a dialog box:
"Copy files to content folder or keep them in a single folder"?
I wish to select copy files, but I need to do this thousands of times without having to click the dialog box every time. Is there some way to set options such that "copy files" is selected by default?

Thanks a lot.
Title: Re: Importing KSP without dialog box
Post by: mikekhogan on June 02, 2017, 05:49:12 AM
Just an update - I used Dialogdevil http://www.dialogdevil.com/index.php to automate this
Title: Re: Importing KSP without dialog box
Post by: mattjgerard on June 02, 2017, 06:08:55 AM
thanks for posting your solution. that doesn't happen often enough!