Search found 3455 matches
- Thu Sep 01, 2022 3:32 pm
- Forum: Scripts and Tips
- Topic: Command Prompt Cut and Paste
- Replies: 5
- Views: 12632
Re: Command Prompt Cut and Paste
I'm wondering if mine work because of a corporate initiated group policy. I could ask but I've never received a response to any email where I've requested info about group policy implementation.
- Thu Sep 01, 2022 11:35 am
- Forum: Scripts and Tips
- Topic: Command Prompt Cut and Paste
- Replies: 5
- Views: 12632
Re: Command Prompt Cut and Paste
Yes, I know about the setting. I have 4 Win 10 computers at my desk at work. All at the same update level, none have that checkbox checked. three of them can cut and paste, one cannot.
Is the checkbox checked on your's?
Is the checkbox checked on your's?
- Wed Aug 31, 2022 8:04 pm
- Forum: Scripts and Tips
- Topic: Command Prompt Cut and Paste
- Replies: 5
- Views: 12632
Re: Command Prompt Cut and Paste
Apparently there is more to it than the OS version. I'm currently using a different computer that I thought was fully updated and is in fact the same Win 10 version = 21H2 build 19044.1889 when I view the data under "About Your PC". However, I can't cut / paste using "Ctrl + c / v" from a Command Pr...
- Mon Aug 29, 2022 6:46 pm
- Forum: Scripts and Tips
- Topic: Command Prompt Cut and Paste
- Replies: 5
- Views: 12632
Command Prompt Cut and Paste
Not sure when this newfangled Microsoft magic started. I'm forever highlighting text in a Command Prompt window and instead of pressing "Enter" to place it in the clipboard, I accidentally press "Ctrl + c". This of course fails miserably... until today. Today, quite by accident, I discovered that Co...
- Fri Jul 22, 2022 9:17 pm
- Forum: The Water Cooler
- Topic: The Unofficial Macro Scheduler Puzzler #13
- Replies: 17
- Views: 52077
Re: The Unofficial Macro Scheduler Puzzler #13
This is working well for me. Not perfect but consistently hitting upper 90%. This is actually two scripts. Script1 writes Script2 then runs it once per minute. Script2 is short and has one tight loop waiting for minute two to become different than minute one. when that is detected, DateStamp> is act...
- Tue Jul 19, 2022 10:24 pm
- Forum: Technical / Scripting
- Topic: Highlight Conundrum
- Replies: 2
- Views: 3429
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%=vBu...
- Mon Jul 11, 2022 8:27 pm
- Forum: Technical / Scripting
- Topic: setting the active page on a v12 Dialog PageControl object
- Replies: 5
- Views: 6942
Re: setting the active page on a v12 Dialog PageControl object
Hi Phil, Not sure what your expectations are. This seems to work to set the opening tab to tab2 in the following example. SetDialogProperty>Dialog1,msTabBook1,TabIndex,1 Here's a full example. Dialog>Dialog1 object Dialog1: TForm Left = 661 Top = 207 HelpContext = 5000 BorderIcons = [biSystemMenu] C...
- Mon Jul 11, 2022 3:46 pm
- Forum: The Water Cooler
- Topic: The Unofficial Macro Scheduler Puzzler #13
- Replies: 17
- Views: 52077
Re: The Unofficial Macro Scheduler Puzzler #13
So I ran the code above over the weekend and at 8:15 pm on Sunday the timing went bonkers as I described before. Still have no idea why that happens. Took the results and threw out those roughly 800 consecutive lines (as if I'd stopped the process at 8:14 pm) and then ran the analysis tool on the re...
- Fri Jul 08, 2022 6:17 pm
- Forum: The Water Cooler
- Topic: The Unofficial Macro Scheduler Puzzler #13
- Replies: 17
- Views: 52077
Re: The Unofficial Macro Scheduler Puzzler #13
Here's another attempt. This is running well for me (qualifiers below) but still not perfect and has a very strange result in the evening. I've been testing for 4 days and I'm consistently hitting the upper 90s% for a few hundred cycles even while using the computer. This script is not using a "time...
- Fri Jul 08, 2022 2:45 pm
- Forum: Technical / Scripting
- Topic: Always On Top Trick - Hints Hidden
- Replies: 2
- Views: 3365
Re: Always On Top Trick - Hints Hidden
I would try creating a flag variable that controls whether or not the dialog gets moved. Something Like: (This has not been tested. Demonstration only.) //beginning of script Let>vMoveDialogFlag=1 //lines of code If>MoveDialogFlag=1 GetWindowPos>MyDialog,DiaX,DiaY MoveWindow>MyDialog,DiaX,DiaY EndIf...
- Thu Jul 07, 2022 5:38 pm
- Forum: Technical / Scripting
- Topic: Any way to get which item has been clicked in a dialog?
- Replies: 8
- Views: 5357
Re: Any way to get which item has been clicked in a dialog?
The main issue with what you posted is that most functions don't allow you set sequential values in a loop. If you need to do that add an extra line and use Let>. ReadIniFile>%inifile%,KEYS,key%LOOPVAR%txt,key%LOOPVAR%text Becomes ReadIniFile>%inifile%,KEYS,key%LOOPVAR%txt,value Let>key%LOOPVAR%text...
- Wed Jul 06, 2022 7:14 pm
- Forum: Technical / Scripting
- Topic: Any way to get which item has been clicked in a dialog?
- Replies: 8
- Views: 5357
Re: Any way to get which item has been clicked in a dialog?
Exactly what I would have suggested. There's no reason I can think of to remove the extra dialog handlers, they're created in a loop so their creation only takes a few lines.
You do want the "While" line in hagchr's code to be While>k<24 since you have 24 panels.
You do want the "While" line in hagchr's code to be While>k<24 since you have 24 panels.
- Wed Jul 06, 2022 6:58 pm
- Forum: Technical / Scripting
- Topic: Keeping a Dialog Always On Top - Compiled Script
- Replies: 2
- Views: 3276
- Fri Jul 01, 2022 7:21 pm
- Forum: Technical / Scripting
- Topic: Detect if run as Administrator?
- Replies: 4
- Views: 5931
Re: Detect if run as Administrator?
Good one!
I would add an Else to delete the test.txt file
I would add an Else to delete the test.txt file
Code: Select all
Let>nWLNRes=
WriteLn>C:\text.txt,nWLNRes,
IFNOT>nWLNRes=0
MessageModal>!!!Please Run as Admin!!!
Else
MDL>Yippie !!!
DeleteFile>C:\text.txt
ENDIF
Exit>
- Tue Jun 28, 2022 9:22 pm
- Forum: Technical / Scripting
- Topic: BUG: WaitKeyDown
- Replies: 8
- Views: 5561
Re: BUG: WaitKeyDown
If you are running this script at the same time that you are running a game, the "bug" is the game. Games do things to control your computer and peripherals that only the game programmers can explain and they of course will not. Reboot your computer, do not start any games, run the simple code you f...