Macro Keywords P-CAD 2000 (and ACCEL EDA Ver. 15)

September 25, 2000

By James O. Jackson
Copyright 2000 - Oztronics

Below is a list of the Macro Keywords that P-CAD 2000 Version 15 supports.

Please Note: You may not see this list published elsewhere.

KeyWord
Brief Description
Example
PcbMacro
Defines the Macro as being one for PCB Layout PcbMacro Sch-Start 'Created by jjackson on Tue Sep 12 09:04:29 2000
SchMacro
Defines the Macro as being one for Schematic Capture SchMacro testsch 'Created by jjackson on Wed Sep 25 11:16:29 2000
SymEdMacro
Defines the Macro as being one for Symbol Editor SymEdMacro SymbolEdit 'Created by jjackson on Thu Jul 27 10:21:39 2000
PatEdMacro
Defines the Macro as being one for Pattern Editor PatEdMacro Pated-Grids 'Created by jjackson on Mon Jul 31 13:22:58 2000
LeftMouseUp
Emulates Releasing the Left Mouse Button LeftMouseUp 6787600 appunits 8264400 appunits
LeftMouseDown
Emulates Pressing (or Selecting) the Left Mouse Button LeftMouseDown 6787600 appunits 8264400 appunits
LeftMouseDown&KeyStroke
Emulates Pressing (or Selecting) the Left Mouse Button followed by a Key Press LeftMouseDown&KeyStroke 3294400 appunits 7554400 appunits SHIFT
LeftMouseDoubleClick
Emulates a Left Mouse Button DoubleClick LeftMouseDoubleClick 14275393 appunits 13921322 appunits
RightMouseUp
Emulates Releasing the Right Mouse Button RightMouseUp 3294400 appunits 7554400 appunits
RightMouseDown
Emulates Pressing (or Selecting) the Right Mouse Button RightMouseDown 3294400 appunits 7554400 appunits
ExecuteCommand
Executes the Command ExecuteCommand "sch.exe"
SendKeys
Emulates sending keystrokes to the application SendKeys "{0}"
Origin
Sets the Origin to the current point Origin
Suspend
Suspends the Macro execution, until the 'Continue' Button is pressed. Suspend
Wait
Causes the Macro to Wait an indicated amount of time in Seconds.
The amount of time is counted down in a popup window.
Wait 5
End
The last statement in a Macro which indicates the end. End
appunits
Units used for moving in the application.
1mil = 2540appunits 1mm = 100000appunits
RightMouseUp 3294400 appunits 7554400 appunits
pixels
Units used for moving in the menus. LeftMouseUp 80 pixels 619 pixels
dlgunits
LeftMouseUp 2 dlgunits 4 dlgunits

Oztronics
9605 Hwy 90 West, #41
San Antonio, Texas 78245 • USA
210-675-4087 • FAX 210-675-4087

This document is copyright © 2000 by Oztronics

- Return to Tip of the Month Main Menu -
- Return to Main Menu -


FastCounter by bCentral