Search found 149 matches
- Sun Apr 02, 2023 3:40 pm
- Forum: Technical / Scripting
- Topic: Create image from code
- Replies: 0
- Views: 28101
Create image from code
Sharing a fun tip on ways to create pixels with Macro scheduler. I was looking for a 16bit grayscale image that had all the 65k grayscales. But did not find one. This one is 8bit and You need a .pgm compatible viewer, like Irfanview to view this 50x255 image. WriteLn>8BitGrayScaleImage.pgm,x,P2%CRLF...
- Tue Apr 12, 2022 2:45 pm
- Forum: Technical / Scripting
- Topic: oauth2 - maybe via php?
- Replies: 1
- Views: 2271
Re: oauth2 - maybe via php?
Hi!
You could have a look at the vbscripts to use in MS
https://www.example-code.com/vbscript/o ... _token.asp
Or Python via PyExec>
https://testdriven.io/blog/oauth-python/
Interested in how this goes!
You could have a look at the vbscripts to use in MS
https://www.example-code.com/vbscript/o ... _token.asp
Or Python via PyExec>
https://testdriven.io/blog/oauth-python/
Interested in how this goes!
- Tue Apr 12, 2022 2:38 pm
- Forum: Technical / Scripting
- Topic: PHP Scripts
- Replies: 1
- Views: 2562
Re: PHP Scripts
Hi!
Have You tried :
cmd /C Carries out the command specified by string and then terminates
run>cmd /c "c:\php\php.exe" code.php
Have You tried :
cmd /C Carries out the command specified by string and then terminates
run>cmd /c "c:\php\php.exe" code.php
- Thu Dec 16, 2021 9:49 pm
- Forum: Technical / Scripting
- Topic: Image Recognition in Edge problem.
- Replies: 3
- Views: 2925
Re: Image Recognition in Edge problem.
Thanks! I have created different sizes and that works ok. But... Running V15.0.11 1. FindImagePos>%BMP_DIR%\Zoom_75.bmp,SCREEN,0.9,1,XArr,YArr,NumFound,CCOEFF Always return NumFound=1 after the PC locks and I login again. Only way to get it to detect correct again is to restart the application. I ha...
- Tue Dec 14, 2021 10:39 am
- Forum: Technical / Scripting
- Topic: Image Recognition in Edge problem.
- Replies: 3
- Views: 2925
Image Recognition in Edge problem.
Hi! I have created a WaitScreenImage> to find a image in Edge web browser. This works on my PC, cos i have the same screen resolution and zoom level in Edge as the needle image. But when I run on other PC with 4K monitor and different Zoom level in Edge, then it fails! I have tired CCOEFF with 0.5 s...
- Fri Apr 09, 2021 9:01 am
- Forum: Technical / Scripting
- Topic: Convert String to UTF8
- Replies: 3
- Views: 3144
Re: Convert String to UTF8
SOLVED! This converts a string to UTF8 i.e "Å Ä Ö" -> "Ã… Ä Ö" VBSTART Private Function StringToUTF8(String) Dim objStream: Set objStream = CreateObject("ADODB.Stream") Call objStream.Open() objStream.Type = 2 objStream.Charset = "utf-8" Call objStream.WriteText(String) objStream.Position = 0 objS...
- Wed Apr 07, 2021 12:35 pm
- Forum: Technical / Scripting
- Topic: Convert String to UTF8
- Replies: 3
- Views: 3144
Re: Convert String to UTF8
Tack for the tip!
That is how i have done it. But You will get a surprise for á, ø and ç
It will be a long list to cover all characters.
That is how i have done it. But You will get a surprise for á, ø and ç
It will be a long list to cover all characters.
- Wed Apr 07, 2021 11:08 am
- Forum: Technical / Scripting
- Topic: Convert String to UTF8
- Replies: 3
- Views: 3144
Convert String to UTF8
Hi! I am struggling to convert a string to UTF-8 I found some code that should do this . But it does not work. Any input is appreciated! VBSTART Private Function StringToUTF8(String) Dim objStream: Set objStream = CreateObject("ADODB.Stream") Call objStream.Open() objStream.Type = 2 objStream.Charse...
- Thu Feb 13, 2020 7:16 pm
- Forum: General Discussion
- Topic: About SQLite and MS
- Replies: 3
- Views: 11030
Re: About SQLite and MS
I am using sqlite3.exe to manipulate a text db. works well. Here: https://www.sqlite.org/2020/sqlite-tools-win32-x86-3310100.zip But I realy need help to get the DLL working. here: https://www.sqlite.org/2020/sqlite-dll-win32-x86-3310100.zip I can LibLoad it, but LibFunc> gives this error: Line: 5 -...
- Thu Nov 21, 2019 9:07 pm
- Forum: Technical / Scripting
- Topic: TCP socket server
- Replies: 1
- Views: 7108
TCP socket server
Hi!
What would be the best way to implement a socket server?
I.e a application that can receive raw bytes on a open TCP port.
I have tried some Python, and it works quite ok. But I am interested of other solution
Any ideas is welcome
Thanks!
What would be the best way to implement a socket server?
I.e a application that can receive raw bytes on a open TCP port.
I have tried some Python, and it works quite ok. But I am interested of other solution
Any ideas is welcome
Thanks!
- Fri May 31, 2019 8:06 am
- Forum: Technical / Scripting
- Topic: Secure Email Detection
- Replies: 6
- Views: 4831
Re: Secure Email Detection
I( havent comprehended all of Your problems. But stunnel can convert Your Telnet traffic to communicate over TLS/SSL
I have used it and it is very good.
https://www.stunnel.org/
https://messageops.com/connecting-non-s ... ft-online/
I have used it and it is very good.
https://www.stunnel.org/
https://messageops.com/connecting-non-s ... ft-online/
- Wed May 29, 2019 3:00 pm
- Forum: Technical / Scripting
- Topic: Problem getting text from with strange app
- Replies: 1
- Views: 2290
Problem getting text from with strange app
Any help and suggestion is welcome! I am looking for the text " HereIAM " in a Window Called SoftwareWin. (Always in the same position) - Text Capture Wizard can not find any text at all. - "FindObject Wizard" finds this OK. But The resulting code is not working Window: 850D48 [HwndWrapper[Can.M210....
- Sun Mar 03, 2019 9:22 am
- Forum: Technical / Scripting
- Topic: Digest authentication
- Replies: 5
- Views: 5091
Re: Digest authentication
A litle request :-) Have been looking for a solution for this. And I can not make it happen in Machro Scheduler. Digest Authentication is something that is built in to a webbrowser client and is the way to authenticating without sending user/pass in clear text (base64) without TLS. So, a welcome fun...
- Sat Nov 03, 2018 3:52 pm
- Forum: Technical / Scripting
- Topic: https problem
- Replies: 1
- Views: 2328
https problem
FYI When accessing a certain webservice . Not every website is affected. Let>HTTP_SSL=1 HTTPRequest>https://EXAMPLE_SERVER_IP,,GET,,Reply Use the provided libeay32.dll and ssleay32.dll (They are version 1.0.2d), that is added when compiling. I get : Error connecting with SSL. error:1408F10B:SSL rout...
- Wed Sep 19, 2018 2:40 pm
- Forum: Technical / Scripting
- Topic: Digest authentication
- Replies: 5
- Views: 5091
Re: Digest authentication
Ok. I take it that digest authentication is not built in to the HTTPRequest command. Digest authentication is a standardized way to HTTP authenticate and is different from basic authentication in that it is a challenge response. BAsig is just user and password in plain text (base64) . I am not sure ...