Modify

Opened 12 years ago

Closed 12 years ago

#2638 closed Feature Request (Rejected)

macros.htm - proposal

Reported by: mlipok Owned by:
Milestone: Component: Documentation
Version: Severity: None
Keywords: Cc:

Description

Please consider adding this code

ConsoleWrite('@AppDataCommonDir = ' & @AppDataCommonDir  & @CRLF)
ConsoleWrite('@AppDataDir = ' & @AppDataDir  & @CRLF)
ConsoleWrite('@AutoItExe = ' & @AutoItExe  & @CRLF)
ConsoleWrite('@AutoItPID = ' & @AutoItPID  & @CRLF)
ConsoleWrite('@AutoItVersion = ' & @AutoItVersion  & @CRLF)
ConsoleWrite('@AutoItX64 = ' & @AutoItX64  & @CRLF)
;~ ConsoleWrite('@COM_EventObj = ' & @COM_EventObj  & @CRLF)
ConsoleWrite('@CommonFilesDir = ' & @CommonFilesDir  & @CRLF)
ConsoleWrite('@Compiled = ' & @Compiled  & @CRLF)
ConsoleWrite('@ComputerName = ' & @ComputerName  & @CRLF)
ConsoleWrite('@ComSpec = ' & @ComSpec  & @CRLF)
ConsoleWrite('@ComSpec = ' & @ComSpec  & @CRLF)
ConsoleWrite('@CPUArch = ' & @CPUArch  & @CRLF)
ConsoleWrite('@CR = ' & @CR  & @CRLF)
ConsoleWrite('@CRLF = ' & @CRLF  & @CRLF)
ConsoleWrite('@DesktopCommonDir = ' & @DesktopCommonDir  & @CRLF)
ConsoleWrite('@DesktopDepth = ' & @DesktopDepth  & @CRLF)
ConsoleWrite('@DesktopDir = ' & @DesktopDir  & @CRLF)
ConsoleWrite('@DesktopHeight = ' & @DesktopHeight  & @CRLF)
ConsoleWrite('@DesktopRefresh = ' & @DesktopRefresh  & @CRLF)
ConsoleWrite('@DesktopWidth = ' & @DesktopWidth  & @CRLF)
ConsoleWrite('@DocumentsCommonDir = ' & @DocumentsCommonDir  & @CRLF)
ConsoleWrite('@error = ' & @error  & @CRLF)
;~ ConsoleWrite('@exitCode = ' & @exitCode  & @CRLF)
;~ ConsoleWrite('@exitMethod = ' & @exitMethod  & @CRLF)
ConsoleWrite('@extended = ' & @extended  & @CRLF)
ConsoleWrite('@FavoritesCommonDir = ' & @FavoritesCommonDir  & @CRLF)
ConsoleWrite('@FavoritesDir = ' & @FavoritesDir  & @CRLF)
;~ ConsoleWrite('@GUI_CtrlHandle = ' & @GUI_CtrlHandle  & @CRLF)
;~ ConsoleWrite('@GUI_CtrlId = ' & @GUI_CtrlId  & @CRLF)
;~ ConsoleWrite('@GUI_DragFile = ' & @GUI_DragFile  & @CRLF)
;~ ConsoleWrite('@GUI_DragId = ' & @GUI_DragId  & @CRLF)
;~ ConsoleWrite('@GUI_DropId = ' & @GUI_DropId  & @CRLF)
;~ ConsoleWrite('@GUI_WinHandle = ' & @GUI_WinHandle  & @CRLF)
ConsoleWrite('@HomeDrive = ' & @HomeDrive  & @CRLF)
ConsoleWrite('@HomePath = ' & @HomePath  & @CRLF)
ConsoleWrite('@HomeDrive = ' & @HomeDrive  & @CRLF)
ConsoleWrite('@HomeShare = ' & @HomeShare  & @CRLF)
ConsoleWrite('@HotKeyPressed = ' & @HotKeyPressed  & @CRLF)
ConsoleWrite('@HOUR = ' & @HOUR  & @CRLF)
ConsoleWrite('@IPAddress1 = ' & @IPAddress1  & @CRLF)
ConsoleWrite('@IPAddress2 = ' & @IPAddress2  & @CRLF)
ConsoleWrite('@IPAddress3 = ' & @IPAddress3  & @CRLF)
ConsoleWrite('@IPAddress4 = ' & @IPAddress4  & @CRLF)
ConsoleWrite('@KBLayout = ' & @KBLayout  & @CRLF)
ConsoleWrite('@LF = ' & @LF  & @CRLF)
ConsoleWrite('@LocalAppDataDir = ' & @LocalAppDataDir  & @CRLF)
ConsoleWrite('@LogonDNSDomain = ' & @LogonDNSDomain  & @CRLF)
ConsoleWrite('@LogonDomain = ' & @LogonDomain  & @CRLF)
ConsoleWrite('@LogonServer = ' & @LogonServer  & @CRLF)
ConsoleWrite('@MDAY = ' & @MDAY  & @CRLF)
ConsoleWrite('@MIN = ' & @MIN  & @CRLF)
ConsoleWrite('@MON = ' & @MON  & @CRLF)
ConsoleWrite('@MSEC = ' & @MSEC  & @CRLF)
ConsoleWrite('@MUILang = ' & @MUILang  & @CRLF)
ConsoleWrite('@MyDocumentsDir = ' & @MyDocumentsDir  & @CRLF)
ConsoleWrite('@NumParams = ' & @NumParams  & @CRLF)
ConsoleWrite('@OSArch = ' & @OSArch  & @CRLF)
ConsoleWrite('@OSBuild = ' & @OSBuild  & @CRLF)
ConsoleWrite('@OSLang = ' & @OSLang  & @CRLF)
ConsoleWrite('@OSServicePack = ' & @OSServicePack  & @CRLF)
ConsoleWrite('@OSType = ' & @OSType  & @CRLF)
ConsoleWrite('@OSVersion = ' & @OSVersion  & @CRLF)
ConsoleWrite('@ProgramFilesDir = ' & @ProgramFilesDir  & @CRLF)
ConsoleWrite('@ProgramsCommonDir = ' & @ProgramsCommonDir  & @CRLF)
ConsoleWrite('@ProgramsDir = ' & @ProgramsDir  & @CRLF)
ConsoleWrite('@ScriptDir = ' & @ScriptDir  & @CRLF)
ConsoleWrite('@ScriptFullPath = ' & @ScriptFullPath  & @CRLF)
ConsoleWrite('@ScriptDir = ' & @ScriptDir  & @CRLF)
ConsoleWrite('@ScriptName = ' & @ScriptName  & @CRLF)
ConsoleWrite('@ScriptLineNumber = ' & @ScriptLineNumber  & @CRLF)
ConsoleWrite('@ScriptName = ' & @ScriptName  & @CRLF)
ConsoleWrite('@SEC = ' & @SEC  & @CRLF)
ConsoleWrite('@StartMenuCommonDir = ' & @StartMenuCommonDir  & @CRLF)
ConsoleWrite('@StartMenuDir = ' & @StartMenuDir  & @CRLF)
ConsoleWrite('@StartupCommonDir = ' & @StartupCommonDir  & @CRLF)
ConsoleWrite('@StartupDir = ' & @StartupDir  & @CRLF)
ConsoleWrite('@SW_DISABLE = ' & @SW_DISABLE  & @CRLF)
ConsoleWrite('@SW_ENABLE = ' & @SW_ENABLE  & @CRLF)
ConsoleWrite('@SW_HIDE = ' & @SW_HIDE  & @CRLF)
ConsoleWrite('@SW_LOCK = ' & @SW_LOCK  & @CRLF)
ConsoleWrite('@SW_MAXIMIZE = ' & @SW_MAXIMIZE  & @CRLF)
ConsoleWrite('@SW_MINIMIZE = ' & @SW_MINIMIZE  & @CRLF)
ConsoleWrite('@SW_RESTORE = ' & @SW_RESTORE  & @CRLF)
ConsoleWrite('@SW_SHOW = ' & @SW_SHOW  & @CRLF)
ConsoleWrite('@SW_SHOWDEFAULT = ' & @SW_SHOWDEFAULT  & @CRLF)
ConsoleWrite('@SW_SHOWMAXIMIZED = ' & @SW_SHOWMAXIMIZED  & @CRLF)
ConsoleWrite('@SW_SHOWMINIMIZED = ' & @SW_SHOWMINIMIZED  & @CRLF)
ConsoleWrite('@SW_SHOWMINNOACTIVE = ' & @SW_SHOWMINNOACTIVE  & @CRLF)
ConsoleWrite('@SW_SHOWMINIMIZED = ' & @SW_SHOWMINIMIZED  & @CRLF)
ConsoleWrite('@SW_SHOWNA = ' & @SW_SHOWNA  & @CRLF)
ConsoleWrite('@SW_SHOW = ' & @SW_SHOW  & @CRLF)
ConsoleWrite('@SW_SHOWNOACTIVATE = ' & @SW_SHOWNOACTIVATE  & @CRLF)
ConsoleWrite('@SW_SHOWNORMAL = ' & @SW_SHOWNORMAL  & @CRLF)
ConsoleWrite('@SW_SHOWNORMAL = ' & @SW_SHOWNORMAL  & @CRLF)
ConsoleWrite('@SW_UNLOCK = ' & @SW_UNLOCK  & @CRLF)
ConsoleWrite('@SystemDir = ' & @SystemDir  & @CRLF)
ConsoleWrite('@TAB = ' & @TAB  & @CRLF)
ConsoleWrite('@TempDir = ' & @TempDir  & @CRLF)
;~ ConsoleWrite('@TRAY_ID = ' & @TRAY_ID  & @CRLF)
ConsoleWrite('@TrayIconFlashing = ' & @TrayIconFlashing  & @CRLF)
ConsoleWrite('@TrayIconVisible = ' & @TrayIconVisible  & @CRLF)
ConsoleWrite('@UserName = ' & @UserName  & @CRLF)
ConsoleWrite('@UserProfileDir = ' & @UserProfileDir  & @CRLF)
ConsoleWrite('@WDAY = ' & @WDAY  & @CRLF)
ConsoleWrite('@WindowsDir = ' & @WindowsDir  & @CRLF)
ConsoleWrite('@WorkingDir = ' & @WorkingDir  & @CRLF)
ConsoleWrite('@YDAY = ' & @YDAY  & @CRLF)
ConsoleWrite('@YEAR = ' & @YEAR  & @CRLF)

to the macros.htm

Because it is easier to understand and reminder of what exactly the data macro performs.

Attachments (0)

Change History (4)

comment:1 by Melba23, 12 years ago

I see no advantage to adding this code to the page. The majority of the macros are self-explanatory and quite a few of them are meaningless outside of a script where they are given values depending on the specific circumstances.

M23

comment:2 by guinness, 12 years ago

Also ConsoleWrite() shouldn't be used in the examples as not everyone has access to SciTE or an editor which can capture the STDOUT stream.

comment:3 by mlipok, 12 years ago

good comments

please close this ticket

comment:4 by water, 12 years ago

Resolution: Rejected
Status: newclosed

Closed as requested by mlipok.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.