Search found 6998 matches
- Mon Jan 16, 2023 11:54 am
- Forum: Technical / Scripting
- Topic: To print a window on a dialog image
- Replies: 5
- Views: 2772
Re: To print a window on a dialog image
The PrintWindow function is only going to work if the application in question responds to the WM_PRINT message and does something useful with it. Do you know if it does that? My bet is it doesn't. Most are unlikely to care. Most likely to be able to print a screenshot version of itself it also needs...
- Wed Nov 23, 2022 4:43 pm
- Forum: Technical / Scripting
- Topic: Reading Json response from clipboard
- Replies: 1
- Views: 2177
Re: Reading Json response from clipboard
Hi,
Remove the % characters around the clipboard variable in the JSONParse line. You can also remove Let and the format value.
Remove the % characters around the clipboard variable in the JSONParse line. You can also remove Let and the format value.
Code: Select all
GetClipBoard>v_clipboardData
JSONParse>v_clipboardData,$.errorCode,v_jsonErrorCode
- Thu Nov 17, 2022 12:58 pm
- Forum: Technical / Scripting
- Topic: Problem while reading Json from a text file
- Replies: 2
- Views: 2005
Re: Problem while reading Json from a text file
You're getting this error because that is not valid JSON.
If you fix the JSON it will work. Here's the correct version:
If you fix the JSON it will work. Here's the correct version:
Code: Select all
{
"errorCode": "0",
"isRunning": "False",
"exeFileChecked": "C:\\Program Files (x86)program\\Program.exe"
}
- Thu Oct 06, 2022 2:20 pm
- Forum: Technical / Scripting
- Topic: Strange Error Message
- Replies: 8
- Views: 7944
Re: Strange Error Message
HelpContext is set to 5000. It is therefore trying to load a help topic from a non existent help file. Try changing that value to 0 or just remove the line altogether.
- Mon Aug 15, 2022 11:49 am
- Forum: Technical / Scripting
- Topic: HTTPrequest does not work for SOAP (XML)
- Replies: 2
- Views: 3493
Re: HTTPrequest does not work for SOAP (XML)
Hi, HTTP_CUSTOM_HEADERS needs the list CRLF delimited. So try this: Let>HTTP_CUSTOM_HEADERS=Content-Type: text/xml; charset=utf-8%CRLF%SOAPAction: That should mirror the headers you're sending via Curl, in case that is the issue. If that doesn't work I'd really need to be able to try it. If you're a...
- Tue Aug 09, 2022 11:24 am
- Forum: Enhancement Suggestions
- Topic: Support for sockets
- Replies: 4
- Views: 15760
Re: Support for sockets
Hi, VBScript and VB are very different. There's no built in support for sockets in VBScript. There used to be mswinsck.ocx which I'm guessing it *may* have been possible to use with VBScript, but I'm not sure if it even exists any more. Another option might be to use the socket library with Python: ...
- Tue Dec 28, 2021 1:02 pm
- Forum: The Water Cooler
- Topic: A little word game for the holidays
- Replies: 1
- Views: 11188
Re: A little word game for the holidays
Thanks JRL! So who has tried it and how did you do?
- Tue Dec 14, 2021 12:03 pm
- Forum: General Discussion
- Topic: 4K UHD
- Replies: 8
- Views: 19917
Re: 4K UHD
In Macro Scheduler 15.0.20 we have increased the zoom threshold at which we switch to the larger icons from 101% to 150%. It shouldn't look quite so 'comical' now at 125% zoom.
- Tue Dec 14, 2021 12:01 pm
- Forum: Technical / Scripting
- Topic: How to access chrome child window
- Replies: 2
- Views: 3061
Re: How to access chrome child window
Version 15.0.20 now has native ChromeGetWIndows and ChromeSwitchWindow functions.
- Mon Oct 04, 2021 2:05 pm
- Forum: Technical / Scripting
- Topic: How to control webpage popups
- Replies: 2
- Views: 2853
Re: How to control webpage popups
That pop up looks like regular html inside the page, so you would control it the same as any other html element.
- Mon Sep 27, 2021 12:44 pm
- Forum: Technical / Scripting
- Topic: Cursor for HTMLViewer isn't working
- Replies: 8
- Views: 4349
Re: Cursor for HTMLViewer isn't working
If you set the HTML of the HTMLViewer and put some text in it you'll notice the cursor changes to the hand pointer when you move over the text. It works with other visible objects too. So it seems you need a visible HTML element in the HTML for the cursor to change. I tried setting the css cursor pr...
- Thu Sep 16, 2021 10:44 am
- Forum: General Discussion
- Topic: Passing 0000 to a SRT with explicit variable {} will be passed as "0"
- Replies: 7
- Views: 14871
Re: Passing 0000 to a SRT with explicit variable {} will be passed as "0"
0000 is 0
If you want a string it would be {"0000"}
If you want a string it would be {"0000"}
- Tue Aug 31, 2021 2:39 pm
- Forum: Technical / Scripting
- Topic: Issues with ChromeDriver.exe used on multiple RDP's on Server
- Replies: 7
- Views: 5268
Re: Issues with ChromeDriver.exe used on multiple RDP's on Server
Hi, Probably just isn't possible. ChromeDriver runs a small http server. I guess only one instance of it can run per machine. And when it gets a response it fires up Chrome. So I can see why it won't play well in a server context where you might have multiple users. The first one will already be run...
- Mon Aug 16, 2021 2:55 pm
- Forum: Enhancement Suggestions
- Topic: WriteLn is great but...
- Replies: 15
- Views: 24608
Re: WriteLn is great but...
Anything that 'rewrites' a file actually deletes it and creates a new one. There's no such thing as rewriting a file. You either create a new one then delete the old one and rename the new one or you delete the old one and write out the new one with the same name. Whatever way we do this it would st...
- Thu Aug 12, 2021 9:52 pm
- Forum: Enhancement Suggestions
- Topic: WriteLn is great but...
- Replies: 15
- Views: 24608
Re: WriteLn is great but...
Just DeleteFile and then WriteLn with WLN_NOCRLF set (if you don't want it adding a line break at the end). Really this is all any WriteFile command would do anyway. So why not make a subroutine: SRT>WriteFile DeleteFile>WriteFile_Var_1 Let>WLN_NOCRLF=1 WriteLn>WriteFile_Var_1,wres,WriteFile_Var_2 L...