Pages: 1
RSS
[BUG] Filter action: sends wrong character instead of quotes
 
1. Set an action for filter - to execute external application and to send some text as parameter to command line of this app.
2. If filter fires and text contains quotes, Bat sends newline character instead of quotes.

Example:
Action settings
https://images2.imgbox.com/f6/78/rYUtVtTO_o.png
Subject of test email
Code
Your adv "PC 123" was published

Result after filter fires
https://images2.imgbox.com/24/79/E9ISchaZ_o.png

Bat v.10.3.3.3x64
Edited: User - - 06 September 2023 17:30:44
 
Thanks, but this is a user-to-user forum and we are unable to solve bugs. Please report them directly to the developers using the 'Support'-menu at the top of the page.
I volunteer as a moderator to help keep the forum tidy. I do not work for Ritlabs SRL.
 
Quote
User - wrote:
1. Set an action for filter - to execute external application and to send some text as parameter to command line of this app.
2. If filter fires and text contains quotes, Bat sends newline character instead of quotes.
I think this is not a bug in The Bat!, but this is normal operation of Windows. It may be verified by running your application manually with a given command line parameter.
 
Maybe a longshot, but you could try replacing quotation marks with escaped versions, i.e. add a backslash before each quotation mark: \"
Pages: 1