Macrom 42 Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Audio zesilovače Macrom 42. PDF manual - Macro Scheduler Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 290
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
Macro Scheduler
Windows Automation Made Easy
© 2015 MJT Net Ltd
All rights reserved. No parts of this work may be reproduced in any form or by any means
- graphic, electronic, or mechanical, including photocopying, recording, taping, or
information storage and retrieval systems - without the written permission of the
publisher.
Products that are referred to in this document may be either trademarks and/or
registered trademarks of the respective owners. The publisher and the author make no
claim to these trademarks.
While every precaution has been taken in the preparation of this document, the publisher
and the author assume no responsibility for errors or omissions, or for damages
resulting from the use of information contained in this document or from the use of
programs and source code that may accompany it. In no event shall the publisher and
the author be liable for any loss of profit or any other commercial damage caused or
alleged to have been caused directly or indirectly by this document.
Web:
Email:
Phone:
Fax:
http://www.mjtnet.com/
support@mjtnet.com
+44 8700 684 523
+1 360 519 5383
+44 709 214 3231
+1 866 788 7502
Zobrazit stránku 0
1 2 3 4 5 6 ... 289 290

Shrnutí obsahu

Strany 1 - Macro Scheduler

Macro SchedulerWindows Automation Made Easy© 2015 MJT Net LtdAll rights reserved. No parts of this work may be reproduced in any form or by any means-

Strany 2 - Table of Contents

Macro SchedulerIX© 2015 MJT Net Ltd...

Strany 3

89 Macro Scheduler© 2015 MJT Net Ltdnormally or for docking. DragMode Determines how the control initiates drag-and-drop ordrag-and-dock operations. E

Strany 4 - Part IV Command Reference

90Command Reference© 2015 MJT Net LtdVisible Determines whether the component appearsonscreen. Width Specifies the horizontal size of the control or f

Strany 5 - IVContents

91 Macro Scheduler© 2015 MJT Net Ltdvertically or horizontally. ParentCustomHint Determines where a control looks for its custom hint. ParentDoubleBuf

Strany 6 - Macro SchedulerV

92Command Reference© 2015 MJT Net LtdDragCursor Indicates the image used to represent the mousepointer when the control is being dragged. DragKind Spe

Strany 7 - VIContents

93 Macro Scheduler© 2015 MJT Net LtdTag Stores an integer value as part of a component. Top Specifies the Y coordinate of the top left corner of acont

Strany 8

94Command Reference© 2015 MJT Net Ltdinformation. ParentShowHint Determines where a control looks to find out if its HelpHint should be shown. PopupMe

Strany 9 - VIIIContents

95 Macro Scheduler© 2015 MJT Net Ltdbitmap first. DragCursor Indicates the image used to represent the mousepointer when the control is being dragged.

Strany 10 - Macro SchedulerIX

96Command Reference© 2015 MJT Net LtdUseDockManager Specifies whether the docking manager is used indrag-and-dock operations. VerticalAlignment Sets t

Strany 11 - Index 273

97 Macro Scheduler© 2015 MJT Net Ltd4.7.1.18 StatusBar Object PropertiesName Description Action Designates the action associated with the control. Ali

Strany 12 - Using Macro Scheduler

98Command Reference© 2015 MJT Net Ltdcontrol. ShowHint Determines whether the control displays a Help Hintwhen the mouse pointer rests momentarily on

Strany 13 - 1 Using Macro Scheduler

XContents© 2015 MJT Net Ltd...

Strany 14 - Menu Commands

99 Macro Scheduler© 2015 MJT Net Ltdbitmap first.DragCursor Specifies the image used to represent the mousepointer when the control is being dragged.D

Strany 15 - Creating Scripts

100Command Reference© 2015 MJT Net LtdRowCount Specifies the number of rows in the grid.SaveToCSVSavest the grid to a CSV data string.ScrollBars Speci

Strany 16

101 Macro Scheduler© 2015 MJT Net LtdImageIndex Indicates which image maintained by the parent menuappears next to the menu item. LoadBitmapLoads bitm

Strany 17

102Command Reference© 2015 MJT Net Ltd4.7.2.1 CloseDialogCloseDialog>DialogNameNot supported in Macro Scheduler Lite.Closes non-modal dialog specif

Strany 18 - To access your backups

103 Macro Scheduler© 2015 MJT Net LtdMarks the end of a dialog block. See Dialog for details.4.7.2.4 GetDialogActionGetDialogAction>DialogName,Re

Strany 19 - 8Using Macro Scheduler

104Command Reference© 2015 MJT Net LtdExample:RGB>20,50,200,aColorSetDialogObjectColor>Dialog1,,aColor4.7.2.8 SetDialogObjectFontSetDialogObject

Strany 20 - Using Variables

105 Macro Scheduler© 2015 MJT Net LtdSetDialogObjectFocus>Dialog1,msMemo24.7.2.10 SetDialogObjectVisibleSetDialogObjectVisible>Dialog_Name,Objec

Strany 21 - Code Wizards

106Command Reference© 2015 MJT Net LtdTo see a list of available property names edit the dialog in the Dialog Designer and select the control. The pro

Strany 22 - Code Snippets

107 Macro Scheduler© 2015 MJT Net LtdFor the dialog's own events, leave ObjectName blank.For a list of possible event names edit the dialog in th

Strany 23 - Scheduling Scripts

108Command Reference© 2015 MJT Net Ltdhttp://en.wikipedia.org/wiki/Modal_windowNon-Modal WindowsSo a non-modal window is the opposite. While it is act

Strany 24

Using Macro SchedulerPartI

Strany 25

109 Macro Scheduler© 2015 MJT Net LtdTo display a dialog non-modally specify the Show function without a result variable. E.g.:Show>MyDialogSince

Strany 26 - Advanced Scheduling

110Command Reference© 2015 MJT Net LtdAbbreviation: XLCSee also: XLAddSheet , XLDelCol , XLDelRow , XLDelSheet , XLGetCell ,XLGetSheetDims , XLOpen ,

Strany 27

111 Macro Scheduler© 2015 MJT Net LtdXLOpen>%USERDOCUMENTS_DIR%\mybook.xls,1,xlBookXLDelRow>xlBook,Sheet1,3XLSave>xlBook,%USERDOCUMENTS_DIR%\

Strany 28 - AutoLogon

112Command Reference© 2015 MJT Net Ltd4.8.7 XLGetSheetDimsXLGetSheetDims>XLBookHandle,SheetName,MaxRows,MaxColsNot supported in Macro Scheduler Lit

Strany 29 - Encryption

113 Macro Scheduler© 2015 MJT Net Ltd4.8.9 XLQuitXLQuit>XLBookHandleNot supported in Macro Scheduler Lite.This function requires Microsoft Excel to

Strany 30 - Hot Keys

114Command Reference© 2015 MJT Net Ltdvalue to an xlFileFormat enumerator. Abbreviation: XLSSee also: XLAddSheet , XLCreate , XLDelCol , XLDelRow , X

Strany 31 - Recording Macros

115 Macro Scheduler© 2015 MJT Net Ltd.xlsx files, export to .xls first.The array takes the format:arrayname_row_colarrayname_row_countarrayname_countE

Strany 32 - Playing Scripts And Macros

116Command Reference© 2015 MJT Net Ltd4.9.2 ChangeDirectoryChangeDirectory>pathChanges the current directory to the directory specified in path. p

Strany 33 - Using the Debugger

117 Macro Scheduler© 2015 MJT Net Ltdsourcepath, and destinationpath may be variables. Wildcards can be used. Source and destinationmay be folders.B

Strany 34

118Command Reference© 2015 MJT Net Ltd4.9.6 CountFilesCountFiles>file_spec,result,subdir_flagReturns the number of files matching file_spec in the

Strany 35 - Dialog Designer

2Using Macro Scheduler© 2015 MJT Net Ltd1 Using Macro Scheduler1.1Getting StartedWhen Macro Scheduler starts it places its icon in the system tray (ne

Strany 36 - WebRecorder

119 Macro Scheduler© 2015 MJT Net LtdCSV Data:ID,Date,Value1,28/02/2010,502,01/03/2010,75Code:CSVFileToArray>c:\myfile.csv,csvDataArray:csvData_1_c

Strany 37 - Command Line Options

120Command Reference© 2015 MJT Net Ltdpath can be a variable. Wildcards can be used.The outcome of the operation will be reported in variables CF_RES

Strany 38

121 Macro Scheduler© 2015 MJT Net Ltd4.9.12 FileDateFileDate>filename,resultReturns the file date of filename in the result variable.The date retur

Strany 39 - Help and Resources

122Command Reference© 2015 MJT Net Ltd4.9.15 GetFileListGetFileList>filespec,result[,delimiter]GetFileList returns a list of the files found matchi

Strany 40

123 Macro Scheduler© 2015 MJT Net Ltd//gets the newest file in the My Documents folderGetNewestFile>%USERDOCUMENTS_DIR%\*.*,newFile//gets the newes

Strany 41

124Command Reference© 2015 MJT Net Ltd4.9.19 IfFileChangedIfFileChanged>filename,range[,label_name[,false_label_name]]statements [ [Elseelse sta

Strany 42 - 2 Menu Commands

125 Macro Scheduler© 2015 MJT Net Ltd4.9.21 IfNotDirExistsIfNotDirExists>directory_name[,label_name[,false_label_name]]statements [ [Elseelse st

Strany 43

126Command Reference© 2015 MJT Net LtdEndif4.9.23 IfNotFileExistsIfNotFileExists>filename[,label_name[,false_label_name]]statements [ [Elseelse

Strany 44

127 Macro Scheduler© 2015 MJT Net LtdExampleMoveFile>c:\temp\myfile.txt,c:\temp\myfile.bakOr with variables:Let>filename=c:\temp\myfile.txtLet&g

Strany 45

128Command Reference© 2015 MJT Net LtdSee also: ReadFile , WriteLnExampleThis example reads each line from the text file and displays it in a Message

Strany 46

3 Macro Scheduler© 2015 MJT Net Ltd1.2Menu CommandsFileNew MacroNew Macro From TemplateEdit MacroImport MacrosHideExitEditDeleteRemove from GroupRenam

Strany 47

129 Macro Scheduler© 2015 MJT Net Ltd WriteLn will then output Unicode. If the file already exists WriteLn will detect the file's encoding andus

Strany 48

130Command Reference© 2015 MJT Net Ltd4.10FTP/HTTP/Telnet/Email Commands4.10.1 FTPDelFileFTPDelFile>Server,Username,Password,port,Host_File_SpecNot

Strany 49

131 Macro Scheduler© 2015 MJT Net Ltd4.10.2 FTPGetDirListFTPGetDirList>Server,Username,Password,port,Local_File,Host_Dir,Host_File_Spec,TypeNot sup

Strany 50 - 39 Macro Scheduler

132Command Reference© 2015 MJT Net LtdFTPGetDirList>ftp.domain.com,anonymous,[email protected],21,c:\temp\readme.txt,/,*,D4.10.3 FTPGetFileFTPGetFile

Strany 51

133 Macro Scheduler© 2015 MJT Net Ltd0No TLS/SSLSupportDefault - no encryption1Use Implicit TLSYou wish to use implicit TLS. In implicit TLS FTP, you

Strany 52

134Command Reference© 2015 MJT Net Ltdhttp://www.openssl.org/related/binaries.htmlFor TLS/SSL support set FTP_USETLS to one of the following values:0N

Strany 53 - Building The Script

135 Macro Scheduler© 2015 MJT Net LtdFTP_TIMEOUT variable.TLS/SSL SupportTo use TLS/SSL you will first need to install the OpenSSL libraries. See:htt

Strany 54

136Command Reference© 2015 MJT Net LtdBy default the timeout for the FTP commands is set to 15 seconds. To change this set theFTP_TIMEOUT variable.Ab

Strany 55 - 3.6.3 Send our lines of text

137 Macro Scheduler© 2015 MJT Net LtdAbbreviation : FRFSee also FTPGetFile , FTPPutFile , FTPDelFile , FTPGetDirListTLS/SSL SupportTo use TLS/SSL you

Strany 56

138Command Reference© 2015 MJT Net Ltdif only files are being posted.By default there is no timeout for the HTTPRequest command and requests will wait

Strany 57 - 3.6.6 Send our filename

4Using Macro Scheduler© 2015 MJT Net Ltd1.3Toolbar The top row of the toolbar contains the menu and buttons to Run , Stop and Recordmacros.Buttons fr

Strany 58

139 Macro Scheduler© 2015 MJT Net Ltd4.10.10 IEGetTagsIEGetTags>URL,Tagname,ReturnType,ArrayVarThis function will return an array of tag values for

Strany 59 - 3.6.7 The Script So Far

140Command Reference© 2015 MJT Net Ltd4.10.11 IEGetTagsByAttribIEGetTagsByAttrib>URL,Tagname,Attrib=Value,ReturnType,ArrayVarThis function will ret

Strany 60 - 3.6.8 Printing the Document

141 Macro Scheduler© 2015 MJT Net LtdValue: To set the value of an input field specify the new value here.To determine the Index look at the source of

Strany 61 - The Complete Script

142Command Reference© 2015 MJT Net Ltd4.10.14 IEWaitIEWait>urlWaits until the IE browser window matching the specified URL is no longer reporting b

Strany 62

143 Macro Scheduler© 2015 MJT Net LtdMessageModal>POP3_RESULTSeparate>POP3_MSGFILES,;,MsgFilesMessageModal>Files Downloaded: %MsgFiles_count%

Strany 63 - Where To Go From Here

144Command Reference© 2015 MJT Net LtdExampleLet>SENDMAIL_STATUS=1Let>subject=Test MessageLet>[email protected]>myname=Mr SmithLet&

Strany 64 - Command Reference

145 Macro Scheduler© 2015 MJT Net LtdSee also: TelnetClose , TelnetSend , TelnetWaitForExampleTelnetConnect>my.domain.com,23,hTNTelnetWaitFor>hT

Strany 65 - 4 Command Reference

146Command Reference© 2015 MJT Net LtdWaits for text in a Telnet session. Specify a session ID returned by a call to TelnetConnect . Enter a timeout

Strany 66 - 4.1.5 Arithmetic Functions

147 Macro Scheduler© 2015 MJT Net LtdSimple expressions can contain only two parts separated by one of the following operators:= Equals> Greater th

Strany 67 - 4.1.6 String Functions

148Command Reference© 2015 MJT Net LtdAbbreviation : IFDSee also: Label , Goto , IfWindowOpen , IfFileChanged , If , IfFileExists ,SubroutinesExampleI

Strany 68 - 4.1.8 Examples

5 Macro Scheduler© 2015 MJT Net LtdIn this example an existing script was selected to be edited. If 'New' had been pressed then this formwou

Strany 69 - Clipboard Commands

149 Macro Scheduler© 2015 MJT Net LtdElse and Endif are ignored and are unnecessary. Abbreviation : IFESee also: Label , Goto , IfWindowOpen , IfFileC

Strany 70 - Database Commands

150Command Reference© 2015 MJT Net Ltd4.11.7 IfNotFileChangedIfNotFileChanged>filename,range[,label_name[,false_label_name]]statements [ [Elseel

Strany 71 - 4.4.3 DBExec

151 Macro Scheduler© 2015 MJT Net LtdEndif4.11.9 IfNotWindowOpenIfNotWindowOpen>window_title[,label_name[,false_label_name]]statements [ [Elseel

Strany 72 - 4.4.4 DBQuery

152Command Reference© 2015 MJT Net LtdIfWindowOpen>Notepad - [Untitled],donotepad...Label>donotepador, with a wildcard :IfWindowOpen>notepad

Strany 73 - Date/Time Commands

153 Macro Scheduler© 2015 MJT Net Ltdfor supported image types).haystack can be set to one of the following values:1. A bitmap/png file (e.g. %SCRIPT_

Strany 74 - 4.5.4 DatePart

154Command Reference© 2015 MJT Net Ltd7Middle left8Middle rightX_Array is the name of an array to store the X coordinates of each match. If using CCO

Strany 75 - 4.5.7 DayOfWeek

155 Macro Scheduler© 2015 MJT Net Ltd4.12.4 GetRectCheckSumGetRectCheckSum>TLX,TLY,BRX,BRY,result_valueWhen passed the top left and bottom right sc

Strany 76 - 4.5.8 GetDate

156Command Reference© 2015 MJT Net Ltd4.12.6 ScreenCaptureScreenCapture>X1,Y1,X2,Y2,FilenameNot supported in Macro Scheduler Lite.Captures a portio

Strany 77 - 4.5.11 Min

157 Macro Scheduler© 2015 MJT Net Ltd4.12.8 WaitRectChangedWaitRectChanged>TLX,TLY,BRX,BRY,TimeoutThis command causes Macro Scheduler to wait until

Strany 78 - 4.5.14 TimeAdd

158Command Reference© 2015 MJT Net LtdSee also: CompareBitmaps , FindImagePos , ScreenCapture , GetScreenResExampleWaitScreenImage>d:\today_button.

Strany 79 - 4.5.17 TimeLocal

6Using Macro Scheduler© 2015 MJT Net LtdThe Import button allows you to load in a script that has already been created. This is useful if youhave a nu

Strany 80 - 4.5.20 Year

159 Macro Scheduler© 2015 MJT Net LtdSee also: CapsOff4.13.4 NumOffSwitches Num lock off. If Num lock is already off, no action is taken. If Num lo

Strany 81 - DDE Commands

160Command Reference© 2015 MJT Net LtdExample://Send text directly to NotepadGetWindowHandle>Untitled - Notepad,hWndParentFindObject>hWndParent,

Strany 82 - 4.7.1 Dialog Objects

161 Macro Scheduler© 2015 MJT Net LtdPress LShift} Left/Right Shift KeyRelease LShift} ONLY in Windows NT and laterPress RShift} you can distinguish s

Strany 83

162Command Reference© 2015 MJT Net LtdPress ALTSend Character/Text>FXRelease ALTBy setting PRESS_ALLOWVARS to 1, Release can accept a variable name

Strany 84

163 Macro Scheduler© 2015 MJT Net LtdNote that this command sends keystrokes and therefore any keys sent will be subject to the currentstate of modifi

Strany 85

164Command Reference© 2015 MJT Net LtdSee also: While , RepeatExampleLet>x=0While>x<10 Let>x=x+1 MessageModal>xEndWhile4.14.2 GosubGo

Strany 86

165 Macro Scheduler© 2015 MJT Net Ltd4.14.3 GotoGoto>Label_NameCauses execution to continue at the specified label, missing any commands in between

Strany 87

166Command Reference© 2015 MJT Net Ltd4.14.5 RepeatRepeat>variableUse in conjunction with Until. Iterates the code from the Repeat statement to th

Strany 88

167 Macro Scheduler© 2015 MJT Net Ltd //this bit still gets executed Let>y=xEND>ExampleSubroutineLabel>EndScriptMessageModal>y4.14.7 Unt

Strany 89

168Command Reference© 2015 MJT Net LtdSee also: EndWhile , RepeatExampleLet>x=0While>x<10 Let>x=x+1 MessageModal>xEndWhile4.15Message

Strany 90

7 Macro Scheduler© 2015 MJT Net LtdEnable/disable Macro backup, and select how many copies to keep.To access your backupsBackups will be created each

Strany 91

169 Macro Scheduler© 2015 MJT Net LtdINPUT_PASSWORD variable to 1. Set to zero for default behaviour.It is possible to set a timeout by setting the v

Strany 92

170Command Reference© 2015 MJT Net Ltd4.15.4 MessageModalMessageModal>message_textDisplays a message box containing the text specified in message_t

Strany 93

171 Macro Scheduler© 2015 MJT Net Ltd...SRT>DoTrayClick Show>Dialog1,resEnd>DoTrayClick4.16.2 AddTrayIconAddTrayIcon>IconFileName,Name,Hi

Strany 94

172Command Reference© 2015 MJT Net Ltd4.16.4 ArrayDimArrayDim>array_name,num_elementsCreates an empty array with specified number of elements. If

Strany 95

173 Macro Scheduler© 2015 MJT Net LtdExample:ColorToRGB>6554367,r,g,bMessageModal>%r%,%g%,%b%4.16.7 DelArrayDelArray>array_name,[,suffixforma

Strany 96

174Command Reference© 2015 MJT Net Ltd4.16.10 BlockInputBlockInput>blockBlockinput prevents or enables keyboard and mouse input from the user.Set b

Strany 97

175 Macro Scheduler© 2015 MJT Net LtdSee also: SetEnvVarExample:GetEnvVar>TMP,myTMPDirMessageModal>myTMPDir4.16.13 KillProcessKillProcess>pro

Strany 98

176Command Reference© 2015 MJT Net LtdLibFunc can be used to call DLL functions and is therefore an ideal way of extending the languageusing custom DL

Strany 99

177 Macro Scheduler© 2015 MJT Net LtdLet>used=spacefree_3/1024Let>free=spacefree_4/1024MessageModal> Disk space used: %used%Kb %CRLF% Free sp

Strany 100 - © 2015 MJT Net Ltd

178Command Reference© 2015 MJT Net LtdAbbreviation : LLDSee also: LibFunc , LibFreeExamplesLibLoad>user32,hDllLet>WIN_USEHANDLE=1GetActiveWindow

Strany 101

8Using Macro Scheduler© 2015 MJT Net Ltdon.From the Script Editor, click Tools, View BackupsA list of backups will be presented. Double click a backup

Strany 102

179 Macro Scheduler© 2015 MJT Net Ltditem selected by the user.X and Y take a screen X,Y positionItemList is a semi-colon delimited list of captionsre

Strany 103

180Command Reference© 2015 MJT Net LtdExampleLet>url=http://ip.jsontest.com//*python_code:import urllib2import json# grab data from http://ip.jsont

Strany 104

181 Macro Scheduler© 2015 MJT Net Ltd4.16.24 RGBRGB>red,green,blue,resultCreates a color code based on the specified mix of red, green and blue int

Strany 105

182Command Reference© 2015 MJT Net Ltd4.16.27 WaitProcessExistsWaitProcessExists>processnameWaits for the specified process name to exist. The sys

Strany 106

183 Macro Scheduler© 2015 MJT Net LtdUsually this is desirable (32 bit processes cannot load 64 bit DLLs) and there are 32 bit equivalentsfor almost a

Strany 107

184Command Reference© 2015 MJT Net Ltd4.17.2 GetCursorPosGetCursorPos>X,Y[,cursorType]Returns the X and Y coordinates of the current mouse cursor p

Strany 108

185 Macro Scheduler© 2015 MJT Net Ltd4.17.5 LDownSimulates a press of the left mouse button. This is like pressing the mouse button down but notrelea

Strany 109

186Command Reference© 2015 MJT Net Ltd, MUp , MClick , MouseMove , MouseMoveRel , MouseOver4.17.9 MDownSimulates a press of the middle mouse button.

Strany 110

187 Macro Scheduler© 2015 MJT Net Ltd, RDblClick , MouseOverExampleIf position 40,50 is a point relative to the current window, on a button, the follo

Strany 111

188Command Reference© 2015 MJT Net Ltd4.17.14 RClickSimulates a right button mouse click at the current point on the screen.The following commands wil

Strany 112 - 4.7.2 Dialog Functions

Macro SchedulerI© 2015 MJT Net LtdTable of ContentsPart I Using Macro Scheduler2...

Strany 113

9 Macro Scheduler© 2015 MJT Net LtdTo open a backup in a new editor tab double click it or right click and select "Open in Editor Tab". To o

Strany 114

189 Macro Scheduler© 2015 MJT Net Ltd4.17.18 ToolbarToolbar>window_title,toolbar_index,button_indexNB: This function does not work in Windows 95Pos

Strany 115 - RGB>20,50,200,aColor

190Command Reference© 2015 MJT Net LtdExampleLet>Counter=5Add>Counter,2i.e. Counter=Counter+2In this example the numeric variable, Counter, is g

Strany 116

191 Macro Scheduler© 2015 MJT Net LtdLet>MyVal={Upper("WorLd")}Let>MyVal={5 * 10 + 25}Let>d={%a%+%b%*%c%-23} 4.18.3 SetRoundModeSet

Strany 117

192Command Reference© 2015 MJT Net Ltd4.19Registry Functions4.19.1 RegistryDelKeyRegistryDelKey>root_key,keyNot supported in Macro Scheduler Lite.R

Strany 118 - 4.7.3 Dialog Examples

193 Macro Scheduler© 2015 MJT Net LtdSee also: RegistryDelKey , RegistryDelVal , RegistryReadKey , RegistryWriteKey ,RegistryEnumValsExample:RegistryE

Strany 119

194Command Reference© 2015 MJT Net Ltdvalue assigned to the entry. If the key and entry already exist, the value is changed to the valueprovided. Th

Strany 120 - Excel Functions

195 Macro Scheduler© 2015 MJT Net Ltd This only works for GUI applications and may not be appropriate for all applications. Someapplications may appe

Strany 121 - 4.8.4 XLDelRow

196Command Reference© 2015 MJT Net LtdTo open Notepad :RunProgram>notepad.exeA path may be specified if necessary :RunProgram>c:\my programs\eud

Strany 122 - 4.8.6 XLGetCell

197 Macro Scheduler© 2015 MJT Net Ltd Press F4 Release ALTEnd>CloseApp4.21.1.2 SRTSRT>Subroutine_NameIdentifies the start of a Subroutine bl

Strany 123 - 4.8.8 XLOpen

198Command Reference© 2015 MJT Net Ltd4.21.1.3 ENDEND>Subroutine_NameIdentifies the end of a Subroutine block. Use SRT to start the subroutine.Su

Strany 124 - 4.8.11 XLSave

10Using Macro Scheduler© 2015 MJT Net LtdArraysExplicit Variable Resolution - VAREXPLICITIgnoring Spaces - IGNORESPACESSystem VariablesVariable Explor

Strany 125 - 4.8.13 XLSheetToArray

199 Macro Scheduler© 2015 MJT Net Ltd If>x=5 SkipLabel>EndScript Endif //this bit still gets executed Let>y=xEND>ExampleSubroutineL

Strany 126 - File Handling

200Command Reference© 2015 MJT Net LtdExit>04.21.5 GotoGoto>Label_NameCauses execution to continue at the specified label, missing any commands

Strany 127 - 4.9.4 CopyFolder

201 Macro Scheduler© 2015 MJT Net LtdSeveral types of operators and functions can be used with complex expressions. For more detailssee Complex Expre

Strany 128 - 4.9.5 CountDirs

202Command Reference© 2015 MJT Net Ltd4.21.8 IncludeInclude>scriptfileIncludes code from an external script file. The code is executed and made av

Strany 129 - 4.9.8 CSVFileToArray

203 Macro Scheduler© 2015 MJT Net LtdExampleLabel>Start...Goto>SecondBit...Label>SecondBit..4.21.11 LetLet>variable_name=valueLet is use

Strany 130 - 4.9.9 DeleteFile

204Command Reference© 2015 MJT Net LtdName would now equal John SmithLet>MyVal={Upper("WorLd")}Let>MyVal={5 * 10 + 25}Let>d={%a%+%b

Strany 131 - 4.9.11 EditIniFile

205 Macro Scheduler© 2015 MJT Net LtdTOPENSee IfWindowOpen for window title & WF_TYPEsyntax.WINDOW_NEWACTIVE00Triggers when the foreground window

Strany 132 - 4.9.14 FileTime

206Command Reference© 2015 MJT Net Ltd8: Windows key must also be pressedDIALOG_EVENTEventParm is the dialog name. ExtraParm is a modal result value

Strany 133 - 4.9.16 GetNewestFile

207 Macro Scheduler© 2015 MJT Net LtdOnEvent>CUSTOM,MyTriggerSub,DoIT,DoSomethingLabel>start Wait>1 If>NotepadOpen=1 Message>Notep

Strany 134 - 4.9.18 IfDirExists

208Command Reference© 2015 MJT Net Ltd4.21.14 RemarkRemark>Some CommentThe remark statement is ignored by the interpreter. It exists simply to all

Strany 135 - 4.9.20 IfFileExists

11 Macro Scheduler© 2015 MJT Net LtdThe following wizards exist:Image Recognition WizardKeyboard WizardSend Keys to Object WizardMouse Action WizardTe

Strany 136 - 4.9.22 IfNotFileChanged

209 Macro Scheduler© 2015 MJT Net Ltd4.21.16 UntilUntil>variable,finalvalueUse in conjunction with Repeat. Iterates the code from the Repeat state

Strany 137 - 4.9.24 MoveFile

210Command Reference© 2015 MJT Net Ltdkeyboard, show window, and optionally, paint events. Issue 1 to include paint events, and 0 toexclude paint eve

Strany 138 - 4.9.27 ReadLn

211 Macro Scheduler© 2015 MJT Net LtdUses AES encryption to encrypt or decrypt source to target using the specified password which isSHA256 hashed by

Strany 139 - 4.9.29 WriteLn

212Command Reference© 2015 MJT Net Ltd..ReadLn>d:\test.txt,1,ascii_cryptvalBase64>ascii_cryptval,DECODE,bin_cryptvalCrypt>abc,bin_cryptval,cl

Strany 140 - 4.9.31 ZipExtractFiles

213 Macro Scheduler© 2015 MJT Net Ltd//Encode with Base64Base64>encdata,ENCODE,encdata//Write to the fileWriteLn>file,r,encdata//To read the dat

Strany 141 - 4.10.1 FTPDelFile

214Command Reference© 2015 MJT Net LtdExample:Let>filename=c:\users\documents\somefile.doc//path_only will contain "c:\users\documents"Ex

Strany 142 - 4.10.2 FTPGetDirList

215 Macro Scheduler© 2015 MJT Net Ltd//MoneyLet>data=134.647Format>Price: %m,data,result//Result becomes: "Price: $134.65" (currency s

Strany 143 - 4.10.3 FTPGetFile

216Command Reference© 2015 MJT Net LtdExampleHTTPRequest>http://ip.jsontest.com/,,GET,,JSONJSONParse>JSON,ip,myIPMessageModal>Your pubic IP i

Strany 144 - 4.10.4 FTPMakeDir

217 Macro Scheduler© 2015 MJT Net Ltdselect id, forename, surnamefrom customerswheresurname = '%strSurname%'*/4.22.14 LengthLength>string

Strany 145 - 4.10.5 FTPPutFile

218Command Reference© 2015 MJT Net LtdIn the following example, the variable somevalue becomes equal to 'Happy' :MidStr>Happy Birthday,1,

Strany 146 - 4.10.6 FTPRemoveDir

12Using Macro Scheduler© 2015 MJT Net Ltd1.10Code Folding and BookmarksThe Macro Scheduler script editor supports various advanced editing features su

Strany 147 - 4.10.7 FTPRenameFile

219 Macro Scheduler© 2015 MJT Net LtdLet>pattern=(\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b)RegEx>pattern,text,0,matches,num,0MessageModal>match

Strany 148 - 4.10.8 HTTPRequest

220Command Reference© 2015 MJT Net LtdAbbreviation: RPLSee also: RegEx , Position , MidStrExamplesLet>string=Your name is "Fred"StringRep

Strany 149 - 4.10.9 IsConnectedToInternet

221 Macro Scheduler© 2015 MJT Net LtdLabelToVar>XML,sXMLXMLParse>sXML,/bookstore/book,val,numBooksLet>k=0Repeat>k Let>k=k+1 XMLParse&

Strany 150 - 4.10.10 IEGetTags

222Command Reference© 2015 MJT Net Ltd4.23.1 GetControlTextGetControlText>WindowTitle,ClassName,Instance,ResultReturns the text of the control spec

Strany 151 - 4.10.12 IETagEvent

223 Macro Scheduler© 2015 MJT Net LtdGetTextAtPoint>200,400,strText,nCharif>nChar>-1 MidStr>strText,nChar,1,sCharEndifMessageModal>%st

Strany 152 - 4.10.13 IETagEventByAttrib

224Command Reference© 2015 MJT Net Ltd4.23.5 GetTextPosGetTextPos>text_to_find,left,top,right,bottomSearches the screen for the specified text and

Strany 153 - 4.10.15 RetrievePOP3

225 Macro Scheduler© 2015 MJT Net LtdExampleGetWindowText>Document - WordPad,WordPadText4.23.8 GetWindowTextExGetWindowTextEx>window_title,textN

Strany 154 - 4.10.16 SMTPSendMail

226Command Reference© 2015 MJT Net Ltd4.24VBScript Commands4.24.1 VBENDVBENDNot supported in Macro Scheduler Lite.Marks the end of a block of VBScript

Strany 155 - 4.10.18 TelnetConnect

227 Macro Scheduler© 2015 MJT Net Ltdwhich is a regular Macro Scheduler variable.This command sometimes causes confusion. As it is evaluating a VBScr

Strany 156 - 4.10.20 TelnetWaitFor

228Command Reference© 2015 MJT Net Ltd4.24.3 VBSTARTVBSTARTNot supported in Macro Scheduler Lite.Marks the start of a block of VBScript code. Macro S

Strany 157 - Conditional Commands (If...)

13 Macro Scheduler© 2015 MJT Net Ltd Mark off the days on which you want the macro to run and enter a time. The time must be entered in24 hour notatio

Strany 158 - 4.11.2 IfDirExists

229 Macro Scheduler© 2015 MJT Net LtdIt is possible to set the VBScript code timeout using the VBS_TIMEOUT variable. By defaultVBScript code will nev

Strany 159 - 4.11.4 IfFileExists

230Command Reference© 2015 MJT Net Ltd'TEXT' : identifies the element by the element's innertext property. If element's innertext

Strany 160 - 4.11.6 IfNotDirExists

231 Macro Scheduler© 2015 MJT Net Ltdvariable with subsequent IE functions to target the correct browser window.See also: WebRecorder FunctionsExample

Strany 161 - 4.11.8 IfNotFileExists

232Command Reference© 2015 MJT Net Ltd4.25.6 IEExtractTagIEExtractTag>IE_Reference,Frame,Tagname,Index,All,ResultExtracts text from the specified t

Strany 162 - 4.11.10 IfWindowOpen

233 Macro Scheduler© 2015 MJT Net Ltd4.25.8 IEExtractTagByNameIEExtractTagByName>IE_Reference,Frame,Tagname,Name_Or_ID,All,ResultExtracts text from

Strany 163 - Image Recognition

234Command Reference© 2015 MJT Net Ltd#INDEX#:n where n is the zero based index of the item. To select all items in a multi-select SELECTobject use #I

Strany 164

235 Macro Scheduler© 2015 MJT Net Ltd4.25.12 IEGetHWNDIEGetHWND>IE_Reference,ResultReturns the window handle of the specified IE instance.IE_Refere

Strany 165 - 4.12.3 GetPixelColor

236Command Reference© 2015 MJT Net LtdIEGetURL>IE[0],ie_handle4.25.15 IEGoBackIEGoBack>IE_Reference,ResultNavigates the given IE web browser ins

Strany 166 - 4.12.5 GetScreenRes

237 Macro Scheduler© 2015 MJT Net Ltd4.25.18 IEOnDownloadIEOnDownload>Enabled,Path,ResultEnables or disables Macro Scheduler's IE download man

Strany 167 - 4.12.7 WaitPixelColor

238Command Reference© 2015 MJT Net Ltd4.25.20 IERefreshIERefresh>IE_Reference,ResultRefreshes the page - does the same as clicking the refresh butt

Strany 168 - 4.12.9 WaitScreenImage

14Using Macro Scheduler© 2015 MJT Net LtdIf you choose to run a macro on the 5th of the month and also check the Friday box, the macro willrun every F

Strany 169 - Keyboard Commands

239 Macro Scheduler© 2015 MJT Net Ltd4.25.23 IEWaitIEWait>IE_Reference/URLWaits for the specified browser instance to no longer be busy by monitori

Strany 170 - 4.13.7 ObjectSendText

240Command Reference© 2015 MJT Net LtdIECreate>0,IE[0]IENavigate>%IE[0]%,www.somewhere.com/somefile.exe,ie_resLet>downloaded_filename=C:\Docu

Strany 171 - 4.13.8 Press

241 Macro Scheduler© 2015 MJT Net Ltd4.25.28 IEWaitNewIEWaitNew>New_IE_ReferenceWaits for a new IE WebBrowser object to be created. This is needed

Strany 172 - 4.13.9 Release

242Command Reference© 2015 MJT Net LtdAbbreviation : CloSee also: GetWindowPos , GetActiveWindowExampleCloseWindow>notepad*4.26.2 FindWindowWithTex

Strany 173 - 4.13.12 SendText

243 Macro Scheduler© 2015 MJT Net Ltd4.26.4 GetWindowChildListGetWindowChildList>parent_handle,child_listReturns a list of child objects/windows be

Strany 174 - Loops and Branching

244Command Reference© 2015 MJT Net LtdAbbreviation: GWLExamples://Loop through a list of windowsGetWindowList>winlistSeparate>winlist,CRLF,windo

Strany 175 - 4.14.2 Gosub

245 Macro Scheduler© 2015 MJT Net Ltd4.26.9 GetWindowPosGetWindowPos>window_title,X,YLocates the window specified in window_title and retrieves its

Strany 176 - 4.14.4 Label

246Command Reference© 2015 MJT Net Ltdasterisk will force Macro Scheduler to only look for an exact match.A Regular Expression can be used in window_t

Strany 177 - 4.14.6 SkipLabel

247 Macro Scheduler© 2015 MJT Net Ltdassociated with them cannot be retrieved with GetWindowText. Try the new GetTextAtPoint,GetTextInRect and GetWi

Strany 178 - 4.14.8 While

248Command Reference© 2015 MJT Net Ltd ...Endifor, with a wildcard :IfWindowOpen>notepad* ...Endif4.26.14 IfNotWindowOpenIfNotWindowOpen>windo

Strany 179 - Messages

15 Macro Scheduler© 2015 MJT Net Ltdand you can specify a window title so that the macro starts when that window appears. See Advanced Scheduling Opt

Strany 180 - 4.15.3 Message

249 Macro Scheduler© 2015 MJT Net Ltd4.26.16 ResizeWindowResizeWindow>window_title,new_width,new_heightResizes the window with the specified window

Strany 181 - Miscellaneous

250Command Reference© 2015 MJT Net LtdSetFocus>window_title*First performs an exact case-sensitive match as above and if nothing found does a case-

Strany 182 - 4.16.3 ArrayCount

251 Macro Scheduler© 2015 MJT Net Ltd4.26.19 WaitWindowChangedWaitWindowChanged>timeoutThis command causes Macro Scheduler to wait until the foregr

Strany 183 - 4.16.6 ColorToRGB

252Command Reference© 2015 MJT Net LtdAbbreviation : WWCSee also: Wait , WaitWindowOpen , WaitWindowChanged , WaitWindowFocused .ExamplesWaitWindowClo

Strany 184 - 4.16.9 DelVariable

253 Macro Scheduler© 2015 MJT Net LtdExamplesRun Program>c:\program files\msoffice\winword.exeWaitWindowFocused>microsoft word*//With timeout ch

Strany 185 - 4.16.12 GetEnvVar

254Command Reference© 2015 MJT Net LtdRun Program>c:\program files\msoffice\winword.exeWaitWindowOpen>microsoft word*//With timeout checkingLet&

Strany 186 - 4.16.15 LibFunc

255 Macro Scheduler© 2015 MJT Net Ltd4.27Window Objects4.27.1 FindObjectFindObject>parent_handle,ClassName,CaptionText,Instance,return_handle,X1,Y1

Strany 187

256Command Reference© 2015 MJT Net LtdSee also: SetCheckBoxExampleGetCheckBox>Internet Explorer Prop*,Never dial a &connection,resIf>res=1

Strany 188 - 4.16.17 LibLoad

257 Macro Scheduler© 2015 MJT Net LtdAbbreviation: GFO4.27.5 GetListItemGetListItem>WindowTitle,ClassName,Instance,Text,Column,Case,Partial,Result,

Strany 189 - 4.16.20 PopupMenu

258Command Reference© 2015 MJT Net Ltd//Open Display PropertiesRun>rundll32 shell32.dll,Control_RunDLL Desk.cplWaitWIndowOpen>Display Properties

Strany 190 - 4.16.22 PyExec

16Using Macro Scheduler© 2015 MJT Net Ltd1.13TriggerUnder the Trigger tab of the Macro Properties dialog you can specify a condition which should trig

Strany 191 - 4.16.23 Random

259 Macro Scheduler© 2015 MJT Net Ltd//Assumes Windows Explorer is open at "My Documents" with//explorer bar showing FoldersGetTreeNode>M

Strany 192 - 4.16.26 WaitCursorChanged

260Command Reference© 2015 MJT Net Ltd4.27.8 SelectMenuSelectMenu>WindowTitle,MenuIndex[,SubMenuIndex[,SubMenuIndex[,...]]]Selects the menu item sp

Strany 193 - 4.16.28 WaitProcessTerminated

261 Macro Scheduler© 2015 MJT Net LtdIf>res=1 SetCheckBox>Internet Explorer Prop*,Never dial a &connection,FALSEElse SetCheckBox>Intern

Strany 194 - Mouse Commands

262Command Reference© 2015 MJT Net Ltdvalues (if any), positions and dimensions.Window title can be a full case sensitive title or case insensitive su

Strany 195 - 4.17.4 LDblClick

263 Macro Scheduler© 2015 MJT Net Ltd4.27.15 UIGetValueUIGetValue>Window Title,Object Name, Values,PositionsNot supported in Macro Scheduler Lite.R

Strany 196 - 4.17.8 MDblClick

264Command Reference© 2015 MJT Net LtdUI elements.Window title can be a full case sensitive title or case insensitive substring if followed by the &ap

Strany 197 - 4.17.11 MouseMoveRel

265 Macro Scheduler© 2015 MJT Net LtdVariables can then be passed into other functions as one of the parameters. For example, assumingthe above Let c

Strany 198 - 4.17.13 MUp

266Command Reference© 2015 MJT Net LtdLet>k=2Message>Names_%k%Let>Names_%k%=LouiseArrays created by MacroScript functions are displayed in th

Strany 199 - 4.17.17 RUp

267 Macro Scheduler© 2015 MJT Net Ltddown" through the variable table hierarchy until a match is found. E.g. if we are at level 2 and thereis a

Strany 200 - Numeric Functions

268Command Reference© 2015 MJT Net Ltdthat variable is used, otherwise just that literal value is used. Setting VAREXPLICIT to 1 stops thisbehaviour

Strany 201 - 4.18.2 Let

17 Macro Scheduler© 2015 MJT Net Ltd IfWindowOpen>Calculator Let>MACRO_RESULT=TRUE Else Let>MACRO_RESULT=FALSE EndifEND>TriggerSR

Strany 202 - 4.18.4 Sub

269 Macro Scheduler© 2015 MJT Net LtdEndifMessageModal> Answer: %d%//With IGNORESPACES=1 do the following if you want leading/trailing spaces in as

Strany 203 - Registry Functions

270Command Reference© 2015 MJT Net LtdCRCarriage ReturnLFLine FeedCRLFCarriage Return, Line Feed Combination (to force a new line)TABTab characterSPA

Strany 204 - 4.19.6 RegistryWriteKey

271 Macro Scheduler© 2015 MJT Net LtdPOP3_STATUSUsed to sw itch off/on the RetrievePOP3 status w indowPOP3_PORTUsed to set the POP3 port (defaults to

Strany 205 - Running Programs/Files

272Command Reference© 2015 MJT Net Ltd4.28.7 Variable ExplorerThe variable explorer is activated from the Tools menu of the Script Editor, or by typin

Strany 206

Macro Scheduler273© 2015 MJT Net LtdIndex- % -% 9- * -*/ 208- / -/* 208// 208- _ -_DUMP_VARS 269- A -About 39Abs 55Add

Strany 207 - Script Control

Index 274© 2015 MJT Net LtdDates 62, 63DateStamp 64Day 64DayOfWeek 64DBClose 59DBConnect 60DBExec 60DBQuery 61DDE

Strany 208

Macro Scheduler275© 2015 MJT Net LtdGetClipBoard 58GetControlText 222, 256GetCursorPos 184GetDate 65GetDialogAction 103GetDialogPr

Strany 209

Index 276© 2015 MJT Net Ltd- L -Label 165, 202LabelToVar 216Large Buttons 34LCL 184LClick 184LDB 184LDblClick 184LDO 1

Strany 210 - 4.21.4 Exit

Macro Scheduler277© 2015 MJT Net LtdPUS 259push 259PushButton 259PutClipBoard 58PyExec 179Python 179- Q -quick launch 19Qu

Strany 211 - 4.21.6 If

Index 278© 2015 MJT Net LtdSMTP_RESULT 269SMTP_TIMEOUT 269SMTP_USERID 269SMTPSendMail 143SOF 162SON 162Sort 33sound 17

Strany 212 - 4.21.7 IfNot

18Using Macro Scheduler© 2015 MJT Net LtdWhen Windows is logged out Macro Scheduler cannot run. Instead the Macro Scheduler Service willtake over sch

Strany 213 - 4.21.10 Label

Macro Scheduler279© 2015 MJT Net LtdWPC 156WRC 157WRD 209WriteLn 128WSI_TIMEOUT 269WST_TIMEOUT 269WW_RESULT 269WW_TIMEOUT

Strany 214 - 4.21.11 Let

IIContents© 2015 MJT Net Ltd...

Strany 215 - 4.21.13 OnEvent

19 Macro Scheduler© 2015 MJT Net LtdSimply check the "Encrypt This Macro" box and provide a password.The password must be entered twice to e

Strany 216

20Using Macro Scheduler© 2015 MJT Net Ltdalready in the specified path will be displayed in the group. If any macros are added to the folder atany ti

Strany 217

21 Macro Scheduler© 2015 MJT Net Ltdyour actions cause windows to appear and insert code to make sure the macro waits for thosewindows to appear befor

Strany 218 - 207 Macro Scheduler

22Using Macro Scheduler© 2015 MJT Net Ltd1.22Creating Desktop ShortcutsYou can tell Macro Scheduler to create a shortcut for a macro by selecting the

Strany 219 - 4.21.15 Repeat

23 Macro Scheduler© 2015 MJT Net Ltdcan again be stepped or run.Variable BreakpointsAllows you to set one or more variable values on which script exec

Strany 220 - 4.21.18 WaitReady

24Using Macro Scheduler© 2015 MJT Net LtdArrays will show (Array) after them. Double click on array variables to see their element values.You can mod

Strany 221 - String Handling

25 Macro Scheduler© 2015 MJT Net LtdSelect objects from the Objects bar to add to the dialog. Objects can be moved around and resized.Toolbar buttons

Strany 222 - 4.22.2 Base64

26Using Macro Scheduler© 2015 MJT Net LtdSimply use WebRecorder as you would a web browser. As you navigate around the web page youwill see code prod

Strany 223 - 4.22.4 Crypt

27 Macro Scheduler© 2015 MJT Net LtdThis is useful for creating shortcuts and running Macro Scheduler scripts from other programs or frommacros create

Strany 224 - 4.22.7 ExtractFilePath

28Using Macro Scheduler© 2015 MJT Net LtdScript URLsThe script file can also be an HTTP URL, so that you can run macros from the web:msched.exe http:/

Strany 225 - 4.22.8 Format

Macro SchedulerIII© 2015 MJT Net LtdPart IV Command Reference54...

Strany 226 - 4.22.12 JSONParse

29 Macro Scheduler© 2015 MJT Net Ltdhttp://www.mjtnet.com/support.htmPlease also send bug reports, comments and suggestions via the above page.For hin

Strany 228 - 4.22.17 MidStr

31 Macro Scheduler© 2015 MJT Net Ltd2 Menu Commands2.1New MacroDisplays the Macro Properties window for creating a new macro.2.2New Macro From Templa

Strany 229 - 4.22.19 RegEx

32Menu Commands© 2015 MJT Net Ltdalready exists it will be overwritten only if 'Overwrite on Collision' is checked.Please note: Import Macro

Strany 230 - 4.22.22 StringReplace

33 Macro Scheduler© 2015 MJT Net LtdIt is possible to create "Linked Groups". Linked Groups are designed for collaboration and sharing ofma

Strany 231 - 4.22.25 XMLParse

34Menu Commands© 2015 MJT Net Ltd2.16Grid LinesToggles the grid lines in the macro list on and off.2.17ListSwitches the macro list into list view, sho

Strany 232 - Text Capture

35 Macro Scheduler© 2015 MJT Net LtdCreate ConsoleAppCompile IncludesCreates an EXE which runs as a console app and can write to STDOUTScripts referen

Strany 233 - 4.23.2 GetTextAtPoint

36Menu Commands© 2015 MJT Net LtdLicense.datThese files can be found in the Macro Scheduler program folder. Copy the above files to the samelocation

Strany 234 - 4.23.4 GetTextInRect

37 Macro Scheduler© 2015 MJT Net Ltd- Close the selected window - use this with caution.2.26OptionsDisplays the options dialog. Options are: Stop Run

Strany 235 - 4.23.7 GetWindowText

38Menu Commands© 2015 MJT Net LtdDisable Scheduler while editing/debugging scriptsBy default schedules continue to occur while the editor/macro proper

Strany 236 - 4.23.9 WaitScreenText

IVContents© 2015 MJT Net Ltd...

Strany 237 - VBScript Commands

39 Macro Scheduler© 2015 MJT Net Ltd2.33AboutDisplays the About dialog box. This is useful to determine which version of Macro Scheduler you areusing

Strany 238

Scripting Windows For BeginnersPartIII

Strany 239 - 4.24.4 VBRun

41 Macro Scheduler© 2015 MJT Net Ltd3 Scripting Windows For Beginners3.1IntroductionMacro Scheduler provides a simple but powerful language for automa

Strany 240 - WebRecorder Functions

42Scripting Windows For Beginners© 2015 MJT Net LtdF1 while a command is selected.3.5First StepsUsually, we'll already be familiar with the proce

Strany 241 - 4.25.3 IECreate

43 Macro Scheduler© 2015 MJT Net LtdSo I've written some text and now I want tosave the document. Let's see what the keysequence is for thi

Strany 242 - 4.25.5 IEExtractTableByName

44Scripting Windows For Beginners© 2015 MJT Net Ltd3.6.1 Run NotepadThere are a number of ways to run Notepad. I expect most of us will use our mouse

Strany 243 - 4.25.7 IEExtractTagByAttrib

45 Macro Scheduler© 2015 MJT Net LtdSend>This is line twoPress EnterSend>This is the third and final line.But let's be a bit cleverer. Let

Strany 244 - 4.25.9 IEFormFill

46Scripting Windows For Beginners© 2015 MJT Net Ltd3.6.4 Press ALT-FAWhen we press the ALT key we will hold it down, send the other keys with it and t

Strany 245 - 4.25.11 IEGetFromURL

47 Macro Scheduler© 2015 MJT Net LtdLet>filename=c:\my documents\sample.txtAssuming we have done this we could just now send the filename and press

Strany 246 - 4.25.14 IEGetURL

48Scripting Windows For Beginners© 2015 MJT Net Ltd3.6.7 The Script So FarNote the variable 'filename' declared at the top. After running t

Strany 247 - 4.25.17 IENavigate

Macro SchedulerV© 2015 MJT Net Ltd...

Strany 248 - 4.25.19 IEQuit

49 Macro Scheduler© 2015 MJT Net LtdIf you close Notepad and run the script again the same thing will happen. No errors, because thefilename has been

Strany 249 - 4.25.22 IEShowIE

50Scripting Windows For Beginners© 2015 MJT Net LtdWaitWindowOpen>NotepadWaitWindowClosed>NotepadDon't be tempted to just use a WaitWindowC

Strany 250 - 4.25.25 IEWaitFileDownload

51 Macro Scheduler© 2015 MJT Net Ltd//Set the name of our fileLet>filename=c:\samplefile.txt//Start NotepadRun>notepad.exeWaitWindowOpen>Unti

Strany 251 - 4.25.27 IEWaitTimeout

52Scripting Windows For Beginners© 2015 MJT Net Ltd3.8Where To Go From HereIn this guide we have met the following common commands:Run ProgramWaitWind

Strany 252 - Window Functions

Command ReferencePartIV

Strany 253 - 4.26.3 GetActiveWindow

54Command Reference© 2015 MJT Net Ltd4 Command Reference4.1Complex ExpressionsSyntaxIn Macro Scheduler all complex functions should be contained withi

Strany 254 - 4.26.6 GetWindowList

55 Macro Scheduler© 2015 MJT Net Ltd4.1.2 Logical OperatorsBitwise logical operatorsnot bitwise negationand bitwise andor bitwise orxor bitwise xorshl

Strany 255 - 4.26.8 GetWindowParent

56Command Reference© 2015 MJT Net Ltdfunction Cos(X: Float): FloatThe Cos function returns the cosine of the angle X, in radians.function Exp(X: Float

Strany 256 - 4.26.10 GetWindowProcess

57 Macro Scheduler© 2015 MJT Net Ltdsearches for Substr within S and returns an integer value that is the index of the first character ofSubstr within

Strany 257 - 4.26.12 GetWindowText

58Command Reference© 2015 MJT Net LtdOf course we could do:Let>[email protected]>at={Pos("@",%email%)}Let>IsItAnEmail={i

Strany 258 - 4.26.13 IfWindowOpen

VIContents© 2015 MJT Net Ltd...

Strany 259 - 4.26.15 MoveWindow

59 Macro Scheduler© 2015 MJT Net Ltd4.3Console App Funtions4.3.1 SOWriteSOWrite>textWrites text to STDOUT. For compiled console EXEs only. This f

Strany 260 - 4.26.17 SetFocus

60Command Reference© 2015 MJT Net Ltd4.4.2 DBConnectDBConnect>connection_string,database_referenceNot supported in Macro Scheduler Lite.Connects to

Strany 261 - 4.26.18 ShutDownWindows

61 Macro Scheduler© 2015 MJT Net LtdFor more advanced database manipulation use VBScript. See:http://www.mjtnet.com/blog/2006/02/20/accessing-databas

Strany 262 - 4.26.20 WaitWindowClosed

62Command Reference© 2015 MJT Net LtdTo set a timeout for the command set the DB_COMMANDTIMEOUT variable to a number ofseconds.For more advanced datab

Strany 263 - 4.26.21 WaitWindowFocused

63 Macro Scheduler© 2015 MJT Net Ltdformat.See also: DateDiff , DateLocal , DatePartExamplesGetDate>todayDateAdd>today,D,-1,yesterdayDateAdd>

Strany 264 - 4.26.22 WaitWindowOpen

64Command Reference© 2015 MJT Net LtdD: Day of monthM: MonthY: YearThe date should be in a format recognised by the system. Use DateLocal to generat

Strany 265 - 4.26.23 WindowAction

65 Macro Scheduler© 2015 MJT Net Ltdday 7.Abbreviation : DOWSee also: Day , Month , Year , GetDate , GetTimeExampleThis example displays the current d

Strany 266 - Window Objects

66Command Reference© 2015 MJT Net LtdConCat>msg,dateMessage>msg4.5.9 GetTimeGetTime>resultReturns the current time in the specified variable.

Strany 267 - 4.27.4 GetFocusedObject

67 Macro Scheduler© 2015 MJT Net Ltd4.5.12 MonthMonth>resultReturns the current month number in the specified variable. Abbreviation : MonSee also

Strany 268 - 4.27.5 GetListItem

68Command Reference© 2015 MJT Net LtdTimeAdd>now,M,30,HalfHourLater4.5.15 TimeDiffTimeDiff>time1,time2,interval,resultReturns the difference bet

Strany 269 - 4.27.6 GetTreeNode

Macro SchedulerVII© 2015 MJT Net Ltd...

Strany 270 - 4.27.7 PushButton

69 Macro Scheduler© 2015 MJT Net LtdSee also: TimeAdd , TimeDiff , TimePartExample:TimeLocal>13,15,00,localTime4.5.18 TimerTimer>resultReturns t

Strany 271 - 4.27.9 SetCheckBox

70Command Reference© 2015 MJT Net Ltd4.6DDE Commands4.6.1 DDEPokeDDEPoke>Server,Topic,Item,DataPokes data to the given DDE server. The server&apos

Strany 272 - 4.27.12 UIAccessibleList

71 Macro Scheduler© 2015 MJT Net LtdExamples4.7.1 Dialog ObjectsThe following types of object are currently supported:Form (The Dialog Itself)LabelEdi

Strany 273 - 4.27.14 UIFocus

72Command Reference© 2015 MJT Net LtdAddDialogHandler>Dialog1,btnBrowse,OnClick,DoBrowse//Here we perform the file browse, then get the filename an

Strany 274 - 4.27.17 UISelect

73 Macro Scheduler© 2015 MJT Net LtdLeft Specifies the horizontal coordinate of the left edge of acomponent relative to its parent. LoadBitmapSpecify

Strany 275

74Command Reference© 2015 MJT Net Ltdautomatically to accommodate its contents. BiDiMode Specifies the bi-directional mode for the control. BorderIcon

Strany 276 - 4.28.2 Arrays

75 Macro Scheduler© 2015 MJT Net LtdLeft Specifies the horizontal coordinate of the left edge ofa component relative to its parent. Margins Specifies

Strany 277 - 4.28.3 Scope

76Command Reference© 2015 MJT Net LtdNote: it may not be possible to use all of these properties fully within Macro Scheduler.4.7.1.4 MainMenu - Menu

Strany 278

77 Macro Scheduler© 2015 MJT Net LtdConstraints Specifies the size constraints for the control. Cursor Specifies the image used to represent the mouse

Strany 279

78Command Reference© 2015 MJT Net LtdWidth Specifies the horizontal size of the control or form inpixels. WordWrap Specifies whether the label text wr

Strany 280 - 4.28.6 System Variables

VIIIContents© 2015 MJT Net Ltd...

Strany 281

79 Macro Scheduler© 2015 MJT Net LtdImeName Specifies the input method editor (IME) to use for convertingkeyboard input to Asian language characters.

Strany 282 - Result Variables:

80Command Reference© 2015 MJT Net LtdBiDiMode Specifies the bi-directional mode for the control. BorderStyle Determines whether the edit control has a

Strany 283 - Error Handling

81 Macro Scheduler© 2015 MJT Net LtdBiDiMode. ParentColor Determines where a control looks for its colorinformation. ParentCtl3D Determines where a co

Strany 284 - Macro Scheduler273

82Command Reference© 2015 MJT Net LtdBiDiMode Specifies the bi-directional mode for the control. Caption Specifies a text string that identifies the c

Strany 285 - Index 274

83 Macro Scheduler© 2015 MJT Net LtdTabOrder Indicates the position of the control in its parent's taborder. TabStop Determines if the user can t

Strany 286 - Macro Scheduler275

84Command Reference© 2015 MJT Net LtdFont Controls the attributes of text written on or in thecontrol. Height Specifies the vertical size of the contr

Strany 287 - Index 276

85 Macro Scheduler© 2015 MJT Net LtdTabStop Determines if the user can tab to a control. TabWidth Specifies the size of the tabs in the list box. Tag

Strany 288 - Macro Scheduler277

86Command Reference© 2015 MJT Net Ltdthe drop-down list. Enabled Controls whether the control responds to mouse,keyboard, and timer events. Font Contr

Strany 289 - Index 278

87 Macro Scheduler© 2015 MJT Net LtdTabStop Determines if the user can tab to a control. Tag Stores an integer value as part of a component. Text Cont

Strany 290 - Macro Scheduler279

88Command Reference© 2015 MJT Net Ltdstored in the dialog. To link dynamically assign afilename to LoadImage at runtime.Margins Specifies the margins

Komentáře k této Příručce

Žádné komentáře