logo

Macro Expert

Save your TIME!

Site Map About us
Home Overview Downloads Purchase Support Contact Us
 
 

Command line Usage


Macro Player is designed to allow the user playing a macro from the command line environment, such as batch file, an external program and "Command Prompt".

If you want to use Macro Player on the command line, the syntax of the Macro Player command is:

"C:\Program files\GrassSoft\Macro Expert\MacroPlayer.exe" "MacroFile.msd" [option1:value1 | option2:value1 | - [...]]

Options

  • "MacroFile" Required parameter, specifies the macro file to play, the file name must be quoted by a pair of the double quotation marks.


  • Speed Specifies the initial speed of playback, the speed value should be in range -10 to 10, and the value 0 indicates the original speed.


  • Pause Specifies whether to pause before playing back.


  • Quickplay Specifies 0 or 1 to determine whether showing the play option dialog or not.


  • Times Specifies the total repeat times of playback.


  • Password Specifies the password to play the macro.


  • -v Specifies the initial value of the variables. Multiple variables should be separated by the ampersand character & and quoted by the double quotation marks.

    Example

    Basic usage:

    MacroPlayer.exe "calc.msd" times:1

    Quick play:

    MacroPlayer.exe "calc.msd" quickplay:1

    Given initial play speed:

    MacroPlayer.exe "calc.msd" quickplay:1 speed:2

    Given initial variables value:

    MacroPlayer.exe "calc.msd" quickplay:1 speed:2 -v"name=jack&age=20"
  • Introduction
  • Compare Editions
  • Installation and Uninstall
    • Minimum system requirements
    • Installnation
    • Uninstalling
  • Work environment
    • Getting familiar with Macro Manager
    • Folder panel
    • The tool bar of the macro list
    • Working with the progress window
    • Working with Macro Player Manager
  • Using Macro Expert
    • Basic concept of Macro Expert
    • Creating a new macro
    • Playing a macro manually
    • Recording/Editing TemporaryMacro
    • Playing TemporaryMacro
    • Stop Macro Service
    • Disabling all triggers of macro
  • Changing the properties of a macro
    • General
    • Scope
    • Triggers
    • Schedule
    • Play back
    • Advance
  • Triggering macro
    • Triggering macro overview
    • Idle trigger
    • Startup trigger
    • System event trigger
    • Resource event trigger
    • Driver trigger
    • Dial trigger
    • Hotkey
    • Window Trigger
    • File Trigger
  • Scheduling macro
    • Scheduling macro overview
    • Minute
    • Daily
    • Weekly
    • Monthly
    • Once
    • At a time
  • Changing Options
    • General
    • Hot keys
    • TemporaryMacro
    • Play back
    • Record
    • Macro list
    • Auto-logon
    • Appearance
  • Script Editor
    • Looking at the work area
    • Inserting an action
    • Editing an action
    • Removing one or more actions
    • Working with the variables
  • Macro Commands
    • General settings and Error Handling Options
    • Keyboard and mouse
      • Key action
      • Mouse action
      • Put a Text
      • Mouse Move Activity
      • Mouse Action on Object
    • Dialog
      • Display Message Dialog
      • Select a Folder
      • File-selection Dialog
      • Input Dialog
      • Show Tip Text
      • Hide tip text
    • Wait
      • Delay
      • Wait for a window
      • Wait for color
      • Wait for keystroke
      • Wait for mouse motion
      • Wait for file
      • Wait for process
    • Play Control
      • On Error
      • Pause
      • Stop
      • End
      • Play speed
      • Play a macro
      • Set emulation level
    • System
      • Run
      • Image search
      • Text earch based on image
      • Generate random number
      • Log off
      • Start Screen-Saver
      • Lock workstation
      • Shut down computer
      • Registry Operation
      • Call an External DLL
      • Send Message to Window
      • Get Text from Object
    • Flow
      • Comments
      • Separator line
      • Label
      • Goto
      • If variable
      • If color
      • If File Exists
      • If Window Exists
    • Loop
      • Loop
      • Loop Windows
      • Loop Files
      • Loop Processes
      • Loop Control
    • Window
      • Window action
    • Clipboard
      • Copy, Cut, Paste and Clear
      • Put a text to the clipboard
      • Get the text from the clipboard
    • Multimedia
      • Play an audio
      • Increase/Decrease Volume
      • Adjust volume
      • Sound Switch
      • Sound on/off
      • CD Player
    • Network
      • Make remote access connection
      • Disconnect remote access connection
      • Connect network resource
      • Disonnect network resource
      • Clear Internet Explorer History
      • Delete Internet Explorer Cookies
      • Delete Tempoary Internet Files
      • Internet Explorer Navigation Actions
    • Webpage
      • On Popup Window on Webpage
      • Open a Web page
      • Connect a Opened Webpage
      • Close Webpage
      • Read Field on Webpage
      • Fill Field on Webpage
      • Submit Form on Webpage
      • Click Element on Webpage
      • Find Element on Webpage
    • File
      • Copy files
      • Move files
      • Delete files
      • Create a folder
      • Delete a folder
      • Rename files
      • Set file attributes
      • Change file time
      • Synchronize Folders
      • Compress files
      • Extract a zipped file
      • Read text file
      • Write text file
    • Document
      • Open Document
      • Close Document
      • Save Document
      • Read Excel Cell
      • Write Excel Cell
      • Find Excel Cell
      • Add Worksheet
      • Remove Worksheet
      • Activate Worksheet
    • Variable
      • Increase/Decrease value
      • Set value
      • Advanced Set Variable Value
      • Advanced Get Variable Value
    • Database
      • Execute SQL Statement
      • Close Dataset
      • Set Field Value
      • Get Field Value
      • Change Current Record Position
  • Command Line Usage
  • Variables and Expressions
  • Frequent Question and Answer
  • Purchasing Macro Expert
  • Contact Grass Software
  • License Agreement
  • Help & Support
    Support
    Online Manual
    Online Bug Report
    Suggestion & Comments
    Downloads
    Macro Expert
    Advanced Key and Mouse Recorder
    GS Typing Tutor
    GS Typing Test
    GS Typing Network
    Websites
    GS Typing Tutor
    One-hand typing tutor
    Macro Expert
    Advanced Key and Mouse Recorder
    Company
    About Us
    Press Room
    Privacy Policy
    Links
    Copyright © 2002-2009 GrassSoftware. All Rights Reserved.