Macro File Import to wrong folder

General Macro Scheduler discussion

Moderators: JRL, Dorian (MJT support)

Post Reply
User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Macro File Import to wrong folder

Post by Bob Hansen » Sun Apr 27, 2003 5:14 pm

Using 7.2.034 with WIN98ME

Problem:
Doing File, Import Macros results in imported file in All Macros group vs. desired group if Import Settings is also selected.

To duplicate the problem:

Marcro Tree:
All Macros
.......General
.......SS
.......Test
====================
Wanted to make a copy of macro in SS to modify and use in Test. Did the following:

Highlighted Test group. Did File Import Macros, Highlighted Source of SS folder, highlighted macro ABC to be imported. Selected to Import settings, and selected macros.dat source. Clicked OK. Got message window "Imported 1 Macros", clicked OK. Macro ABC1 did not show up in Test group. Macro ABC1 did show up in All Macros however. I then had to drag it from All Macros to Test. This was not what should be expected as normal desired behavior.

Tried again, but did not select Import Settings. Did the following:

Deleted Macro ABC1 from Test group
Highlighted Test group. Did File Import Macros, Highlighted Source of SS folder, highlighted macro ABC to be imported. Did not select to Import settings. Clicked OK. Got message window "Imported 1 Macros", clicked OK. Macro ABC1 came in to Test group OK. This is normal desired behavior.

Final Observation:
One would expect that the imported macro should be coming into the highlighted group with or without getting the settings. If settings are selected, then the settings should keep all the existing properties except the group should be changed from the original group to the destination group. But final destination should not be affected by the choice to use existing settings.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Mon Apr 28, 2003 9:50 am

Hi,

Guess what? I just tried this, following your steps, but couldn't replicate. The file was imported into the current group no problem. Weird. Anything else you think might be relevant?
MJT Net Support
[email protected]

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Mon Apr 28, 2003 7:33 pm

GROAN!
Guess what, I just tried it three times in a row and it did not fail either.

Then it did fail! And then it failed again, but slightly differently the second time. After I deleted the successful import to try by calling macros.dat, I got a message that "Imported 0 Macros".

So, at this point, I cannot import this macro at all.
========================================

I figured that this must be related to the macros.dat file. In looking at that file, the only unique thing that popped out was that this is scheduled to run 7 days a week. Here is a copy of macros.dat with the problem macro (Minimal Backups) highlighted in red.
Defrag 95::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:Samples:I:Y
Defrag 98::00:00:0:0:0:0:"":0:::nn:nn:0::::1:::Samples:I:Y
Some Info::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1:::Samples:I:Y
Display Help File::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1:::Samples:I:Y
Send E-mail Example::00:00:0:0:0:0:"":0:::nn:nn:0::::1:::Samples:I:Y
FTP & Read File Example::00:00:0:0:0:0:"":0:::nn:nn:0::::1:::Samples:I:Y
VBScript Example::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:Samples:I:Y
Send Q&A Emails::00:00:0:0:0:0:"":0:::nn:nn:0::0:0:1::H:Bumed:I:IN
Dialog Example::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:Samples:I:N
1_Weekly Newsletter to HTM:1:21:00:0:0:1:0:"C:\Program Files\MJT Net Ltd\Macro Scheduler\SS\JHS\1_Weekly Newsletter to HTM.log":0:::nn:nn:0::21:00:1::H:SS\JHS:I:Y
2_Convert HTM To PDF::00:00:0:0:1:0:"C:\Program Files\MJT Net Ltd\Macro Scheduler\SS\JHS\2_Convert HTM to PDF.log":0:::nn:nn:0::00:00:1::H:SS\JHS:I:Y
3_Combine PDF Pages::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:SS\JHS:I:Y
3a_Combine PDF Pages::00:00:0:0:1:0:"C:\Program Files\MJT Net Ltd\Macro Scheduler\SS\JHS\3_Combine PDF Pages.log":0:::nn:nn:0::00:00:1::H:SS\JHS:I:Y
4_Get Web Page Titles::00:00:0:0:1:0:"C:\Program Files\MJT Net Ltd\Macro Scheduler\SS\JHS\4_Get Web Page Titles.log":0:::nn:nn:0::00:00:1::H:SS\JHS:I:Y
5_Do Web Page Updates::00:00:0:0:1:0:"C:\Program Files\MJT Net Ltd\Macro Scheduler\SS\JHS\5_Do Web Page Updates.log":0:::nn:nn:0::00:00:1::H:SS\JHS:I:Y
get pages to access::00:00:0:0:1:0:"C:\Program Files\MJT Net Ltd\Macro Scheduler\SS\JHS\Get Pages to Access.log":0:::nn:nn:0::00:00:1::H:SS\JHS:I:Y
Pdf::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:SS\JHS:I:Y
DailyTestsBodiMedex::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:SS\BodiMedex:I:I
LoadNetscape::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:SS:I:Y
Today is YYYYMMDD::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:SS:I:Y
Minimal Backups:2345671:00:30:0:0:1:0:"C:\Program Files\MJT Net Ltd\Macro Scheduler\SS\MinimalBackups.log":0:::nn:nn:0:4/28/2003:00:30:1::H:SS:I:Y
test::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:SS:I:Y
Logoff Windows::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:SS:I:Y
Shut Down Windows::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:SS:I:Y
Kill MS::00:00:0:0:1:0:"C:\Program Files\MJT Net Ltd\MS Beta\Test\KillMS.log":0:::nn:nn:0::00:00:1::H:Test:I:Y
Windows Exits::00:00:0:0:1:0:"C:\Program Files\MJT Net Ltd\MS Beta\Test\WindowsExit.log":0:::nn:nn:0::00:00:1::H:Test:I:Y
Test Replace::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:Test:I:Y
Dialog Caption Sample::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:Test:I:N
CTL-ALT-DEL::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\CPU:I:N
Defrag 951::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\CPU:I:N
Defrag 981::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\CPU:I:N
Defragment Disk::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\CPU:I:N
Dialog Example1::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\CPU:I:N

Display Help File1::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\CPU:I:N
FTP & Read File Example1::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\CPU:I:N
MasterTemplate::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\CPU:I:N
Send E-mail Example1::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\CPU:I:N
Shut Down Windows1::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\CPU:I:N
Some Info1::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\CPU:I:N
VBScript Example1::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\CPU:I:N
::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
AOL LOG::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
Close QA::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
D -pcaNightly::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
D1-5 days::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
D1a-Enterprise 5 days::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
D2-Q&A Closed_Vendors::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
D3-Local Backup::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
D4-Posting Q&A::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
Defrag 9511::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
Defrag 9811::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
Defragment Disk1::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
Display Help File11::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
End of Day::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
FTP & Read File Example11::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
LogFile::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
M1-Monthly Reports::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
pcAnyWhere Host::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
Qbooks to Access::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
Qbooks to Access_1::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
Qbooks2AuditReports::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
QbooksAccess2::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
QbooksAuditReports::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
QBooksAuditReports01::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
QuickBooks Reports::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
Send E-mail Example11::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
Shut Down Windows11::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
Some Info11::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
Today is YYYYMMDD1::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
Trace Route::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
W1-Purge NW Deleted::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
Windows Exits1::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:JHS\J_Drive:I:N
Minimal Backups Log Test:1:00:00:15:0:1:0:"C:\Program Files\MJT Net Ltd\Macro Scheduler\Test\Minimal Backups Log Test.LOG":0:::nn:nn:1::15:30:1::H:Test:I:N
Thanks for your patience....this is frustrating......
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Mon Apr 28, 2003 7:57 pm

Additional tests allow import again:

Tried importing Minimal Backups to a different folder. Appeared to worked OK three times by not selecting macros.dat. Then selected macros.dat and got same as before: message=OK, but macro is in All Macros vs. New Folder (JHS). Drag macro from All Macros to JHS, it appears OK. I look in macros.dat and it is not listed in JHS, only in SS. Figured that macros.dat might not be refreshed until closing. Closed Macro Scheduler Control Panel, looked at macros.dat, still not listed in JHS. Closed Macro Scheduler from Systray. Restarted Macro Scheduler, and macro no longer shows in JHS folder where I just saw it previously. I seem to be getting indications that perhaps the timing of the macros.dat file may be the area to be reviewed?

And now I cannot import that file again to JHS even though it is not there, not visible on Control Panel, and not listed in JHS or Test folders. Get message that "Imported 0 Macros" again.

What I am seeing is intermittent success and failures, the worst type of problem to diagnose!
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts