Hi,
Is it possible to 'replace' user macros (as opposed to FC components and associated macros)
The import/export feature is very useful but sometimes I improve and update these macros. I can't then see a quick way of importing and replacing the older macro with the new.
thanks, J.
Replace Macros
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Replace Macros
Hello John,
There is a way to do this but it's not currently as nice as it could be.
Import the new version of the macro with a slightly different macro name.
Then use the Edit -> Find/Replace menu item
Enter the name of the old macro in the "Find what" field.
Tick the replace with checkbox and enter the name of the new macro here.
Tick the All macros checkbox.
Then hopefully it should be a case of clicking Replace All to move the code to point to the new macro.
The old macro can then be left in the project or deleted as required.
There is a way to do this but it's not currently as nice as it could be.
Import the new version of the macro with a slightly different macro name.
Then use the Edit -> Find/Replace menu item
Enter the name of the old macro in the "Find what" field.
Tick the replace with checkbox and enter the name of the new macro here.
Tick the All macros checkbox.
Then hopefully it should be a case of clicking Replace All to move the code to point to the new macro.
The old macro can then be left in the project or deleted as required.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel