www.icetips.com  Icetips Utilities Documentation 6/29/2009    

Shell Class:  GetAssociatedVerb

Previous  Top  Next  


Prototype: (String pExtension, <String pVerb>),String

 

pExtensionExtension to find the verb information for
pVerbVerb to query.  This is "open" by default. 

 

ReturnsThe 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:

 

ShellClass - GetVerb

See also:

GetAssociatedProg
ITRun
ITRunWait
ITShellExec
ShellExec
ShellExecEx

 



Direct link to this page: http://www.icetips.com/manuals/utilities/getassociatedverb_shellclass.htm