Author Topic: canceling %(prompt) in build tool  (Read 954 times)


  • Senior Community Member
  • Posts: 159
  • Hero Points: 6
canceling %(prompt) in build tool
« on: June 23, 2016, 01:56:16 pm »
Hello all,

I currently use the %(prompt) directive as part of the Build tool to invoke a custom build script like this:
Code: [Select] %(prompt prompt-text:%(last-prompt-result))
When I invoke the Build tool a prompt comes up, I enter a target (or reuse the last one) and things work nicely. However, if I hit escape to cancel the prompt the %(prompt) directive returns an empty string which in turn causes the build script to do some (undesirable) default thing. Is there a way to get the canceled prompt to also cancel the build command?