Bonsoir à tous, je bloque sur une valeur de la propriété "WindowStyle". Lors de la création d'un raccourci, j'aimerais que l’icône, après l'exécution, se place dans les "icônes cachées":
Après des recherches sur google j'ai trouvé:
En existe t-il d'autres ? notamment pour l'effet que je recherche ?1: Activates and displays a window. If the window is minimized or maximized, the system restores it to its original size and position.
3: Activates the window and displays it as a maximized window.
7: Minimizes the window and activates the next top-level window in the Z order.
Je vous remercie !
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 Set oShell = CreateObject("WScript.Shell") Set lnk = oShell.CreateShortcut(strHomeFolder & "\trieurdossier.lnk") lnk.WindowStyle = 7 lnk.IconLocation = lnk.TargetPath = lnk.arguments = lnk.Save![]()
Partager