Search found 116 matches
- 30 Jun 2023, 06:09
- Forum: Scripts and Functions (v1)
- Topic: Screen clipping
- Replies: 307
- Views: 135545
Re: Screen clipping
I have tested the new code with extensions, and they're quite impressive. However, I encountered an issue where the drawing region doesn't function correctly when the monitor's scaling is set to anything other than 100%. I tried the previous solution provided by rommmcek, but unfortunately, it didn'...
- 28 Jun 2023, 02:33
- Forum: Scripts and Functions (v2)
- Topic: Snipper - Window Snipping Tool
- Replies: 125
- Views: 29271
Re: Snipper - Window Snipping Tool
I uninstalled v1, installed v2, and then launched the snipping tool. However, I was disappointed to find that it does not display the rectangular region while I'm dragging it. As a result, I am unable to determine its size or confirm if it is the desired region until I complete the dragging process...
- 24 May 2023, 04:43
- Forum: Scripts and Functions (v2)
- Topic: Snipper - Window Snipping Tool
- Replies: 125
- Views: 29271
Re: Snipper - Window Snipping Tool
I uninstalled v1, installed v2, and then launched the snipping tool. However, I was disappointed to find that it does not display the rectangular region while I'm dragging it. As a result, I am unable to determine its size or confirm if it is the desired region until I complete the dragging process....
- 22 Feb 2023, 13:41
- Forum: Ask for Help (v1)
- Topic: How to search with chatgpt from clipboard for meaning
- Replies: 5
- Views: 662
Re: How to search with chatgpt from clipboard for meaning
I have seen many people used them in chrome extensions. So should it work?
https://github.com/wong2/chatgpt-google-extension#readme
- 21 Feb 2023, 21:58
- Forum: Ask for Help (v1)
- Topic: How to search with chatgpt from clipboard for meaning
- Replies: 5
- Views: 662
How to search with chatgpt from clipboard for meaning
I have been doing this to check meaning of a word or phrase.
How can I make it work with https://chat.openai.com/chat?
I don't know how to make it as a link to search.
Code: Select all
+y::
{
Send, ^c
Sleep 50
Run, http://www.google.com/search?q=`%22%clipboard%`%22
Return
}
I don't know how to make it as a link to search.
- 28 Jan 2023, 09:02
- Forum: Scripts and Functions (v1)
- Topic: Screen clipping
- Replies: 307
- Views: 135545
Re: Screen clipping
Hello, I changed the function Gdip_BitmapFromScreen to this. You'll need to change screen heights, widths, and scales to your values. EDIT: I didn't see rommmcek's post above. That was what I used. ; Function Gdip_BitmapFromScreen ; Description Gets a gdi+ bitmap from the screen ; ; Screen 0 = All s...
- 29 Dec 2022, 10:43
- Forum: Ask for Help (v1)
- Topic: How can I make the chrome opened by this Rudaydium always on top?
- Replies: 12
- Views: 724
Re: How can I make the chrome opened by this Rudaydium always on top?
Thanks, The title works. I was worrying that all chrome windows are of the same class and also there is a chance that different windows have the same title. In my way of doing things, I try to use tools and utilities that already exist. If it doesn't exist, then I fall back to AutoHotkey. I think th...
- 29 Dec 2022, 09:52
- Forum: Ask for Help (v1)
- Topic: Why does this page.setrect(x,y, w,h) not work properly?
- Replies: 11
- Views: 776
Re: Why does this page.setrect(x,y, w,h) not work properly?
Thanks. I don't know javascript, but you can use standard AutoHotkey command: WinSet AlwaysOnTop,, ahk_exe chrome.exe I don't think this is javascript thing? WinSet AlwaysOnTop,, ahk_exe chrome.exe The problem with this is that I don't want to do this for all chrome windows. I only want apply always...
- 29 Dec 2022, 07:16
- Forum: Ask for Help (v1)
- Topic: How can I make the chrome opened by this Rudaydium always on top?
- Replies: 12
- Views: 724
Re: How can I make the chrome opened by this Rudaydium always on top?
The problem with that is that it cannot distingish between two different chrome windows with one opended by Rufaydium and the other one opened manually.
- 29 Dec 2022, 06:09
- Forum: Ask for Help (v1)
- Topic: Why does this page.setrect(x,y, w,h) not work properly?
- Replies: 11
- Views: 776
Re: Why does this page.setrect(x,y, w,h) not work properly?
Yes, it works now.This seems to work reasonably well:
What would be the reason for the number 96?
Do you know how to make it always on top?
- 29 Dec 2022, 00:44
- Forum: Ask for Help (v1)
- Topic: How can I make the chrome opened by this Rudaydium always on top?
- Replies: 12
- Views: 724
How can I make the chrome opened by this Rudaydium always on top?
How can I make the chrome opened by this Rudaydium always on top? #include Rufaydium.ahk w := 500 h := 500 x := A_ScreenWidth/2 y := A_ScreenHeight/2 Chrome := new Rufaydium() Page := Chrome.NewSession() ; navigate to url Page.Navigate("https://www.autohotkey.com/") page.setrect(x,y, w,h) return #f1...
- 28 Dec 2022, 22:32
- Forum: Ask for Help (v1)
- Topic: Why does this page.setrect(x,y, w,h) not work properly?
- Replies: 11
- Views: 776
Re: Why does this page.setrect(x,y, w,h) not work properly?
I see.
I forgot about scaling. I used scale of 150% and I just tried on my laptop with no scale and it works fine.
Can we add something like DPIScale to correct this as we did it the previous thread?
Can we force the chrome window starts at the center of a screen instead of top left corner?
I forgot about scaling. I used scale of 150% and I just tried on my laptop with no scale and it works fine.
Can we add something like DPIScale to correct this as we did it the previous thread?
Can we force the chrome window starts at the center of a screen instead of top left corner?
- 28 Dec 2022, 11:20
- Forum: Ask for Help (v1)
- Topic: Why does this page.setrect(x,y, w,h) not work properly?
- Replies: 11
- Views: 776
Re: Why does this page.setrect(x,y, w,h) not work properly?
It does not work as expected. The top left corner of the window is not at the point (x,y) that I gave. I wanted to center the whole window on the center of the screen but I just tested how it work by setting the top left corner at the center of the screen. If it really did move the upper-left corner...
- 28 Dec 2022, 10:24
- Forum: Ask for Help (v1)
- Topic: Why does this page.setrect(x,y, w,h) not work properly?
- Replies: 11
- Views: 776
Why does this page.setrect(x,y, w,h) not work properly?
Why does this page.setrect(x,y, w,h) not work properly? By setting x := A_ScreenWidth/2, y := A_ScreenHeight/2 I expect the top left corner of the window would move to the center of the screen but it it move to lower right corner. Or probably I misunderstood how it work. And another question which I...
- 28 Dec 2022, 08:11
- Forum: Scripts and Functions (v1)
- Topic: Screen clipping
- Replies: 307
- Views: 135545
Re: Screen clipping
Thanks for the help. I was happy that setting both monitors with the same scale works but now I can set it any scale I want.
- 28 Dec 2022, 05:34
- Forum: Scripts and Functions (v1)
- Topic: Screen clipping
- Replies: 307
- Views: 135545
Re: Screen clipping
Remains to test if it would work for e.g.: firstMonScale:= 150, secondMonScale:= 200 I tried firstMonScale:= 150, secondMonScale:= 100 and firstMonScale:= 150, secondMonScale:= 125 and both worked well. I don't see option to set to 200 in my monitor setting. P.s.: It would be interesting to see the...
- 28 Dec 2022, 04:37
- Forum: Scripts and Functions (v1)
- Topic: Screen clipping
- Replies: 307
- Views: 135545
- 28 Dec 2022, 02:53
- Forum: Scripts and Functions (v1)
- Topic: Screen clipping
- Replies: 307
- Views: 135545
Re: Screen clipping
The capture region was bigger than drawn region last time but now it's smaller.
https://gifyu.com/image/SvS7T
https://gifyu.com/image/SvS7T
- 27 Dec 2022, 09:17
- Forum: Scripts and Functions (v1)
- Topic: Screen clipping
- Replies: 307
- Views: 135545
Re: Screen clipping
I should be thanking you instead.
The x and y coordinates are correct but the region is expanding to the left and bottom so the capture region is larger than needed.
I tried it for both small and large capture regions and they're expanding the same way.
The x and y coordinates are correct but the region is expanding to the left and bottom so the capture region is larger than needed.
I tried it for both small and large capture regions and they're expanding the same way.
- 27 Dec 2022, 07:25
- Forum: Scripts and Functions (v1)
- Topic: Screen clipping
- Replies: 307
- Views: 135545