ResultVariable
When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.
See also: Related Actions
File.GetDefaultViewer
OverviewExamples
string File.GetDefaultViewer ( string FileExtension )
De s cr ip t ion
Returns the path to the default viewer application associated with a specific file extension.
P arame t er s
FileExtension
(string) The file extension (e.g. ".jpg" or ".txt").
Note: You can include or omit the dot (.) in the file extension. For example, ".pdf" and "pdf" will both work fine.
Re t u r n s
(string) The path to the default viewer application. If this action fails, a blank string "" is returned. You can use Application.GetLastError to determine whether this action failed, and why.