Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 02:18:28 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  Read All !!! Stupid Save Function
Pages: 1   Go Down
Print
Author Topic: Read All !!! Stupid Save Function  (Read 677 times)
0 Members and 2 Guests are viewing this topic.
ianion
Active Member

Offline Offline

Posts: 8


View Profile
« on: January 14, 2011, 04:51:06 AM »

 Dont make the same mistake as i.
-Edit your macropump file
-Edit your macropump file
-Test your macropump file
...repeat this 300 x
-Close Mach3 VB Script editor
-Make new macro
-Open Mach3 VB Script editor ( The file is not saved yet, its new blank file )
-Save
-?
-?
-Piiip
The new blank macro file has a name macropump.m1s
-?
-?
All 6 months work is gone, Great
Dont make the same mistake. Cry
Logged
BR549
Active Member

Offline Offline

Posts: 2,556


View Profile
« Reply #1 on: January 14, 2011, 09:37:57 AM »

Been there done that one as well,(;-) It does not hurt near  as bad after about the 3rd time you do it.

(;-) TP
Logged
ger21
Global Moderator
*
Offline Offline

Posts: 2,619



View Profile WWW
« Reply #2 on: January 14, 2011, 11:31:56 AM »

I lost my macros about 3 times while working on my screen. Now I edit in Wordpad, or at least save a copy with a .txt extension for backup.
Logged

poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 1,707


Briceville, TN, USA


View Profile WWW
« Reply #3 on: January 14, 2011, 12:30:21 PM »

For what ever it is worth........  The work around I found for this, is when I save my VB editor work, I only use the "Save As" button, and write or Over Write my last file, each time. It will ask you if you want to do this each time, but at least it Does save it.

scott
Logged

Commercial Mach3: Screens (regular and flash), Wizards, Plug-ins, Brains, PLCs, Macros, ATC's, machine build, retrofit and Prototyping
http://sites.google.com/site/volunteerfablab/
rrc1962
Active Member

Offline Offline

Posts: 434


View Profile
« Reply #4 on: January 16, 2011, 12:11:02 PM »

As well as using save as, I also save everything I enter in VB editor in the separate text file. 
Logged
wvancura
Active Member

Offline Offline

Posts: 72


View Profile
« Reply #5 on: January 17, 2011, 09:00:26 PM »

Been there too. Been burned a couple of times. Perhaps it needs to either auto-load the macro, or not remember the name. As you say always "save as"

The other thing I would like is for it to have its own directory pointer. It shares the one from 'Load G-code' which is not even close to my macro directory.
 
The editor could add line feeds to make it more compatible with notepad. (Nice that WORD will put them back in.)

It does recognize "else if" but does not highlight it like a true command

Also if you test it and it has an operator input, you can't stop it without a break-point.

Always make a backup copy. Always. Always.

Thanks,
Bill
Logged
ianion
Active Member

Offline Offline

Posts: 8


View Profile
« Reply #6 on: January 18, 2011, 02:51:15 PM »

Thanks to all for sugeriments.
Now i have two backups of macropump.
And ALWAYS save with Save As.
 Smiley
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!