|
Previous Top Next |
Prototype: | (String pExtension, <String pVerb>),String |
pExtension | Extension to find the verb information for |
pVerb | Verb to query. This is "open" by default. |
Returns | The full verb information from the registry. |
This is used to find the full command line used to run a program when a particular verb is used to execute the program with ShellExecute or related api calls.
Example:
ITS ITShellClass
Loc:Extension String(10)
Code
Loc:Extension = '.aprj' !! Build Automator extension
Message('Verb ' & Clip(Loc:Extension) & ': ' &|
ITS.GetAssociatedVerb(Loc:Extension),'Associated Verb',ICON:Exclamation)
This will result in a message something like this:
See also:
GetAssociatedProg
ITRun
ITRunWait
ITShellExec
ShellExec
ShellExecEx