CustomUI
 1-20  21-40  41-60  61-80  …  521-522

Previous
Next
 From:  Max Smirnov (SMIRNOV)
6507.21 In reply to 6507.18 
BurrMan,
it's very strange. I use MoI on win7 x64 with UAC on. And I always use it without administrator rights. Right now I started MoI+ObjLib in a sandbox environment with all administrator rights blocked. Everything is ok. I can create and delete objects. Maybe something wrong with your filesystem rights?
Did you noticed this issue with ObjLib only?
  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:  BurrMan
6507.22 In reply to 6507.21 
"""Did you noticed this issue with ObjLib only?""""""""""

I havnt tested the while thing yet. But since you said it should do that, then let me do some further tests. It could just be something in the method I copied things over.

It shouldn't be anything with my filesystem. But, I use MoI standalone, and HAVE copied/moved/copied the install folder around, which may have reset some of the default permissions on the folder.

I'll take a deeper look at it in a bit Max. Thanks for the heads up.
  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:  mattj (MATTJENN)
6507.23 
I tried to install on a mac running latest OS and all I get is a white MOI window with nothing in it. I dragged the 3 folders from the zip file into the drive_c/moi folder . . . . is there something i missed . . .
  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:  Max Smirnov (SMIRNOV)
6507.24 In reply to 6507.23 
Hi mattj,

Try this ways (step by step):
1. disable all modules in moi/ui/customui/ directory. run MoI.
2. disable moi/ui/customui/CustomInit.js (just rename it). run MoI
3. restore original /ui/CommandBar.htm, erase moi/ui/customui, moi/objects, moi/snapshots directories. wait for more information. :)
  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:  bemfarmer
6507.25 
A couple of remarks on installation and setup Windows7 pc, based upon my attempts at installation :-)
1. Placing the zip file in the MoI directory did not permit unzipping there. (Administrator privilege not yet invoked.)
2. Copying the unzipped files from elsewhere may work?, but see item 4.
3. Running 7zip on the zip file from a download directory, and selecting the MoI directory in C:\programfiles(x86)\MoI3.0betaNov-19-2013 did
permit extraction of the files, but, see item 4.
4. It was necessary to right click on MoI.exe and select "run as administrator," in order for the customUI folder to be found.
---Success---. It is not necessary to select "run as administrator" again.

- Brian
  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:  Max Smirnov (SMIRNOV)
6507.26 In reply to 6507.25 
Great!
Yes, at the first start CustomUI tries to determine absolute path of moi directory. If successful it stores the path in moi.ini.
So, if MoI has been installed to disk C, this script tries to access C:\
Of course this action will be blocked by UAC
  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
6507.27 In reply to 6507.20 
Hi Tommy,

> I personally enjoy MoI 10 times more now with Max' script installed :-)

It's cool that it has made things so much better for you!

Are there some particular plug-ins that you are using very frequently for your work? Which ones are they?

- 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
Next
 From:  Michael Gibson
6507.28 In reply to 6507.21 
Hi Max,

> it's very strange. I use MoI on win7 x64 with UAC on.

Is this having something to do with using the Windows ActiveX Scripting.FileSystemObject ?

One reason why I put in built in methods for some of that stuff was not only for Mac support but also since Vista the built in FileSystemObject seemed to be locked down often...

So what is it that you are missing from the built in stuff, was it just a "directory exists" function in addition to fileExists or was it other stuff as well?

You can probably use the moi.filesystem.getFiles() method as a way to check for a directory being present, as long as you are expecting it to have at least one file inside of it. Something like:

var files = moi.filesystem.getFiles( 'c:\\somedir', '*' );

if ( files.length == 0 )
..... no files found in that directory.

- 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
Next
 From:  DannyT (DANTAS)
6507.29 In reply to 6507.1 
The object library is a nice touch! a great feature for the Mechanical Engineer who does assemblies with common standard parts.

Thanks Max!

-
~Danny~
  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:  BurrMan
6507.30 In reply to 6507.28 
Hi Max,
So yes, for me it's UAC keeping that initial look for the customui folder from completing. I can fix it by setting the run as admin property or turning UAC off.

Could you take a look to see if the suggestion by Michael will remove the limitation?

Thanks.
  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:  DannyT (DANTAS)
6507.31 In reply to 6507.30 
Same thing here, have to set MoI to run as admin, now there's an extra 'OK' to click on.

-
~Danny~
  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:  raytownmike (HOPPER)
6507.32 In reply to 6507.20 
I am on a Mac. Can you give me a little more help in installing your UI plugin? I can't seem to get it to work for me.
Thank you again!
  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:  raytownmike (HOPPER)
6507.33 In reply to 6507.24 
Disable all modules, etc.. how? Thanks
  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:  Max Smirnov (SMIRNOV)
6507.34 
Hi Michael!
>>So what is it that you are missing from the built in stuff, was it just a "directory exists" function in addition to fileExists or was it other stuff as well?
It would be great to get folowing filesystem functions:
moi.settings.getExePath() - returns absolute path to the program directory
moi.filesystem.dirExists(path)
moi.filesystem.deleteFile(path)
moi.filesystem.moveFile(path1, path2)
moi.filesystem.shellExecute(executable file, parameters) - I know this function already exists, but it can't start programs with parameters

>>moi.filesystem.getFiles( 'c:\\somedir', '*' );
Unfortunatelly it doesn't work.
  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:  Max Smirnov (SMIRNOV)
6507.35 
I wrote a new version of the CustomInit.js (win version)
Check the first post. All ActiveX functions are removed.

raytownmike,
Put "-" symbol at the beginning of the filename.
I wrote about it in the first post. ;)

EDITED: 9 Feb 2014 by SMIRNOV

  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:  hep
6507.36 
Hi Max
On mac, CostumUI is looking for Moi.exe but that is hidden inside the progrm pack Moi. it end up with that CostumUI is not launched
  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:  Max Smirnov (SMIRNOV)
6507.37 In reply to 6507.36 
Hi hep
Thank you very much for testing.
Does the previous version works good?
  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:  hep
6507.38 
Hi Max
So far ther are no issues with the previous version.
  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:  BurrMan
6507.39 In reply to 6507.38 
Hi Max,
So the change allows the plug to run and prompts me to select the moi.exe only once. Thanks.

So the only thing left is the snapshots and object library (things writing to the filesystem) don't work without the UAC setting.

For me, the snapshots I already have some custom stuff setup. The object library's objects are usable. So I can run MoI as admin to populate it, then use at my leisure.

So, I don't need to request a bunch of changes to use it. But just keep that in mind for the next time when you dig around in this area to see if you can solve it (Your requests to Michael may do that).

Thanks again for sharing your work. It is very useful!
Burr
  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:  Max Smirnov (SMIRNOV)
6507.40 In reply to 6507.39 
Hi BurrMan

Snapshot uses only built-in functions.. I haven't any ideas at the moment. :(
Maybe Michael will give us some advices.
  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-20  21-40  41-60  61-80  81-100  …  521-522