Macro "Locking"

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

Moderators: Benj, Mods

Ron
Posts: 225
Joined: Wed Apr 11, 2007 6:15 pm
Has thanked: 2 times
Contact:

Macro "Locking"

Postby Ron » Wed May 23, 2007 3:27 pm

Hi,

Is there a way to "lock" a macro. That is to say, allow someone to use the macro in flowcode, but not let them open the macro flowchart, and not let them modify the macro?

This would be nice, I am going to give several small PIC controllers I am building to a local cub scout troop. I have known the troop leader for 20+ years and he is going to speak to the parents about ordering 4 of the student licenses, I supplied him 4 older PC's with monitors as well.

I want the kids to be able to create their own sequences by calling my macros, but not let them get in and possibly break the macros.

Thanks

Ron

User avatar
Steve
Matrix Staff
Posts: 2987
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 67 times
Been thanked: 299 times
Contact:

Postby Steve » Wed May 23, 2007 4:45 pm

Hello Ron,

No such facility exists at the moment, but it is a good idea. I will look at adding it to a future release.

AbhijitR
Posts: 16
Joined: Fri Nov 07, 2014 12:48 pm
Location: Pune, India
Has thanked: 11 times
Been thanked: 3 times
Contact:

Re: Macro "Locking"

Postby AbhijitR » Thu Sep 07, 2017 6:34 am

Hello!

Is there any option to lock/secure the complete flowchart or MACRO's in FLOWCODE 6.

Thank you.

Abhijit

User avatar
LeighM
Matrix Staff
Posts: 1376
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 349 times
Been thanked: 500 times
Contact:

Re: Macro "Locking"

Postby LeighM » Thu Sep 07, 2017 9:53 am

Hi,
We do not have any facility to lock or write protect projects.
But what you can do is create your own component from a project.
That way you can provide the functionality of the macros from your project, exposing these for use by anyone else using your component.
They will be able to use these in their own project without seeing your macro contents (source).
Would that achieve what you want?
These users thanked the author LeighM for the post:
AbhijitR (Tue Sep 12, 2017 2:51 pm)
Rating: 5.88%
 

AbhijitR
Posts: 16
Joined: Fri Nov 07, 2014 12:48 pm
Location: Pune, India
Has thanked: 11 times
Been thanked: 3 times
Contact:

Re: Macro "Locking"

Postby AbhijitR » Tue Sep 12, 2017 2:54 pm

Hello! LeighM

Thanks for the answer, it sounds good.

Abhijit

User avatar
Benj
Matrix Staff
Posts: 12865
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 3649 times
Been thanked: 3507 times
Contact:

Re: Macro "Locking"

Postby Benj » Tue Sep 12, 2017 3:22 pm

Hello,

In v5-v7 if you Export a macro then you can Export it as "Read Only" and as "Private".

Using the Macro -> Export menu.

You can then import the macro into other projects and it will then not be editable or viewable based on your export settings.
These users thanked the author Benj for the post (total 3):
EtsDriver (Tue Sep 12, 2017 7:26 pm) • AbhijitR (Wed Sep 13, 2017 10:57 am) • medelec35 (Wed Oct 18, 2017 8:25 am)
Rating: 17.65%
 

AbhijitR
Posts: 16
Joined: Fri Nov 07, 2014 12:48 pm
Location: Pune, India
Has thanked: 11 times
Been thanked: 3 times
Contact:

Re: Macro "Locking"

Postby AbhijitR » Wed Sep 13, 2017 10:56 am

Hello! Benj

Many thanks for this suggestion, I guess this will solve my problem.

Regards
Abhi

AbhijitR
Posts: 16
Joined: Fri Nov 07, 2014 12:48 pm
Location: Pune, India
Has thanked: 11 times
Been thanked: 3 times
Contact:

Re: Macro "Locking"

Postby AbhijitR » Wed Oct 18, 2017 7:52 am

Hello! Benj

The suggestion you gave to protect the MACRO worked well, thanks again.

Regards
Abhi
These users thanked the author AbhijitR for the post:
Benj (Mon Oct 23, 2017 11:23 am)
Rating: 5.88%
 

User avatar
Benj
Matrix Staff
Posts: 12865
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 3649 times
Been thanked: 3507 times
Contact:

Re: Macro "Locking"

Postby Benj » Mon Oct 23, 2017 11:24 am

Many thanks for letting us know. Glad it's working well for you.