Hi all. New user of PN, I was recommended to try it the other day. As soon as i opened PN i was instantly sold. Its features far surpass other tools as far as i need anyway. (Not sure if i can mention others here, don’t want to break any rules in my first post)
Anyway, after playing around with the tools i wondered what else i could do with it. Im mostly using the editor for .uc files and i have two projects set up under one project group. Now, i have 4 “Project Tools” set up to launch various applications to compile and run things. But i wanted to know how i would make it so that those shortcuts would only activate when i have a certain file type open and/or a certain project active.
Say i have project 1 active, pressing F9 would run “Program1.exe” and if project 2 was active F9 would launch “Program2.exe”
I’ve not added the .uc format to PN in anyway apart from the integration page. I don’t know if that will affect anything or not, just thought i should mention it.
Anyway, that is all. I think i can get by without this just by using shift+F9 and so on, but there’s no harm in asking.
Keep up the great work, loving the program so far!
You might be able to do this by using project name, e.g. if you have Program1 and Program2 as your project names then you can use that name as a tool argument. If you need more advanced logic, you can also pass things into a batch file and launch the needed program from there.