|

WindowMode


(number) The window mode to use:



CONSTANT


VALUE DESCRIPTION


SW_SHOWNORMAL


1


Normal. (Default)


SW_MAXIMIZE


3


Maximized.


SW_MINIMIZE


6


Minimized.


Re t u r n s


Nothing. You can use Application.GetLastError to determine whether this action failed, and why.


See also: Related Actions


image

image

File.Print

OverviewExamples

File.Print ( string Filename )


De s cr ip t ion


Prints a document on the user's default printer. This is the same as selecting "print" from the right-click context menu of the file you wish to print.


image

Note: The associated viewer application for the file type must support the "print" verb in order for this to work.


P arame t er s


Filename


(string) The path to the document.


Re t u r n s


Nothing. You can use Application.GetLastError to determine whether this action failed, and why.


See also: Related Actions


image

image

File.Rename

OverviewExamples

File.Rename ( string OldName,


string NewName )


De s cr ip t ion


Renames a file on the user's system.


P arame t er s


OldName


(string) The full path to the file you want to rename.


|