SET CUSTOM PROC NAME: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 2: | Line 2: | ||
{{Command|syntax=SET_CUSTOM_PROC_NAME <process number>, <variable> | {{Command|syntax=SET_CUSTOM_PROC_NAME <process number>, <variable> | ||
|description=:Set | |description=:Set the name of a custom process. | ||
|param1=<process number>|param1_desc={{process number}} | |param1=<process number>|param1_desc={{process number}} | ||
|param2=<variable>|param2_desc={{ | |param2=<variable>|param2_desc={{parameter_variable_string_name}} the process name. | ||
}} | }} | ||
===Example=== | ===Example=== | ||
:SET_CUSTOM_PROC_NAME | :a$ = "ProcName" | ||
:SET_CUSTOM_PROC_NAME 4, a$ | |||
===Workaround for creating Volumill process=== | |||
:create_process MILL_ROUGH, 1, 1 | |||
:SET_CUSTOM_PROC_NAME 1, "Custom_Plugin_VoluMill" | |||
:SET_VOLUMILL_PROC_DATA 1, HighFeed, 10000 | |||
:SET_VOLUMILL_PROC_DATA 1, RPM, 6000 | |||
:SET_VOLUMILL_PROC_DATA 1, Entryclear, 10 | |||
:SET_VOLUMILL_PROC_DATA 1, ExitClear, 10 | |||
(dirty workaround until creation of Custom Process types are available) | |||
[[Category:Procs]] | [[Category:Procs]] | ||
Latest revision as of 21:45, 21 February 2025
Command
- SET_CUSTOM_PROC_NAME <process number>, <variable>
- Set the name of a custom process.
Parameters
- <process number>
- Process number.
- <variable>
- Name of string variable to be set to the process name.
Example
- a$ = "ProcName"
- SET_CUSTOM_PROC_NAME 4, a$
Workaround for creating Volumill process
- create_process MILL_ROUGH, 1, 1
- SET_CUSTOM_PROC_NAME 1, "Custom_Plugin_VoluMill"
- SET_VOLUMILL_PROC_DATA 1, HighFeed, 10000
- SET_VOLUMILL_PROC_DATA 1, RPM, 6000
- SET_VOLUMILL_PROC_DATA 1, Entryclear, 10
- SET_VOLUMILL_PROC_DATA 1, ExitClear, 10
(dirty workaround until creation of Custom Process types are available)