Jump to content
Macro Express Forums

Recommended Posts

I have a macro file that had 1500 macros in it. I deleted 200 of those macros, emptied the recycle bin, but noticed that the file size did not seem to change (7.5 MB). That got me curious so I imported all 1300 remaining macros into a new file, and the file size went to 4.0 MB. Is there someting I'm missing? Maybe a way to compact the file?

 

Thanks for the help.

Link to comment
Share on other sites

I have a macro file that had 1500 macros in it. I deleted 200 of those macros, emptied the recycle bin, but noticed that the file size did not seem to change (7.5 MB). That got me curious so I imported all 1300 remaining macros into a new file, and the file size went to 4.0 MB. Is there someting I'm missing? Maybe a way to compact the file?

 

Thanks for the help.

 

Interesting. I can confirm that emptying a (large) recycle bin just now, and unloading ME Pro, didn't change the size of my 5 MB MEX file by a single byte.

 

And deleting around a thousand macros, leaving just one, gave me a file a mere 6 KB smaller!

 

I'd never focused on this before, but I see this from Help:

 

Pack

Saving macros and deleting macros from a macro file creates holes in the macro file structure or causes it to become fragmented. The Pack command compresses the file and fills in the holes created by the changes to the file. This is similar to performing a defrag on a hard drive, only it will take less time.

 

Using it with Tools > Pack reduced my file to 2.4 MB.

 

I'd be interested to hear from ISS why ME Pro doesn't do this obvious house-keeping automatically?

 

--

Terry, East Grinstead, UK

Link to comment
Share on other sites

I hear what Terry is saying. Especially for newbs. Might be nice is MEP assessed the ratio of empty spaces every once in awhile and popped up a message saying "Duuuude, your file is huge! Wanna pack it?" Also might be cool if it was an option in the backup command.

Link to comment
Share on other sites

I asked for an automated Pack function a long time ago. ISS replied that it would look at it when time is available. Probably very low priority.

 

Jeff

 

I've written a simple macro to pack the current file every time I open ME Pro Explorer.

 

Delay: 100 milliseconds
Text Type (Simulate Keystrokes): <ALT>t // Opens Tools menu.
Delay: 100 milliseconds
Text Type (Simulate Keystrokes): pc // Packs the current file.
Delay: 500 milliseconds

 

--

Terry, East Grinstead, UK

Pack.mex

Link to comment
Share on other sites

Terry,

 

Do you see any speed penalty for Packing every time?

 

It would also be nice if the Pack window would indicate when the Pack is complete. I have asked for this as well.

 

Thanks for your reply.

 

Jeff

 

I haven't noticed any difference in speed Jeff. But it's nice to know that the file is now getting smaller when I delete stuff!

;)

 

 

--

Terry, East Grinstead, UK

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...