Template:Program Variables: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
Mikeo (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
| align="left" |'''Program_Variables'''||'''Description'''
| align="left" |'''Program_Variables'''||'''Description'''
|-
|-
| align="left" |PLUGIN_VERSION_1 || version number of GibbsCAM that the macro plugin
| align="left" | PLUGIN_VERSION_1 || Version number of GibbsCAM that the macro plugin
|-
|-
| align="left" |PLUGIN_VERSION_2 || was developed for, expressed as 3 values. eg 9.5.1
| align="left" | PLUGIN_VERSION_2 || was developed for, expressed as 3 values. eg 9.5.1
|-
|-
| align="left" |PLUGIN_VERSION_3 || version_1 = 9, version_2 = 5, version_3 = 1
| align="left" | PLUGIN_VERSION_3 || version_1 = 9, version_2 = 5, version_3 = 1
|-
|-
| align="left" |GIBBSCAM_VERSION_1|| 
| align="left" | GIBBSCAM_VERSION_1 || Version number of GibbsCAM that is
|-
|-
| align="left" |GIBBSCAM_VERSION_2|| 
| align="left" | GIBBSCAM_VERSION_2 || currently running, expressed as 3 values
|-
|-
| align="left" |GIBBSCAM_VERSION_3|| 
| align="left" | GIBBSCAM_VERSION_3 || same format as plugin_version
|-
|-
| align="left" |CURRENT_WG_NUM|| 
| align="left" | CURRENT_WG_NUMBER || The current WorkGroup number
|-
|-
| align="left" |CURRENT_CS_NUM|| 
| align="left" | CURRENT_CS_NUMBER || The current CS number
|-
|-
| align="left" |SCREEN_WIDTH|| 
| align="left" | SCREEN_WIDTH || Total screen width, in screen units
|-
|-
| align="left" |SCREEN_HEIGHT|| 
| align="left" | SCREEN_HEIGHT || Total screen height
|-
|-
| align="left" |GIBBSCAM_WINDOW_X1|| 
| align="left" | GIBBSCAM_WINDOW_X1 || Left corner of GibbsCAM window
|-
|-
| align="left" |GIBBSCAM_WINDOW_Y1|| 
| align="left" |GIBBSCAM_WINDOW_Y1 || Top corner of GibbsCAM window
|-
|-
| align="left" |GIBBSCAM_WINDOW_X2|| 
| align="left" |GIBBSCAM_WINDOW_X2 || Right corner of GibbsCAM window
|-
|-
| align="left" |GIBBSCAM_WINDOW_Y2|| 
| align="left" |GIBBSCAM_WINDOW_Y2 || Bottom corner of GibbsCAM window
|-
|-
| align="left" |EXCEL_IS_OPEN|| 
| align="left" |EXCEL_IS_OPEN || Set to 1 if Excel is currently opened by a macro
|-
|-
| align="left" |EXCEL_IS_VISIBLE|| 
| align="left" |EXCEL_IS_VISIBLE || Set to 1 if Excel is visible, 0 if hidden
|}
|}

Latest revision as of 17:25, 17 January 2011

Program_Variables Description
PLUGIN_VERSION_1 Version number of GibbsCAM that the macro plugin
PLUGIN_VERSION_2 was developed for, expressed as 3 values. eg 9.5.1
PLUGIN_VERSION_3 version_1 = 9, version_2 = 5, version_3 = 1
GIBBSCAM_VERSION_1 Version number of GibbsCAM that is
GIBBSCAM_VERSION_2 currently running, expressed as 3 values
GIBBSCAM_VERSION_3 same format as plugin_version
CURRENT_WG_NUMBER The current WorkGroup number
CURRENT_CS_NUMBER The current CS number
SCREEN_WIDTH Total screen width, in screen units
SCREEN_HEIGHT Total screen height
GIBBSCAM_WINDOW_X1 Left corner of GibbsCAM window
GIBBSCAM_WINDOW_Y1 Top corner of GibbsCAM window
GIBBSCAM_WINDOW_X2 Right corner of GibbsCAM window
GIBBSCAM_WINDOW_Y2 Bottom corner of GibbsCAM window
EXCEL_IS_OPEN Set to 1 if Excel is currently opened by a macro
EXCEL_IS_VISIBLE Set to 1 if Excel is visible, 0 if hidden