Now that I’m trying out ScorBox I find I cannot properly mount a mapped network drive.
In the past, my DosBox drive mounts have been:
mount c c:\
mount d c:\d_drive
mount e m:\rentalnewworks
mount f m:\rentaloldworks
mount g m:\publications
On my set up, “M” is a mapped network drive and has never presented a problem.
Using ScorBox I successfully mount drive c as c:\ and drive d as c:\d_drive, but none of the other three drives mount at all. If I open in the default directory and choose a new file using <ctrl>+o from the C:\d_drive mount that works fine and Score’s F7 function will properly tell me I’m on the “d” drive.
However, if I do the same thing, and try to open a file in m:\rentalnewworks the file will not open and F7 reports I’m on the “z” drive.
If I open Score from the splash screen in C:\d_drive that works fine and F7 tells me I’m on the “d” drive. But! If I open Score from the splash screen in m:\rentalnewworks it doesn’t work and F7 reports I’m on the “m” drive!
Of course, I AM on the “m” drive according to the Windows system, but I should be on the “e” drive according to DosBox. Does some setting in your macro preclude DosBox mounting mapped drives?
I have a mapped drive as well, that connects to a server at my home on the other side of London. No problem getting there in ScorBox!
The only thing I can speculate at first glance (though apparently your method previously with DosBox seems to have worked just fine, so I’m skeptical this will do the trick) has to do with the fact that all your mapped drives have nomenclatures in excess of eight characters. What happens if you actually provide 8.3 nomenclature? So,
mount e m:\rental~1
mount f m:\rental~2
mount g m:\public~1
I haven’t tried this now, but it might be worth a shot.
The real question for me, however, is what the aim is for you to mount a “d” drive (in DosBox terms) that in reality is nothing more than a subdirectory on your C drive. Why don’t you just mount C:\ and forget about it? There’s nothing you can get to on your DosBox “d” drive that you can’t get to from your plain-vanilla C:\ mount. Am I missing something?
You can already launch ScorBox in any directory directly – including your c:\d_drive that is, after all, on your C:\ drive, as part of the startup process. Same for all of your virtual drives (e, f, and g) that are really nothing but subdirectories of M:\. Why not just mount M:\? There as well, you could launch ScorBox directly in any of your desired “virtual drives” (which, again, are nothing more than subdirectories of M:\).
In short, I think these “drive mounts” of subdirectories as virtual drives in DosBox don’t really serve a purpose within the ScorBox framework. Nevertheless, if you’d like to have the option of starting up ScorBox in one of those directories (again: = DosBox virtual drive letters) by, say, selecting them from a list , it’s easy to add that as a startup option to the ScorBox launch pad. (NOTE: this has now been accomplished as a startup option, “Launch Score… / In one of my favorite directories.” Please read about the revisions and new features on the “Required Macros” page and the associated pages.)
I made a macro to automate working with scorlas, but did not succeed in dealing with the last “n” (Print other page y/n). I know it is possible with Stuffit, but I guess with Macro express it should be possible as well…
I suppose you are describing a scenario in which you’ve fed in a file-list into Scorlas in order to print out a batch of files. With Macro Express, you’d simply use the “Text File Beginn Process” command to read through the content of your text file line by line; each new line would be saved to the same variable. Ergo, the last value the variable would receive would be the last line of the file, i.e. the last file to be printed. Let’s say the last line reads:
The last “1” is the Scorlas requirement to tell it whether files will be tiled or not. What you need to do is filter out the file name. So you’d use the “Variable Split String” command to split that last line (i.e. the variable) into two items: split at the space character. Place the result into an array with two elements (obviously: splitting something at one point creates two distinct elements). Let’s say you’ll call the array %filenameA%. So %filenameA% would now give you: 100A.MUS (%filenameA% would give you the “1” of the preceding example, but you won’t need it). Now, maybe your file name ends in PAG. Or BAK, or whatever, instead of MUS. This doesn’t matter, as what you’re really looking for is the EPS file that results from Scorlas printing the last file. So on %filenameA%, you’d run another “Variable Split String” command; this time you’d split at the “.” Let’s say you assign THAT result to another arrary with two elements, this one called %filenameB%. %filenameB% therefore will now contain: “100A”. Now, you’ll use “Variable Modify String” on %filenameB% and tell it to append text “.EPS”. Now, %filenameB% will contain “100A.EPS”, i.e. the name of the last EPS file Scorlas will have created.
Next, assign a current time stamp to a variable. You’ll need to to do this, as your directory may already contain a “100A.EPS” file that you created YESTERDAY, and which Scorlas is now overwriting. You don’t want to reference older files that have nothing to do with the files you’re just creating. Next, use “Repeat with Folder” to look into your current working directory (look into some of the required macro files find out what your current working directory is), and tell it to look for file %filenameB% UNTIL that file’s time stamp is equal to or greater to the time stamp you’ve just created (you do that with the Variable Set from File Date command). When that occurs, you’ll know that the file ME finds will be the one just created by Scorlas, and thus the last file. Then, instruct ME to type “x / Enter” into Scorlas, and you’re done: you’ll exit from Scorlas. If you haven’t done this sort of thing before, it will probably take a little while to get it to work, but the more you play around with things like this, the faster you’ll get. Plus, with the Macros posted on Scorbox.com, you’ll find models for a lot of procedures. Other than that, submit your request for posting on the “Wish List” page, and maybe somebody will take up the challenge – and post a new macro for us to share.
You have incorporated Editscor in Scorbox. But only for one page at the time, isn’t it?
Is it thinkable to make Edit Scor (and LJ, Beam and Accs, for that matter) an integrated “part” of Scorbox?
I’ve done that only to show that you can now incorporate completely new commands into Score directly that will effect changes Score has no provisions for. Needless to say, you can also design macros with an interface asking you for page ranges etc. etc. and then process as many files as you want. And at all times, Ctrl-F12 opens a CMD in your current session, from which you can do anything your ME macros currently don’t have any provisions for.