First time here? Check out the FAQ!
1

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

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

Rich Bobo's avatar
11
Rich Bobo
asked 2017-03-02 23:50:00 -0600
Wingware Support's avatar
4k
Wingware Support
updated 2020-01-22 19:37:21 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

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.

Wingware Support's avatar
4k
Wingware Support
answered 2017-03-03 09:22:00 -0600
edit flag offensive 0 remove flag delete link

Comments

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

Rich Bobo's avatar Rich Bobo (2017-03-03 11:20:00 -0600) edit

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

Wingware Support's avatar Wingware Support (2017-03-03 11:27:00 -0600) edit

FYI, this will be added in Wing 6.1

Wingware Support's avatar Wingware Support (2017-10-03 12:59:00 -0600) edit

Awesome - thanks!Rich

Rich Bobo's avatar Rich Bobo (2017-10-20 10:19:00 -0600) edit

this is a test comment, please ignore.

Evgeny's avatar Evgeny (2021-03-24 09:22:03 -0600) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer