Friday 25 October 2013

To open a PDF (or other) file

aPdfNameString := 'The_Boys_own_book' .

ShellLibrary default shellOpen: FileLocator imageRelative
basePath,'\',aPdfNameString,'.pdf'


e.g. as a method

openPdf: aPdfNameString
        "Opens a pdf file in its own PDF window"

ShellLibrary default shellOpen: FileLocator imageRelative
basePath,'\',aPdfNameString,'.pdf'


No comments:

Post a Comment