I'm posting this in "Enhancement Suggestions" as I think a new Export feature that would work with an enhanced Import feature would be great... however I am also wondering if anyone already has a solution... please read on.
I write macros on the work PC and at home on the home PC.
Sometimes, while I am at one place, some code I'd like to re-use is at the other place. If I'm at home, I can usually VPN in to work and get what I need but if the other way around, no dice.
Ideally, I'd like it so that any macros I save in MS at work, would be visible in MS at home and vice versa.
What I have been doing up to now is emailing .scp files to a web email account... then retrieving those emails when I am at the other place and manually copy/pasting/re-creating scripts.
Does anyone have a better (more automated) way of accomplishing this?
I believe all the macros in MS are represented by the .scp files in a particular directory and the contents of the macros.dat file. My directory here in a new Windows 7 install seems to be:
C:\Users\Owner\My Documents\Macro Scheduler 11
Could a macro be written such that, when I closed MS at home, it zipped up all these files and stored the zip file on the web somewhere? Maybe even in an attachment in an email if need be.
Then, when I got to work and opened MS, a macro would run (set to run when MS opens) and retrieve the zipped file, unzip it and add/overlay all the macros in there... into the proper groups in my work MS install.
Marcus, any guidance? I know MS has File/Import but in the help it says:
So if I had 10 new macros I wanted to import but each one was in a different group on the exporting machine, I'd have to manually select each group first on the importing machine, import one macro, repeat until done... arg.out-take from Help File on Import wrote:Allows macros from an external directory or another Macro Scheduler installation to be imported into the currently selected group.
Would you consider adding a new "Export" feature that would take all .scp files, backup files .001, .002, etc. and the macros.dat file and put it all into one zipped file. Maybe it could have a special extension, .xpt for export file? Then we could save that file to a USB memory stick or send it off in an email as an attachment, etc. Then when we're at the other machine, we could use the import feature, give it just that one .xpt file to import and it would see that it was a special export file, and automatically know in which groups to import all the macros into. If the group does not yet exist on the importing machine, it creates the group... but if its there already, it just imports the macro. If the macro being imported is the same as what's already there (possible to check by date or checksum on .scp file contents) then it skips it... but if something has been changed, it would go with the newer version (or perhaps alert the user and let them choose).
For the future, I think a smart export/import feature would be great. Does anyone else out there think this would be useful?
And if anyone has any ideas about how to achieve this with what we have now... please jump right in.
Thanks and take care