Hi, I need some help from you experts,
I have a macro with an action inside. If I would like to change the name of the action I can use eg.ActionBase.GetLabel. This is working fine, no problems.
But how can I change the name of the macro itself in a similar way?
Best regards, Walter
How to change name of a macro?
-
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
How to change name of a macro?
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: How to change name of a macro?
If I understand correctly, then I think it's impossible.
A macro is automatically named when it is created (according to the action with which it is created), but later they can not.
Remember that the macro can contain multiple events.
Based on what action would the macro be automatically renamed?
Pako
A macro is automatically named when it is created (according to the action with which it is created), but later they can not.
Remember that the macro can contain multiple events.
Based on what action would the macro be automatically renamed?
Pako
-
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: How to change name of a macro?
I see, you are of course right.
I was looking how to cheat using functions in the eg built in functions like eg.actionThread.Func(macroItem.RenameTo)(label) in file NewMacro.py
My very best regards, Walter
I was looking how to cheat using functions in the eg built in functions like eg.actionThread.Func(macroItem.RenameTo)(label) in file NewMacro.py
My very best regards, Walter
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM