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.Marcus Tettmar wrote: ↑Sun May 28, 2023 12:13 pmYou should just need to create an app password:
https://myaccount.google.com/apppasswords
Search found 495 matches
- Mon May 29, 2023 5:50 am
- Forum: Technical / Scripting
- Topic: SMTPSendMail with Gmail (SOLVED) - enable "Less Secure Apps"
- Replies: 6
- Views: 18165
Re: SMTPSendMail with Gmail (SOLVED) - enable "Less Secure Apps"
- Sun May 28, 2023 5:40 pm
- Forum: Technical / Scripting
- Topic: VB Script mailto with body
- Replies: 3
- Views: 6881
Re: VB Script mailto with body
Hmm any idea what the format would be? I tried adding a body section and the script fails.
- Sun May 28, 2023 11:18 am
- Forum: Technical / Scripting
- Topic: VB Script mailto with body
- Replies: 3
- Views: 6881
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.
- Sun May 28, 2023 10:23 am
- Forum: Technical / Scripting
- Topic: VB Script mailto with body
- Replies: 3
- Views: 6881
VB Script mailto with body
Greetings, I found this: VBSTART Sub NewEmail(recipient,subject) Set WshShell = CreateObject("WScript.Shell") WshShell.Run "mailto:" & recipient & "?subject=" & subject Set WshShell = Nothing End Sub VBEND VBRun>NewEmail,support@mjtnet.com,Testing Tried a number of things but not working, I simple w...
- Sat May 27, 2023 10:48 am
- Forum: Technical / Scripting
- Topic: SMTPSendMail with Gmail (SOLVED) - enable "Less Secure Apps"
- Replies: 6
- Views: 18165
Re: SMTPSendMail with Gmail (SOLVED) - enable "Less Secure Apps"
Ahh sadly this setting no longer exists in gmail.
- Tue Aug 16, 2022 4:54 pm
- Forum: Technical / Scripting
- Topic: Any MSFS2020 Users here?
- Replies: 1
- Views: 3799
Any MSFS2020 Users here?
I am only asking because I am trying to so simply send a key to this application and whatever I do fails. I have tried as admin and not as admin (actually admin should not be required, but tried it anyway). Just trying to send a single key PRESS DOWN (and loop it every 5 seconds) To test this I also...
- Wed Jul 20, 2022 5:26 am
- Forum: Technical / Scripting
- Topic: Highlight Conundrum
- Replies: 2
- Views: 3424
Re: Highlight Conundrum
Try this and let us know. Create this array somewhere before the dialog opens ArrayDim>buttcol,112 Replace your subroutines with these SRT>OHighLight Let>hbutt=%OHighLight_Var_1% Let>value=buttcol_%hbutt% If>%value%>/ Else GetDialogProperty>Dialog1,Panel%hbutt%,Color,vButtcol Let>buttcol_%hbutt%=vB...
- Tue Jul 19, 2022 12:41 pm
- Forum: Technical / Scripting
- Topic: Highlight Conundrum
- Replies: 2
- Views: 3424
Highlight Conundrum
Hi all, here is another puzzle I have been working on. Using panels as buttons Using OnMouseEnter/Leave to trigger the subroutines as below with variable per button (there are 112 buttons) Using "highlight" subroutine to highlight them a specific colour (which also reads their current colour) Using ...
- Tue Jul 12, 2022 1:16 pm
- Forum: Technical / Scripting
- Topic: GetWindowHandle Timeout?
- Replies: 10
- Views: 6403
Re: GetWindowHandle Timeout?
Very neat. I will do some more tests and post back again. Thank you. I am sure this will be helpful to others too.
- Tue Jul 12, 2022 11:23 am
- Forum: Technical / Scripting
- Topic: GetWindowHandle Timeout?
- Replies: 10
- Views: 6403
Re: GetWindowHandle Timeout?
Hi hagchr, Thanks, it is super interesting but still confusing eh. Yes now that window I am trying to find does indeed appear in that list. (res). I was trying to think of away to get names from classes and your script seems to have solved it. It is odd that getwindowhandle finds the window but getw...
- Tue Jul 12, 2022 7:20 am
- Forum: Technical / Scripting
- Topic: GetWindowHandle Timeout?
- Replies: 10
- Views: 6403
Re: GetWindowHandle Timeout?
OK so after a brief search of the forum for how it works, I borrowed some code and adjusted it slightly to make a rough code that demos how this works: It will show a counter in message form every .5 seconds. Meanwhile trying to find the handle of a (notepad++) window named "new 4 (any other text)" ...
- Tue Jul 12, 2022 4:49 am
- Forum: Technical / Scripting
- Topic: setting the active page on a v12 Dialog PageControl object
- Replies: 5
- Views: 6938
Re: setting the active page on a v12 Dialog PageControl object
Hi JRL,
That was the key:
I was using ActivePage and some other things but did not find any documentation about TabIndex. I did search the forums.
Thank you, as always, for enlightening me.
That was the key:
Code: Select all
TabIndex
Thank you, as always, for enlightening me.
- Sun Jul 10, 2022 10:07 pm
- Forum: Technical / Scripting
- Topic: GetWindowHandle Timeout?
- Replies: 10
- Views: 6403
Re: GetWindowHandle Timeout?
Thank you sir. I will look up custom events. I have a vague memory of using this method sometime many years ago.
Thanks again for taking the time to read through my story.
I’ll post back…
Thanks again for taking the time to read through my story.
I’ll post back…
- Sun Jul 10, 2022 11:56 am
- Forum: Technical / Scripting
- Topic: GetWindowHandle Timeout?
- Replies: 10
- Views: 6403
Re: GetWindowHandle Timeout?
I am sorry for me previously brief answer. I was trying to type on phone. I am using Regex to search for the Windows. (See here): https://www.mjtnet.com/forum/viewtopic.php?f=2&t=11182 There a re few issues: There is only ever 1 window with the relevant name open and it does not appear in get Window...
- Sun Jul 10, 2022 6:50 am
- Forum: Technical / Scripting
- Topic: GetWindowHandle Timeout?
- Replies: 10
- Views: 6403
Re: GetWindowHandle Timeout?
I am using regex already.
This is not the point tbh.
This is not the point tbh.