Failed to Save.
All  1-5  6-13

Previous
Next
 From:  Michael Gibson
7266.6 In reply to 7266.5 
Hi Mindset,

> Is there some way to work on files while they are stored on Google Drive?

I think so - doesn't Google drive work by monitoring files you store in a particular folder on your regular drive and then when those change it copies the updated files to Google's server?

If that's the way it works (I don't use it myself so I'm not really familiar with it) then just work on the files in your local folder as you would any other file.

- 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:  Mindset (IGNITER)
7266.7 
Hello Michael Gibson,

You mentioned earlier in this thread about making a change in Version 4 to address this issue.
Well, even though I don't know what other features Version 4 may introduce, be assured that I will feel as blessed to buy your next version as do I feel about having purchased this version and the prior.

Thank you Mike, for your good 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:  Mindset (IGNITER)
7266.8 
Never scripted on the form before... but...
Might something like this work?

myActiveXObject = new ActiveXObject("Scripting.FileSystemObject");
try {
file = myActiveXObject.GetFile(doc);
}
catch(err) {
moi.ui.alert(err.message);
}


var before = file.DateLastModified;
moi.geometryDatabase.save();
if (before == file.DateLastModified)
{
var msg = 'Failed to Save:\n\t' + doc
moi.ui.alert(msg);
}


I don't really know how to handle an error and get out cleanly.... just hope maybe this is a worthy attempt.

EDITED: 21 Feb 2015 by IGNITER

  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
7266.9 In reply to 7266.8 
Hi Mindset - something like that could work but unfortunately there tends to be security problems with using Scripting.FileSystemObject on newer Windows versions, and it's not present at all on the Mac.

I don't think it's easily solved by scripting alone, for v4 I will be adding support for catching writing failures directly into the file writing code.

- 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:  Mindset (IGNITER)
7266.10 In reply to 7266.9 
Thank you Sir.
  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:  Mindset (IGNITER)
7266.11 In reply to 7266.3 
Hello Michael,

I am wondering if the "pop up an error message" feature for an unsuccessful model-file Save made it into V4?

BTW...
I love your software.
It is the best intangible product since the Beatles.
-- MindSet
  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:  pixelhouse
7266.12 In reply to 7266.11 
Hi Mindset,

try to open an instance of Moi and copy the file to the instance and save the scene.
Hope it works!
Das Leben ist ein Spaziergang. Manchmal bei beschissenem Wetter ;)
  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:  Michael Gibson
7266.13 In reply to 7266.11 
Hi Mindset,

> I am wondering if the "pop up an error message" feature for an unsuccessful
> model-file Save made it into V4?

Not quite yet but it shouldn't be much longer before I'll be able to get to it.

- 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
 

Reply to All Reply to All

 

 
 
Show messages: All  1-5  6-13