Replace Macros

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
User avatar
Jay Dee
Posts: 398
Joined: Tue Aug 18, 2009 6:42 pm
Has thanked: 121 times
Been thanked: 154 times
Contact:

Replace Macros

Post by Jay Dee »

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.

User avatar
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

Post by Benj »

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.

Post Reply