<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
create_desktop_shortcut(r'WAPT Console
Management',target=r'c:\wapt\waptconsole.exe')<br>
<br>
<br>
<dt id="setuphelpers.create_desktop_shortcut" style="color: rgb(0,
0, 0); font-family: sans-serif; font-size: 16px; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: auto;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 1; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);"><tt class="descclassname" style="padding: 0px 1px;
font-size: 0.95em; background-color: transparent;">setuphelpers.</tt><tt
class="descname" style="padding: 0px 1px; font-size: 1.2em;
font-weight: bold; background-color: transparent;">create_desktop_shortcut</tt><big>(</big><em>label</em>,<span
class="Apple-converted-space"> </span><em>target=''</em>,<span
class="Apple-converted-space"> </span><em>arguments=''</em>,<span
class="Apple-converted-space"> </span><em>wDir=''</em>,<span
class="Apple-converted-space"> </span><em>icon=''</em><big>)</big><a
class="reference internal"
href="http://wapt.tranquil.it/wapt/nightly/1.2.0-alpha/docs/_modules/setuphelpers.html#create_desktop_shortcut"
style="color: rgb(53, 95, 124); text-decoration: none;"><span
class="viewcode-link" style="float: right;">[source]</span></a></dt>
Create a desktop shortcut link for all users<dd style="margin-top:
3px; margin-bottom: 10px; margin-left: 30px; text-align:
justify; line-height: 20.7999992370605px; color: rgb(0, 0, 0);
font-family: sans-serif; font-size: 16px; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; orphans: auto; text-indent: 0px; text-transform: none;
white-space: normal; widows: 1; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255);">
<table class="docutils field-list" frame="void" rules="none"
style="margin-bottom: 10px; border: 0px; border-collapse:
collapse;">
<colgroup><col class="field-name"><col class="field-body"></colgroup><tbody
valign="top">
<tr class="field-odd field">
<th class="field-name" style="text-align: left; padding:
1px 8px 1px 5px; border: 0px !important;
background-color: rgb(238, 221, 238);">Parameters:</th>
<td class="field-body" style="text-align: left; padding:
1px 8px 1px 5px; border: 0px !important;">
<ul class="first simple" style="margin: 0px;
padding-left: 1em;">
<li style="text-align: justify; line-height:
20.7999992370605px;"><strong>label</strong><span
class="Apple-converted-space"> </span>(<em>str</em>)
– Name of the shorcut (.lnk extension is appended if
not provided)</li>
<li style="text-align: justify; line-height:
20.7999992370605px;"><strong>target</strong><span
class="Apple-converted-space"> </span>(<em>str</em>)
– path to application</li>
<li style="text-align: justify; line-height:
20.7999992370605px;"><strong>arguments</strong><span
class="Apple-converted-space"> </span>(<em>str</em>)
– argument to pass to application</li>
<li style="text-align: justify; line-height:
20.7999992370605px;"><strong>wDir</strong><span
class="Apple-converted-space"> </span>(<em>str</em>)
– working directory</li>
<li style="text-align: justify; line-height:
20.7999992370605px;"><strong>icon</strong><span
class="Apple-converted-space"> </span>(<em>str</em>)
– path to ico file</li>
</ul>
</td>
</tr>
<tr class="field-even field">
<th class="field-name" style="text-align: left; padding:
1px 8px 1px 5px; border: 0px !important;
background-color: rgb(238, 221, 238);">Returns:</th>
<td class="field-body" style="text-align: left; padding:
1px 8px 1px 5px; border: 0px !important;">
<p class="first" style="margin: 0px; text-align:
justify; line-height: 20.7999992370605px;">Path to the
shortcut</p>
</td>
</tr>
<tr class="field-odd field">
<th class="field-name" style="text-align: left; padding:
1px 8px 1px 5px; border: 0px !important;
background-color: rgb(238, 221, 238);">Return type:</th>
<td class="field-body" style="text-align: left; padding:
1px 8px 1px 5px; border: 0px !important;">
<p class="first last" style="margin: 0px; text-align:
justify; line-height: 20.7999992370605px;">str</p>
</td>
</tr>
</tbody>
</table>
</dd>
<br>
<br>
<br>
Le 17/03/2015 17:23, COHELEACH David a écrit :<br>
</div>
<blockquote
cite="mid:AMSPR07MB084742D4C422D71F3D9EBC3FE030@AMSPR07MB084.eurprd07.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Bonjour,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Je teste actuellement le logiciel et je
cherche désespérément de créer un package que créer le
raccourci vers un programme sur le bureau. La commande semble
être create_desktop_shortcut mais je n’arrive pas à la faire
fonctionner.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Merci de votre aide.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR">David
COHELEACH<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR">Administrateur
Réseau & Système<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:FR">Ogec
La Joliverie<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
WAPT mailing list
<a class="moz-txt-link-abbreviated" href="mailto:WAPT@lists.tranquil.it">WAPT@lists.tranquil.it</a>
<a class="moz-txt-link-freetext" href="http://lists.tranquil.it/listinfo/wapt">http://lists.tranquil.it/listinfo/wapt</a>
</pre>
</blockquote>
<br>
</body>
</html>