Loading ...
Sorry, an error occurred while loading the content.

Re: WordPerfect for DOS on Mac OS X

Expand Messages
  • em315
    That seems elegant and efficient. I had never thought of getting the filename via the clipboard - that s clearly a more sensible way of sending a filename than
    Message 1 of 37 , Dec 13, 2010
    • 0 Attachment
      That seems elegant and efficient. I had never thought of getting the filename via the clipboard - that's clearly a more sensible way of sending a filename than by writing a file and reading it.

      Much looking forward to your version 2.0!

      --- In wordperfectmac@yahoogroups.com, "John R" <johnrethorst@...> wrote:
      >
      >
      >
      > At present, the Print-PDF folder action script looks at name extensions of files dropped in the folder. If the extension is “dict”, for example, the script reads the file and looks up the word it contains in the OSX Dictionary. If the name extension is “ps”, it asks the user whether to print the file or make a PDF. The change below, in lines 2 through 5, looks to see whether the PS file contains the letters “PDF” in its name. If so, it does not ask the user, but just creates a PDF file.
      >
      > The script could also name the resulting file with a name contained in another file. The folder action script doesn’t do anything with a file unless it has a certain name extension, but it could delete e.g. a “txt” file after it uses it. It would be easier to put the intended file name on the clipboard; the folder action script could get it from there.
      >
      > to doPrint(thisFile)
      > if (thisFile as string) contains "PDF" then
      > with timeout of 300 seconds
      > processFile(thisFile, "PDF")
      > end timeout
      > else
      > set dialogText to "Print this file or make a PDF document?"
      > try
      > display dialog dialogText buttons {"Cancel", "PDF", "Print"} default button 3 with icon note with title "Print/PDF from SheepShaver"
      > set userChoice to button returned of result
      > on error
      > tell application "Finder" to delete thisFile
      > return
      > end try
      >
      > with timeout of 300 seconds
      > processFile(thisFile, userChoice)
      > end timeout
      > end if
      > end doPrint
      >
    • Joseph Bush
      Thanks for clarifying! ... [Non-text portions of this message have been removed]
      Message 37 of 37 , Dec 16, 2010
      • 0 Attachment
        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
        > in.)
        >
        > 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
        > here:
        >
        > http://www.columbia.edu/~em36/wpdos/tamewp.html


        [Non-text portions of this message have been removed]
      Your message has been successfully submitted and would be delivered to recipients shortly.