Search found 1028 matches

by Grovkillen
Wed Apr 03, 2024 6:47 am
Forum: The Water Cooler
Topic: ( ? ) Artificial Intelligence (AI)
Replies: 3
Views: 6689

Re: ( ? ) Artificial Intelligence (AI)

Just tried it and even though ChatGPT can correctly identify what Macro Scheduler is it will consistently write an incorrect syntax. It will say that it's the correct syntax up until I give it a code which is correct syntax then it will do a 180 and agree that my code is better.
by Grovkillen
Tue Apr 02, 2024 4:54 pm
Forum: Beginners
Topic: Closing Dialog
Replies: 1
Views: 1080

Re: Closing Dialog

Minimal code to show error please.
by Grovkillen
Fri Mar 29, 2024 8:08 pm
Forum: General Discussion
Topic: SetRoundMode> feels wrong
Replies: 1
Views: 40079

Re: SetRoundMode> feels wrong

Bump
by Grovkillen
Fri Mar 29, 2024 7:54 pm
Forum: Enhancement Suggestions
Topic: RegEx replace match [UNDOCUMENTED FEATURE?]
Replies: 9
Views: 30281

Re: RegEx replace match [UNDOCUMENTED FEATURE?]

Would be great if we could get the capturing groups back just like the "global match". I.e. RegEx>REGEX_PATTERN,TEXT_TO_PARSE,0,MATCHES,,0,, //MATCHES_1="full match like today" //MATCHES_1_1="contents of capturing group 1 ($1)" //MATCHES_1_2="contents of capturing group 2 ($2)" //... //MATCHES_1_N=...
by Grovkillen
Wed Mar 27, 2024 9:48 am
Forum: Enhancement Suggestions
Topic: Minimizing label comment turns into /* .. */
Replies: 1
Views: 2916

Minimizing label comment turns into /* .. */

Minimizing label comment turns into /* .. */ , would be great if those label comments instead turned into: /* name_of_label */ So this: /* body_blank_main_html: <style>body{background-color:%HTML_COLOR_main%;}</style><body></body> */ becomes: /* body_blank_main_html */ Same idea as minimizing the SR...
by Grovkillen
Wed Mar 27, 2024 9:03 am
Forum: Technical / Scripting
Topic: CSVFileToArray combined with Separate delays DelArray
Replies: 4
Views: 3318

Re: CSVFileToArray combined with Separate delays DelArray

Here's a proof of the problem you're facing: Let>k=0 Repeat>k Let>LIST_FOR_MDL= Let>k=k+1 LabelToVar>unsorted_list_%k%,TEMP_list Separate>TEMP_list,CRLF,TEMP_array ArraySort>TEMP_array Let>r=0 Repeat>r Let>r=r+1 Let>TEMP_row=TEMP_array_%r% ConCat>LIST_FOR_MDL,%CRLF%%TEMP_row% Until>r=TEMP_array_coun...
by Grovkillen
Tue Mar 26, 2024 6:29 am
Forum: Enhancement Suggestions
Topic: Right click on LabelToVar menu with "goto.." label
Replies: 0
Views: 3637

Right click on LabelToVar menu with "goto.." label

Would be great if we could use the right click just as with the GoSub to jump to the label.
by Grovkillen
Mon Mar 25, 2024 11:10 am
Forum: Beginners
Topic: Empty Windows Recycle Bin
Replies: 3
Views: 2834

Re: Empty Windows Recycle Bin

Back at work... here's the command you're looking for:

Code: Select all

Let>RP_WINDOWMODE=0
RunProgram>cmd /c PowerShell -Command " & {Clear-RecycleBin -Force}"
by Grovkillen
Mon Mar 25, 2024 11:05 am
Forum: Technical / Scripting
Topic: CSVFileToArray combined with Separate delays DelArray
Replies: 4
Views: 3318

Re: CSVFileToArray combined with Separate delays DelArray

I understand your point, a warning might be a good way of informing this.

In the mean time: loop the array using a sub routine where you set all values to a blank and then make the ..._count variable equal zero. That way you can still use the sort and omit the blank values in the new array.
by Grovkillen
Thu Mar 21, 2024 3:25 pm
Forum: General Discussion
Topic: ONERROR not capturing string error
Replies: 6
Views: 13524

Re: ONERROR not capturing string error

Yes it's working this way, only wondering if it would be possible to capture the error instead of the error dialog which is halting the script. But yeah no deal breaker only for information if you every get round to it. 8)
by Grovkillen
Thu Mar 21, 2024 7:27 am
Forum: General Discussion
Topic: ONERROR not capturing string error
Replies: 6
Views: 13524

Re: ONERROR not capturing string error

FYI I have a script that constantly is processing open windows. If I run this script on login I get a non-captured error in the if statment after the LibFunc commands. My solution is to have a TEMP_check that force the variables to either a 1 or a 0. It's working but it would be great to see if you ...
by Grovkillen
Wed Mar 20, 2024 9:26 pm
Forum: Scripts and Tips
Topic: Only run script when pc is locked (lock screen)
Replies: 2
Views: 5614

Re: Only run script when pc is locked (lock screen)

@Marcus: the GetProcessIDs>LogonUI.exe,PID_array will not return PID_array_count=0 if no processes are found. You might want to add that to the next release. Currently we need to add a Let>PID_array_count=0 before the call just to be sure.
by Grovkillen
Wed Mar 20, 2024 9:22 am
Forum: Scripts and Tips
Topic: Change cursor of current pointer
Replies: 0
Views: 3458

Change cursor of current pointer

USE WITH CARE, it will apply to whatever cursor handle you have active when you start the script! A restart will always fix any problem with the wrong cursor being used. Or just revert to the default cursor theme (run: control /name Microsoft.Mouse ) This old post inspired me: https://www.mjtnet.co...
by Grovkillen
Tue Mar 19, 2024 12:06 pm
Forum: Technical / Scripting
Topic: CSVFileToArray combined with Separate delays DelArray
Replies: 4
Views: 3318

Re: CSVFileToArray combined with Separate delays DelArray

I suggest you don't use the delete array command and instead just make the ".._count" variable = zero.

Code: Select all

Let>outputlines_count=0
Sign up to our newsletter for free automation tips, tricks & discounts