Search found 1030 matches
- Wed Mar 20, 2024 9:22 am
- Forum: Scripts and Tips
- Topic: Change cursor of current pointer
- Replies: 0
- Views: 3762
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: 3479
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: 15937
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: 1860
GetWindowChildList missing in "Code Builders"
As topic says.
- Thu Mar 14, 2024 10:38 am
- Forum: General Discussion
- Topic: Scroll to Precise Window Location
- Replies: 7
- Views: 15937
Re: Scroll to Precise Window Location
https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getscrollpos https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getscrollrange https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getscrollinfo https://learn.microsoft.com/en-us/windows/win...
- Thu Mar 14, 2024 10:29 am
- Forum: General Discussion
- Topic: Scroll to Precise Window Location
- Replies: 7
- Views: 15937
Re: Scroll to Precise Window Location
If I right click on a standard Windows scroll bar I get a popup menu. Is it possible to add some functionality to MS to get the position or set the position using that? I'm just adding this to the discussion, maybe it will open up a new approach for someone else.
- Thu Mar 14, 2024 9:49 am
- Forum: General Discussion
- Topic: Scroll to Precise Window Location
- Replies: 7
- Views: 15937
Re: Scroll to Precise Window Location
Did anyone find a good way of doing this ? I would like to use this to scroll a HTMLViewer window back to the place it was before updating the HTML code inside it. The current behavior makes the window jump back up to the top. I'm using DisplayFusion and the suggested virtual desktop is a cool feat...
- Tue Mar 12, 2024 6:48 pm
- Forum: Enhancement Suggestions
- Topic: PopupMenu> size on 4K monitor
- Replies: 0
- Views: 3930
PopupMenu> size on 4K monitor
It would be great if we could manipulate the scale of the popup menu. On my 4K monitor the menu is really small.
Code: Select all
Wait>2
GetCursorPos>TEMP_x,TEMP_y
PopupMenu>TEMP_x,TEMP_y,Example1;Example2,Results
- Mon Mar 11, 2024 2:40 pm
- Forum: General Discussion
- Topic: Scrollable menu/dialog
- Replies: 16
- Views: 12240
Re: Scrollable menu/dialog
or getting the results of an HTML form submission? Sorry for the confusion in having this request in this topic. I mean getting the results from a form submit, I figured it was fairly straight forward since the library already have that mechanism in place. I know about the native control but since ...
- Fri Mar 08, 2024 2:41 pm
- Forum: Enhancement Suggestions
- Topic: [Fixed] PopupMenu> click outside = close the menu (result = -1)
- Replies: 2
- Views: 12337
Re: PopupMenu> click outside = close the menu (result = -1)
This is now fixed (tested in 15.0.24)
Code: Select all
Let>TEMP_popup_data=Hello;Yo!
Separate>TEMP_popup_data,;,SELECTION
GetCursorPos>MENU_X,MENU_Y
PopupMenu>MENU_X,MENU_Y,TEMP_popup_data,POPUP_CLICKED
If>POPUP_CLICKED>-1
Add>POPUP_CLICKED,1
PutClipBoard>SELECTION_%POPUP_CLICKED%
Else>
**BREAKPOINT**
Endif>
- Fri Mar 08, 2024 1:58 pm
- Forum: Technical / Scripting
- Topic: GetDialogProperty not working for HTML
- Replies: 2
- Views: 1891
Re: GetDialogProperty not working for HTML
Thanks for the feedback.
- Fri Mar 08, 2024 7:36 am
- Forum: Technical / Scripting
- Topic: GetDialogProperty not working for HTML
- Replies: 2
- Views: 1891
GetDialogProperty not working for HTML
As shown in this example. The GetDialogProperty>Dialog1,MSHTMLViewer1,HTML,TEMP_html will return an empty variable. Dialog>Dialog1 object Dialog1: TForm Left = 251 Top = -1096 HelpContext = 5000 BorderIcons = [biSystemMenu] Caption = 'CustomDialog' ClientHeight = 211 ClientWidth = 476 Color = clBtnF...
- Thu Mar 07, 2024 10:31 am
- Forum: General Discussion
- Topic: Scrollable menu/dialog
- Replies: 16
- Views: 12240
Re: Scrollable menu/dialog
Is this something that is being considered to be "fixed"? If not I would like to know because that puts me in another direction if I need to make dialogs for every single input instead of relying on a more dynamic HTML form. In the help file under "TFormSubmitEvent" we see that the HTMLViewer have t...
- Sun Feb 25, 2024 8:05 pm
- Forum: Scripts and Tips
- Topic: Scaling dialog based on TextHeight
- Replies: 6
- Views: 28953
Re: Scaling dialog based on TextHeight
Okay, today I updated my scripts and uses another approach to get the scaling right. See this thread here: viewtopic.php?f=9&t=10828#p48757
I'm no longer using the TextHeight...
I'm no longer using the TextHeight...
- Sun Feb 25, 2024 8:03 pm
- Forum: Scripts and Tips
- Topic: Get scale/zoom percentage setting.
- Replies: 2
- Views: 16834
Re: Get scale/zoom percentage setting.
This is what I do with all my scripts now. First I do a check and see what maximum vertical pixel count the desktop uses and then I get the highest dpi value. I compare these to my (for now) standard size of 1080 vs 96. I scale from those values if needed: Let>SCALE_OF_DIALOG=100 Let>DECIMAL_SEPARAT...