SET CUSTOM PROC NAME: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
CatoH (talk | contribs)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Procs:Process_Data|{{Up}}]]
{{Command|syntax=SET_CUSTOM_PROC_NAME <process number>, <variable>
{{Command|syntax=SET_CUSTOM_PROC_NAME <process number>, <variable>
|description=:Set a name for a process using a string variable.
|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={{string variable}}
|param2=<variable>|param2_desc={{parameter_variable_string_name}} the process name.
}}
}}


===Example===
===Example===
:SET_CUSTOM_PROC_NAME 6, d$
: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

Up

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)