add elements to an object
 1-3  …  24-43  44-63  64-66

Previous
Next
 From:  Scooter (DORMANTVISION)
3830.64 In reply to 3830.8 
I'm having trouble getting the "AssignPresetName" script to work in the release version of MOI 3.0

I've tried all of the suggestion Michael presented.
Here is the error that I encounter.


I keep getting the error about line 58, which is

var env = wsh.Environment( 'PROCESS' );

I've changed line 61 to be the correct MOI 3.0 install path.
I even tried changing line 59, as I have a 64 bit machine which has a "Program Files x86" directory for 32 bit apps.
Is anyone else having problems with this, or perhaps have any suggestions?

Thanks

Scott
Attachments:

  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
3830.65 In reply to 3830.64 
Hi Scott, re: AssignPresetName not working - it's probably due to security mechanisms in newer versions of Windows that prevent programs from accessing some system scripting components by default.

I have just now posted an updated version of the script that should now work ok with v3 and doesn't use that particular method anymore, you can get it from the original post here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=3830.8

Please give that _v3 one a try and see if it works ok for you now.

- 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:  Scooter (DORMANTVISION)
3830.66 In reply to 3830.65 
Hi Michael. Yes that worked for me.
Thank you!

Scott
  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

 

 
 
Show messages:  1-3  4-23  24-43  44-63  64-66