Modifier et compiler code source - Divers - Programmation
MarshPosté le 13-12-2009 à 12:03:42
Bonjour à tous,
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/wi [...] ility.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 ; http://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, http://www.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
Marsh Posté le 13-12-2009 à 12:03:42
Bonjour à tous,
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/wi [...] ility.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
; http://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
;------------------------------------------------
; WIN+A Shortcut key to Toggle taskbar autohide
;------------------------------------------------
#a::Gosub Toggle
;----------------------------------------------------------------------------------
; 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, http://www.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
Merci pour vos réponses.
Message édité par grega le 14-12-2009 à 18:05:53