Search found 492 matches

by Phil Pendlebury
Mon Jul 31, 2023 5:16 pm
Forum: Technical / Scripting
Topic: Compiled Script Logging?
Replies: 11
Views: 1977

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: 1977

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: 1977

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: 1977

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: 1977

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: 1977

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: 1950

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: 1950

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: 1950

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: 1950

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: 5
Views: 9521

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: 5
Views: 9521

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.
by Phil Pendlebury
Mon May 29, 2023 5:50 am
Forum: Technical / Scripting
Topic: SMTPSendMail with Gmail (SOLVED) - enable "Less Secure Apps"
Replies: 5
Views: 9521

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

Marcus Tettmar wrote:
Sun May 28, 2023 12:13 pm
You should just need to create an app password:

https://myaccount.google.com/apppasswords
I will give that a try. I did see this when following the help link but was not sure of the procedure. More learning... All good.
by Phil Pendlebury
Sun May 28, 2023 5:40 pm
Forum: Technical / Scripting
Topic: VB Script mailto with body
Replies: 3
Views: 2121

Re: VB Script mailto with body

Hmm any idea what the format would be? I tried adding a body section and the script fails.
by Phil Pendlebury
Sun May 28, 2023 11:18 am
Forum: Technical / Scripting
Topic: VB Script mailto with body
Replies: 3
Views: 2121

Re: VB Script mailto with body

nb. I would love to just switch to using a gmail account to send the email using sendmail but it seems to no longer work despite following all guides here.
Sign up to our newsletter for free automation tips, tricks & discounts