Script Error

Next
 From:  Sharif (SR13765)
6103.1 
Hi I am trying to use "AssignPresetName" script with current MOI Beta 3. MOI stops working when I use this script. I have modified the path in the "AssignPresetNameDialog.htm" to the default moi installation directory. Does this script works with MOI Version Beta 3?

Thanks
-sharif

Image Attachments:
Size: 33.2 KB, Downloaded: 15 times, Dimensions: 491x420px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
6103.2 In reply to 6103.1 
Hi Sharif, that version does not work with v3 because it uses a JScript.dll specific mechanism in it (the new ActiveXObject part).

I thin the newest one is this version here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=3830.59

In that version edit line number 58 in the .htm file to have the full path to the PresetNames.txt file, so it looks like this:

var filename = 'c:\\Program Files (x86)\\MoI 3.0 beta Aug-1-2013\\commands\\PresetNames.txt';


Then that should work I think.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Sharif (SR13765)
6103.3 In reply to 6103.2 
Thank you! it is working
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All