ЭЛЕКТРОННАЯ БИБЛИОТЕКА КОАПП |
Сборники Художественной, Технической, Справочной, Английской, Нормативной, Исторической, и др. литературы. |
$link
->Set(path
,arguments
,workingdirectory
,description
,showcmd
,hotkey
,iconlocation
,iconnumber
)
Sets all the properties of the shortcut object with a single command. This method is supplied for convenience only; you can also set these values by changing the values of the properties. For example:
This is the same as:$link->Set("C:\PERL5\BIN\PERL.EXE", "-v", "C:\PERL5\BIN", "Prints out the version of Perl", SW_SHOWMAXIMIZED, hex('0x0337'), "C:\WINDOWS\SYSTEM\COOL.DLL", 1);
$link->Path("C:\PERL5\BIN\PERL.EXE"); $link->Arguments("-v"); $link->WorkingDirectory("C:\PERL5\BIN"); $link->Description("Prints out the version of Perl"); $link->ShowCmd(SW_SHOWMAXIMIZED); $link->Hotkey(hex('0x0337')); $link->IconLocation("C:\WINDOWS\SYSTEM\COOL.DLL"); $link->IconNumber(1);</PRE>