Search found 495 matches

by Phil Pendlebury
Wed Jan 31, 2024 5:40 am
Forum: Technical / Scripting
Topic: HTTPRequest not working in Compiled version
Replies: 18
Views: 17870

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...
by Phil Pendlebury
Sat Dec 16, 2023 1:26 pm
Forum: Technical / Scripting
Topic: HTTPRequest not working in Compiled version
Replies: 18
Views: 17870

Re: HTTPRequest not working in Compiled version

AndrewT wrote:
Thu Jun 25, 2020 3:36 pm
Changed the url from https to http and it works in both versions now.
Much later... Thanks for this it saved me hours of fiddling. :D

Haha I just saw I had already posted the same too.
by Phil Pendlebury
Sat Oct 14, 2023 10:10 am
Forum: Technical / Scripting
Topic: Memory leak when using PyExec
Replies: 7
Views: 20069

Re: Memory leak when using PyExec

Grovkillen wrote:
Wed Sep 27, 2023 3:34 pm
In my current project I have now made the python code run as sub processes.
Nice one. If you get a min, can you show how you did this? :D
by Phil Pendlebury
Mon Jul 31, 2023 5:16 pm
Forum: Technical / Scripting
Topic: Compiled Script Logging?
Replies: 11
Views: 19627

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. :-)
by Phil Pendlebury
Mon Jul 31, 2023 11:11 am
Forum: Technical / Scripting
Topic: Compiled Script Logging?
Replies: 11
Views: 19627

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 ...
by Phil Pendlebury
Mon Jul 31, 2023 10:49 am
Forum: Technical / Scripting
Topic: Compiled Script Logging?
Replies: 11
Views: 19627

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...
by Phil Pendlebury
Mon Jul 31, 2023 10:24 am
Forum: Technical / Scripting
Topic: Compiled Script Logging?
Replies: 11
Views: 19627

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...
by Phil Pendlebury
Mon Jul 31, 2023 4:49 am
Forum: Technical / Scripting
Topic: Compiled Script Logging?
Replies: 11
Views: 19627

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...
by Phil Pendlebury
Sun Jul 30, 2023 5:23 pm
Forum: Technical / Scripting
Topic: Compiled Script Logging?
Replies: 11
Views: 19627

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...
by Phil Pendlebury
Sat Jul 15, 2023 9:46 am
Forum: Technical / Scripting
Topic: Grrr I know this is pain but...
Replies: 6
Views: 10278

Re: Grrr I know this is pain but...

JRL wrote:
Fri Jul 14, 2023 2:54 pm
Hi Phil,
...and how other users deal with it.
Mostly by cursing. :evil:

Been dealing with this for a few years.
Hi JRL,

Thank you for this. There are some great points there. I will try to go through this in detail after the weekend. :-)
by Phil Pendlebury
Sat Jul 15, 2023 9:45 am
Forum: Technical / Scripting
Topic: Grrr I know this is pain but...
Replies: 6
Views: 10278

Re: Grrr I know this is pain but...

Grovkillen wrote:
Fri Jul 14, 2023 5:31 pm
If you're using 365 you're able to add exceptions to the windows defender using the portal. Works ok for us in our workplace.
I have office subscription but not a company one. However, the issue is not really for me but for the other people I send the files to. :-)
by Phil Pendlebury
Fri Jul 14, 2023 9:59 am
Forum: Technical / Scripting
Topic: Grrr I know this is pain but...
Replies: 6
Views: 10278

Re: Grrr I know this is pain but...

Hi Dorian, yes I read all that before. I cannot afford to get code signing. These are just few free applications. The odd thing is that the last version of MS was not having this issue. It could be coincidence that I just updated to 15.0.24 from 15.0.22 and that is when the issue started. I know it ...
by Phil Pendlebury
Fri Jul 14, 2023 9:21 am
Forum: Technical / Scripting
Topic: Grrr I know this is pain but...
Replies: 6
Views: 10278

Grrr I know this is pain but...

15.0.24 / Windows 11 latest. Just compiled all my scripts with latest version and Windows is immediately deleting them. Trojan:Win32/Wacatac.B!ml I know this is a false positive of course. Recently I had to jump through a ton of hoops, (took me weeks) to get the upload accepted on a site that uses V...
by Phil Pendlebury
Mon May 29, 2023 11:41 am
Forum: Technical / Scripting
Topic: SMTPSendMail with Gmail (SOLVED) - enable "Less Secure Apps"
Replies: 6
Views: 16457

Re: SMTPSendMail with Gmail (SOLVED) - enable "Less Secure Apps"

OK needed to enable 2FA and now it works thank you.
by Phil Pendlebury
Mon May 29, 2023 10:26 am
Forum: Technical / Scripting
Topic: SMTPSendMail with Gmail (SOLVED) - enable "Less Secure Apps"
Replies: 6
Views: 16457

Re: SMTPSendMail with Gmail (SOLVED) - enable "Less Secure Apps"

The account I am using does not allow app passwords. But really I need to get the mailto link working instead.

Thanks anyway.
cron
Sign up to our newsletter for free automation tips, tricks & discounts