Search found 44 matches
- Fri Dec 23, 2005 9:30 pm
- Forum: Technical / Scripting
- Topic: Updating macros.dat from a script
- Replies: 2
- Views: 4864
I wanted to do something a bit fancy, so I thought I'd try modifying the "Import Macros" macro. That macro has code in it to modify macros.dat: //append the script to macros.dat Let>macrosdatline=%scriptname%::00:00:0:0:0:0:"":0:::nn:nn:0::00:00:1::H:%new_group%:I WriteLn>%msched_dir%\macros.dat,r,m...
- Sun Dec 04, 2005 11:14 pm
- Forum: Technical / Scripting
- Topic: Updating macros.dat from a script
- Replies: 2
- Views: 4864
Updating macros.dat from a script
I've been working on "Import Macros" a bit [biggest problem: it was hardwired to assume that your macros were stored in the msched install directory]. I have it working, and it looks good... EXCEPT: the macros.dat file keeps getting reset to zero-length. I put in some Modals and I can see, script by...
- Sat Dec 03, 2005 6:19 pm
- Forum: Technical / Scripting
- Topic: Reinstalling but preserving your groups/macros/etc
- Replies: 2
- Views: 5000
Thanks -- problem was that since I had just *uninstalled* msched, I didn't know if the 'upgrade' was the right choice [for some programs, upgrades require that the previous version be there]. But since I have my entire "macros" direcdory intact [I did save a copy..:)], what I'll do is uninstall msch...
- Sat Dec 03, 2005 5:23 am
- Forum: Technical / Scripting
- Topic: Reinstalling but preserving your groups/macros/etc
- Replies: 2
- Views: 5000
Reinstalling but preserving your groups/macros/etc
I just moved from 7.3 to 7.4.009 and I thought I'd be clever, but I think I hosed myself: Since I was going from 7.3 to 7.4, I thought it'd be cleaner to uninstall 7.3 first, then install 7.4. that seems to have worked fine *EXCEPT* all my macros and groups are gone. I did keep a copy of the directo...
- Mon Nov 28, 2005 5:18 am
- Forum: Technical / Scripting
- Topic: FTPGetDir has stopped working
- Replies: 0
- Views: 3390
FTPGetDir has stopped working
This is very odd. I have a script that runs in the middle of the night to FTP-upload a backup file to a server and it has been running pretty much forever [at least a year now]. But on July 23[!! - I can tell from the date the file was last modified!] FTPGetDir stopped working. The relevant code loo...
- Thu Sep 15, 2005 6:44 pm
- Forum: General Discussion
- Topic: Find Window Name
- Replies: 8
- Views: 15039
I cute idea... I'll give it a try. My problem is that I can see that the program makes several windows [splash screen, etc] as it starts up and I suspect that if I do a WaitWindowOpen on its title I'll get one of the earlier ones... It is a fascinating idea thast since what I really need is a dynami...
- Mon Sep 12, 2005 1:04 am
- Forum: General Discussion
- Topic: Find Window Name
- Replies: 8
- Views: 15039
I realize this is an ancient thread, but after a surprisingly long hiatus [after moving to a new computer], I discovered taht 1) I needed windowspy, and 2) I confess that I just cannot figure out how to use the 'view system windows' tool. I got almost 700 items in thelist [and since there's a 'refre...
- Sat Jun 11, 2005 12:13 pm
- Forum: Technical / Scripting
- Topic: Problem with command line arguments
- Replies: 4
- Views: 8117
Yes, that'll do it... and I guess that's the sort of thing that I'll have to do.. thanks! I wonder if/how this is supposed to work in general. I see that the file-association for .scp files is basically the same as the association for other types of files [basically PATHTOMSCHED %1] I don't know eno...
- Sat Jun 11, 2005 1:28 am
- Forum: Technical / Scripting
- Topic: Problem with command line arguments
- Replies: 4
- Views: 8117
It appears that Macro Scheduler executable and the macro script file are not in the same working directory, defautl paths. . That's correct -- msched is in a read-only directory on my C drive and my macros are all in appropriate directories accessible from my limited user account. HELP section on c...
- Fri Jun 10, 2005 9:33 pm
- Forum: Technical / Scripting
- Topic: Problem with command line arguments
- Replies: 4
- Views: 8117
Problem with command line arguments
I discovered that msched does *NOT* pass through command line arguments when you invoke a macros directly. that is, I tried: > fixfile.scp /filename= and it didn't work and it took me a while to figure out WHY. To get it to work I had to type: > C:\program files\mjtnet\macroscheduler\msched d:\macro...
- Tue May 24, 2005 9:04 pm
- Forum: Technical / Scripting
- Topic: Missing groups.ini
- Replies: 4
- Views: 8045
- Tue May 24, 2005 7:49 pm
- Forum: Technical / Scripting
- Topic: Missing groups.ini
- Replies: 4
- Views: 8045
I didn't 'upgrade' but did a full install on a machine that didn't have msched on it at all, and I haven't a clue what happened to the .idx file [the .dat file was there]. But as you said, deleteing what was there and it all cleaned up and is fine now. However, I see that all that was, basically, fo...
- Tue May 24, 2005 4:24 pm
- Forum: Technical / Scripting
- Topic: Missing groups.ini
- Replies: 4
- Views: 8045
Missing groups.ini
I just did a clean/new install of 7.3.11.3 on XP/Pro. I have a bunch of macros in .scp files and they worked just fine without 'importing' them so I was just cruising along. Today I ran into some problem and I wanted to turn on logging, and in order to do that you need to import the macros (right? T...
- Fri Mar 11, 2005 2:34 pm
- Forum: Technical / Scripting
- Topic: Upgraded and macros are gone
- Replies: 5
- Views: 8139
Actually, I did do a 'minimum' install [for exactly the reason you mentioned] but it still seemed to mess up my directory: groups are gone, all the schedule settings, etc. As part confirmation of the minimal install, there are no "new" scripts in my macros directory, so I didn't get the sample scrip...
- Fri Mar 11, 2005 1:08 pm
- Forum: Technical / Scripting
- Topic: Upgraded and macros are gone
- Replies: 5
- Views: 8139
That doesn't seem to have done the right thing on two fronts. When I look in my macros directory, I now see that *every* macros appears twice: Dialin.scp Dialin1.scp Download Headers.scp Dwonload Headers1.scp Fetch email.scp Fetch email1.scp [...etc...] And it is very odd, because both copies have t...