Maybe better screenshot of exported html file without inspector tools
Screenshot of exported html
Hello, I have problem with exporting some "fancy" screens to HTML. On x3270/wc3270 is everything displayed correctly (screenshot x3270.png), but HTML file is created incorrectly, whole deep sky blue "frame" is inverted (html_export.png). When I change color to background color and vice versa (for certain parts in html file) everything looks fine. I don't know if this is bug or incorrect settings, but I can't find any relevant settings. I know support of IBM i (AS/400) isn't main goal for this project,...
SOLVED (probably :) ) It's seems Powershell messing with quotes, something about it on stackoverflow[1] This escaping works on CMD.EXE: x3270if.exe -t 9999 string("\"test 3"\") And this works on my Python(3.12) script: CMD='string("\\"test 3"\\")' Option -trace help a lot, thanks, [1] https://stackoverflow.com/questions/6714165/powershell-stripping-double-quotes-from-command-line-arguments
SOLVED (probably :) ) It's seems Powershell messing with quotes, something about it on stackoverflow[1] This escaping works on CMD.EXE: x3270if.exe -t 9999 string("\"test 3"\") And this works on my Python(3.12) script: CMD='string("\"test 3"\")' Option -trace help a lot, thanks, [1] https://stackoverflow.com/questions/6714165/powershell-stripping-double-quotes-from-command-line-arguments
Screenshot for double " example.
Thanks a lot for quick response. Yes, I know multiple levels of qoting can generate a lot of problems, and for this purpose I just run x3270if.exe by hand in command line (CMD.exe/Powershell). I re-tested it and now I'm almost 100% sure, you can see it in attachment PowerShell.png. Thanks for -trace option, in trace file all three commands are loged as 'string(test 1)' When I use command: .\x3270if.exe -t 9999 'string(\"\"test 9\"\")' in trace file will be: 20240222.100907.994 Macro[#21.2] 'string(""test...
Hello, I trying send string with spaces to IBM i Server, but this didn't work. I doing something wrong, but I can't figure out where is the problem. I using Windows 10 and Powershell/Python. I use version 4.3ga5 I started s3270 via command: .\ws3270.exe -script -scriptport 9999 After loging to IBM i, I use this command: .\x3270if.exe -t 9999 "string(test 1)" or .\x3270if.exe -t 9999 'string("test 1")' or .\x3270if.exe -t 9999 'string(test 1)' But in all cases I get error: Syntax error: ")" or ","...