Search found 1026 matches
- Fri Mar 29, 2024 8:08 pm
- Forum: General Discussion
- Topic: SetRoundMode> feels wrong
- Replies: 1
- Views: 39757
- Fri Mar 29, 2024 7:54 pm
- Forum: Enhancement Suggestions
- Topic: RegEx replace match [UNDOCUMENTED FEATURE?]
- Replies: 9
- Views: 29987
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=...
- Wed Mar 27, 2024 9:48 am
- Forum: Enhancement Suggestions
- Topic: Minimizing label comment turns into /* .. */
- Replies: 1
- Views: 2765
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...
- Wed Mar 27, 2024 9:03 am
- Forum: Technical / Scripting
- Topic: CSVFileToArray combined with Separate delays DelArray
- Replies: 4
- Views: 3153
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...
- Tue Mar 26, 2024 6:29 am
- Forum: Enhancement Suggestions
- Topic: Right click on LabelToVar menu with "goto.." label
- Replies: 0
- Views: 3333
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.
- Mon Mar 25, 2024 11:10 am
- Forum: Beginners
- Topic: Empty Windows Recycle Bin
- Replies: 3
- Views: 2675
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}"
- Mon Mar 25, 2024 11:05 am
- Forum: Technical / Scripting
- Topic: CSVFileToArray combined with Separate delays DelArray
- Replies: 4
- Views: 3153
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.
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.
- Sun Mar 24, 2024 2:48 pm
- Forum: Beginners
- Topic: Empty Windows Recycle Bin
- Replies: 3
- Views: 2675
- Thu Mar 21, 2024 3:25 pm
- Forum: General Discussion
- Topic: ONERROR not capturing string error
- Replies: 6
- Views: 13334
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.
- Thu Mar 21, 2024 7:27 am
- Forum: General Discussion
- Topic: ONERROR not capturing string error
- Replies: 6
- Views: 13334
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 ...
- Wed Mar 20, 2024 9:26 pm
- Forum: Scripts and Tips
- Topic: Only run script when pc is locked (lock screen)
- Replies: 2
- Views: 5349
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.
- Wed Mar 20, 2024 9:22 am
- Forum: Scripts and Tips
- Topic: Change cursor of current pointer
- Replies: 0
- Views: 3189
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...
- Tue Mar 19, 2024 12:06 pm
- Forum: Technical / Scripting
- Topic: CSVFileToArray combined with Separate delays DelArray
- Replies: 4
- Views: 3153
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
- Thu Mar 14, 2024 12:57 pm
- Forum: General Discussion
- Topic: Scroll to Precise Window Location
- Replies: 7
- Views: 15640
Re: Scroll to Precise Window Location
Ok, I found out how to use the user32.dll call. It's working but not ideal. Run>notepad WaitWindowChanged>5 Let>WIN_USEHANDLE=1 GetActiveWindow>TEMP_handle,,,, GetWindowChildList>TEMP_handle,TEMP_children Let>k=0 Repeat>k Let>k=k+1 Press Enter Until>k=100 //my TEMP_children is empty, if not you coul...
- Thu Mar 14, 2024 12:50 pm
- Forum: General Discussion
- Topic: GetWindowChildList missing in "Code Builders"
- Replies: 1
- Views: 1573
GetWindowChildList missing in "Code Builders"
As topic says.