Je ne connais pas grand chose en programmation (pour ne pas dire rien).
J'ai trouvé sur ce lien une petite aplli (http://www.brightrev.com/how-to/windows/46-brightrevs-taskbar-autohide-utility.html) pour laquelle le programmeur a généreusement mis à disposition le code source.
Je souhaiterais modifier une des lignes de commande.
Voici mes questions:
Dans quel langage est écrit le code source (C,C++,visual basic...)?
Comment l'éditer et le compiler?Avec quel programme?
Code source
;------------------------------------------------
; Taskbar Autohide 0.2
; AutoHotkey application
; by Carl Campos at Brightrev.com
; Application icon from the Crystal Clear set
; https://commons.wikimedia.org/wiki/Crystal_Clear ;------------------------------------------------
#SingleInstance Off
Menu, Tray, NoStandard
Menu, Tray, Add, Toggle taskbar autohide, Toggle
Menu, Tray, Add, About
Menu, Tray, Add, Exit
Menu, Tray, Default, Toggle taskbar autohide
Menu, Tray, Tip, Double-click or WIN+A to toggle tasbkar autohide
;----------------------------------------------------------------------------------
; Launch Taskbar and Start Menu Proprties
; Wait for the window to appear
; Send the U key to Toggle autohide, the A key to apply and the Escape key to exit
;----------------------------------------------------------------------------------
Toggle:
Run rundll32.exe shell32.dll`,Options_RunDLL 1
WinWait, Taskbar and Start Menu Properties
WinActivate, Taskbar and Start Menu Properties
Send ua
WinClose, Taskbar and Start Menu Properties
Return
;-------------------------------------------------
; Displays a text box with application information
; Creates a link to the application's site
;-------------------------------------------------
About:
Gui, Add, Text, cBlack, Taskbar Autohide 0.1
Gui, Add, Text, cBlack, AutoHotkey app by Carl Campos
Gui, Font, underline
Gui, Add, Text, cBlue gLaunchBrightrev, https://brightrev.com/ Gui, Font, norm
Gui, Add, Button, Default, OK
Gui, Show
return
;---------------------------------------------------------
; Called by gLaunchBrightrev when the user clicks the
; simulated link above
;---------------------------------------------------------
LaunchBrightrev:
Run www.brightrev.com
return
;----------------------------------------------------
; Closes the window and frees memory when you click OK
;----------------------------------------------------
ButtonOK:
Gui, Destroy
return
;---------------------
; Exits the application
;---------------------
Exit:
exitapp
Trouvez des réponses à vos questions sur les langages, les frameworks et les astuces de codage. Échangez avec d'autres développeurs passionnés pour améliorer vos compétences en programmation et rester au fait des dernières tendances du secteur.
14 déc. 2009 à 19:58