Re: WordPerfect for DOS on Mac OS X
- Sorry for this delayed response.
Iâm not sure what an output print file is. Mac WP can certainly write a text file including the name of the current document.
Printing to the Laserwriter 8 driver thatâs set to File produces a PS document.
An Applescript can read a text file and use its contents as a file name, as long as the name is the only contents of the file or the script is told where in the text to find the name, e.g. characters 20 through 30.
Adding something to the menu bar is in theory possible, using the Akua Sweets scripting addition. I looked at that once but didnât have much luck; I suspect the osax had a bug (adding items to the menu bar is easier in OSX).
--- In email@example.com, "em315" <em315@...> wrote:
> I hope you'll take a look at the folder action script that I put together for this WPDOS system to handle printing and PDF creation (based on the one that Apple ships for converting PS to PDF). It has an idea that might be useful for WPMac, though I don't know if it's technically possible.
> The script works this way.
> If you run a PDFMAKER macro in WPDOS, and if the current document already has a name, then the macro does two things: it writes a text file to the output folder that contains the name of the document, and then it writes an output printfile named WPDOSPDF.PS to the same folder. (It then restores the name of the default output printfile, so that a PDF doesn't get created the next time you print.) The folder action script reads the text file and uses its contents as the filename for the PDF file that it then creates. If the current document does not have a name, the folder action script creates a PDF file with a default name.
> If you simply print from WPDOS, the printfile has a generic name, and the folder action script simply prints it.
> Is this possible in WPMac? Can a macro set the name of the output print file, and can WPMac create and write a text file from the name of the current document? If so, then this should be practical. (Also, is it possible to add the name of a Macro like PDFmaker to the existing top-line menu?)
> Anyway, this is far beyond my WPMac macro abilities, but it seems to work fairly well by combining WPDOS macros with AppleScript.
- Thanks for clarifying!
On Dec 16, 2010, at 4:24 AM, em315 wrote:
> No, because DOSBox only has basic support for the Hercules Graphics
> Card (for graphic screens) but not for the Ramfont feature on the
> Hercules Graphics Card Plus. (Ramfont supported italic,
> strikethrough, small and large sizes, etc., in the text screen, but
> not proportional fonts; proportional fonts were displayed only in
> print preview. I still have my old card, but no computer to use it
> If you want italics on a WPDOS text screen, you can choose the
> Italic font (but you'll lose bold) in Colors/etc. under Settings/
> Display. Or you can run WPDOS under Windows with Tame, as described
[Non-text portions of this message have been removed]