"ONPRINT P=n BUTTON=(PRINT|CANCEL)" // Handles print dialogs. The ONLOGIN command must appear before the macro command that navigates to the site that brings up the login dialog. "ONLOGIN USER=username PASSWORD=password RETRY=" // Handles login dialogs. This command handles such a dialog so your macros are not interrupted by script errors. "ONERRORDIALOG BUTTON=(YES|NO) CONTINUE=(YES|NO)" // If a page script error occurs on a webpage Internet Explorer opens an error dialog. #Imacros set wait page complete downloadWith this command, which has to occur before the download starts, the location and name of the saved file is determined. "ONDOWNLOAD FOLDER=folder_name FILE=file_name WAIT= CHECKSUM=" // iMacros automatically detects and intercepts downloads. You can extract the text of a dialog by adding "SET !EXTRACTDIALOG YES" to your macro. "ONDIALOG POS=n BUTTON=(YES|NO|CANCEL) " // Handles upcoming Javascript dialogs. "ONCERTIFICATEDIALOG C=n BUTTON=" // Selects the client side certificate at position C from the upcoming dialog. The frame tag and number is automatically generated by clicking into a framed web page. "FRAME (F=n|NAME=id)" // Directs all following TAG or EXTRACT commands to the specified frame. Currently only the TYPE=IMAGES filter is supported. "FILTER TYPE=IMAGES STATUS=(ON|OFF)" // Filtering is a feature that allows you to change data on the website before it reaches the browser. If no directory is specified in Name the file is assumed to lie in the iMacros Downloads subdirectory. "FILEDELETE NAME=file_name" // Deletes the file specified by Name. "SET !VAR1 EVAL('')" // This command allows you to evaluate values, and trigger macro errors if certain conditions are met. "CLICK X=n Y=m" // "Clicks" on the HTML element at the specified X/Y coordinates. "CLEAR" // Clears the browsers cache and all cookies. "BACK" // Opens the previously visited website. You can also substract values by adding a negative value to the variable. "ADD !VAR value" // Add a value to a variable. Typically this is used for comments or to disable specific parts of a macro. If a line starts with ' everything else on this line is ignored. "' comment" // The single quote character ' indicates a comment. They are defined in-macro using the SET command. They contain certain values set by iMacros. They can be used with the SET and ADD command inside a macro. * The macro variables !VAR0 thru !VAR9. iMacros supports 3 types of variables:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |