OK thank you. I am slightly out of my comfort zone with this, but that is a good thing, it is nice to learn new things. I will keep at it.Grovkillen wrote: ↑Mon Sep 09, 2024 7:46 pmBut then they are null characters? Reading the file on a binary level is as low as you can go.
Search found 500 matches
- Wed Sep 11, 2024 4:35 am
- Forum: Technical / Scripting
- Topic: Dealing with odd characters
- Replies: 9
- Views: 1947
Re: Dealing with odd characters
- Mon Sep 09, 2024 6:37 pm
- Forum: Technical / Scripting
- Topic: Dealing with odd characters
- Replies: 9
- Views: 1947
Re: Dealing with odd characters
Thanks, also ingenious but still giving me NUL Characters and stopping after RIFF. I will keep looking at the code you provided though thanks.
- Mon Sep 09, 2024 12:44 pm
- Forum: Technical / Scripting
- Topic: Dealing with odd characters
- Replies: 9
- Views: 1947
Re: Dealing with odd characters
Wow that is ingenious and way beyond my knowledge level. However, the first script did seem to gather useful results. Looks like a bunch of Hex characters. So I guess I would have to convert them somehow. (I am looking into this now) I set Let>BYTES_TO_ANALYSE=100 0: ARRAY_OF_CHARACTERS_1=52 0: ARRA...
- Sun Sep 08, 2024 2:07 pm
- Forum: Technical / Scripting
- Topic: Dealing with odd characters
- Replies: 9
- Views: 1947
Re: Dealing with odd characters
Sure. Here you go:
https://we.tl/t-03dqQYm5g4
Unescaping won't work, I think. As mentioned, cannot read the file past the first word.
https://we.tl/t-03dqQYm5g4
Unescaping won't work, I think. As mentioned, cannot read the file past the first word.
- Sun Sep 08, 2024 1:11 pm
- Forum: Technical / Scripting
- Topic: Dealing with odd characters
- Replies: 9
- Views: 1947
Dealing with odd characters
Hi all, I am trying to read a file and I can only get the first word, and even that doesn't match when I try to use it in and IF statement. I think this is due to special characters in the file which in Notepad++ for example they show as NUL SUB NULNULNULNUL etc. Trying to paste any of the file here...
- Wed Jan 31, 2024 5:40 am
- Forum: Technical / Scripting
- Topic: HTTPRequest not working in Compiled version
- Replies: 18
- Views: 29757
Re: HTTPRequest not working in Compiled version
Just to point out though that in my case, I ended up leaving the URL as https and then followed the instructions here: https://www.mjtnet.com/blog/2012/05/18/how-to-do-an-https-request-without-installing-all-of-openssl/ Basically, means that you have to have the 2 files: libeay32.dll ssleay32.dll In...
- Sat Dec 16, 2023 1:26 pm
- Forum: Technical / Scripting
- Topic: HTTPRequest not working in Compiled version
- Replies: 18
- Views: 29757
- Sat Oct 14, 2023 10:10 am
- Forum: Technical / Scripting
- Topic: Memory leak when using PyExec
- Replies: 7
- Views: 26623
Re: Memory leak when using PyExec
Nice one. If you get a min, can you show how you did this?Grovkillen wrote: ↑Wed Sep 27, 2023 3:34 pmIn my current project I have now made the python code run as sub processes.
- Mon Jul 31, 2023 5:16 pm
- Forum: Technical / Scripting
- Topic: Compiled Script Logging?
- Replies: 11
- Views: 25686
Re: Compiled Script Logging?
Thanks JRL. No need for them to see it. I move it and zip it. And for this I can use system vars etc.
- Mon Jul 31, 2023 11:11 am
- Forum: Technical / Scripting
- Topic: Compiled Script Logging?
- Replies: 11
- Views: 25686
Re: Compiled Script Logging?
Quick question: Do any of the system vars get expanded when used in this option? i.e. %AppData% I am guessing not... (I am struggling to find a generic place to write the log file to on a user's system, without running as Admin) And while we are it, I find that even if I write Let>_WRITE_LOG_FILE=0 ...
- Mon Jul 31, 2023 10:49 am
- Forum: Technical / Scripting
- Topic: Compiled Script Logging?
- Replies: 11
- Views: 25686
Re: Compiled Script Logging?
Thank you, Marcus. :-) Indeed, setting compile options to /LOGFILE=C:\Users\Phil\Desktop\support.log made a log for me :-) Great stuff, so I know it works now and why it was not being written. I did search a lot and could find no clear indication that the settings work from compiled scripts, so this...
- Mon Jul 31, 2023 10:24 am
- Forum: Technical / Scripting
- Topic: Compiled Script Logging?
- Replies: 11
- Views: 25686
Re: Compiled Script Logging?
Hi Dorian, If you've already successfully logged compiled scripts then we're part way there. No I haven't this is my entire question. :-) I cannot get the logfile to be created when running a compiled script. Thanks for that. Unfortunately, this is all pretty much as I have it already. I have used i...
- Mon Jul 31, 2023 4:49 am
- Forum: Technical / Scripting
- Topic: Compiled Script Logging?
- Replies: 11
- Views: 25686
Re: Compiled Script Logging?
Hi guys, I am sorry but I fear you have both missed my point here. (My fault I am sure). IF>%writesuplog%=True As code, works perfectly to execute what is inside it. I have been using this method for 15+ years, no issues. I thought I had already mentioned that I have compiled with: LOGFILE=%SCRIPT_D...
- Sun Jul 30, 2023 5:23 pm
- Forum: Technical / Scripting
- Topic: Compiled Script Logging?
- Replies: 11
- Views: 25686
Compiled Script Logging?
I have found a few very old threads about this and would like to ask a quick question about logging from a compiled script. I already understand that the log file can bet set like this: Let>LOGFILE=%SCRIPT_DIR%\support.log And that log file writing can be turned on and off with this (1=on 0-off): Le...
- Sat Jul 15, 2023 9:46 am
- Forum: Technical / Scripting
- Topic: Grrr I know this is pain but...
- Replies: 6
- Views: 13851