Can I re-use the same OS Commands across different projects?


306
views
1
7 months ago by

Hi,

First of all, thanks for starting this discussion group!

I'd like to know if it's possible to use the same OS Commands for different projects? I have 9 OS Commands that I commonly use for starting up in different environments and I use the same commands in all of my projects.

When I need to edit one or more of them (like I have to do to all of them right now, because our server environment changed), it would be terrific to only have to do it once and have access to those commands everywhere. As it is, I'll be making the same edits to all 9 OS Commands for all my projects -- unless there's a better way to do this, of course!

Thanks for any help,

Rich

modified 15 days ago by Wingware Support   • written 7 months ago by Rich Bobo  

1 Answer


2
7 months ago by

No, unfortunately right now they are always stored in the project file.  It does sound like it would be good to add a way to specify a command as shared, and probably not hard to do, so we'll try to look at it soon. 

For what it's worth, the commands are stored in the console.toolbox attribute in the *.wpu file.

written 7 months ago by Wingware Support  
1

Thanks. I take a look and see if I can script the changes or if I just need to set aside some time to manually edit the files...

Rich

written 7 months ago by Rich Bobo  

Yes, definitely could write a little Python script to update multiple projects from one, which is why I included that tidbit.

written 7 months ago by Wingware Support  
FYI, this will be added in Wing 6.1
written 15 days ago by Wingware Support  
Please login to add an answer/comment or follow this question.

Similar posts:
Search »