Search found 56 matches

by jsjcjsjc
14 Jul 2023, 04:13
Forum: Ask for Help (v1)
Topic: autohotkey how to access a trigger link in the backend without any notice Topic is solved
Replies: 3
Views: 279

Re: autohotkey how to access a trigger link in the backend without any notice Topic is solved

another idea

Code: Select all

req := ComObjCreate("MSXML2.ServerXMLHTTP")
req.open("GET", "https://powerbi.com", true)
req.send()
by jsjcjsjc
14 Jul 2023, 04:12
Forum: Ask for Help (v1)
Topic: how to create a blur layer on screen Topic is solved
Replies: 2
Views: 290

how to create a blur layer on screen Topic is solved

Hi
backgroud is I'd like to make nice waiting image, is it possible to create a blur layer on screen ?
similar like here
before
Image
after(progress bar is my local file)
Image
by jsjcjsjc
14 Jul 2023, 02:42
Forum: Ask for Help (v1)
Topic: is it possible send {F5} to edge in background ? Topic is solved
Replies: 1
Views: 226

is it possible send {F5} to edge in background ? Topic is solved

Hi

it looks like ControlSend not work, I just want to reload page, any ideas ?

Thanks in advance

Code: Select all

F1::
SetTitleMatchMode, 2
ControlSend,, {F5}, ahk_exe msedge.exe
by jsjcjsjc
12 Jul 2023, 21:04
Forum: Ask for Help (v1)
Topic: How to create a blue rectangle area that is always on screen top level Topic is solved
Replies: 9
Views: 640

Re: How to create a blue rectangle area that is always on screen top level Topic is solved

malcev wrote:
12 Jul 2023, 06:57
Run this code with autohotkey ui access.
Or first execute RunWithUiAccess() function.
https://www.autohotkey.com/boards/viewtopic.php?f=6&t=119251
thanks, but I don't have admin :D
by jsjcjsjc
12 Jul 2023, 06:07
Forum: Ask for Help (v1)
Topic: How to create a blue rectangle area that is always on screen top level Topic is solved
Replies: 9
Views: 640

Re: How to create a blue rectangle area that is always on screen top level Topic is solved

#Requires AutoHotkey v1.1.33 Gui +AlwaysOnTop -Caption +ToolWindow Gui Color, Blue Gui Show, w100 h100 OnMessage(WM_LBUTTONDOWN := 0x0201, "WM_LBUTTONDOWN") WM_LBUTTONDOWN(wParam, lParam) { Gui Hide MsgBox 64, Status, OK! } another question is if my chrome is in full screen status, the taskbar will...
by jsjcjsjc
12 Jul 2023, 05:44
Forum: Ask for Help (v1)
Topic: How to create a blue rectangle area that is always on screen top level Topic is solved
Replies: 9
Views: 640

Re: How to create a blue rectangle area that is always on screen top level Topic is solved

boiler wrote:
12 Jul 2023, 05:06
jsjcjsjc wrote: I try to Show this rectangle in left bottom. "Gui Show, x0 y980 w100 h100" is ok, but "Gui Show, x0 y%A_ScreenHeight%-100 w100 h100" is not ok.
You need to force an expression:

Code: Select all

Gui Show, % "x0 y" . (A_ScreenHeight-100) . " w100 h100"
See % Expression.
I see, thanks
by jsjcjsjc
12 Jul 2023, 01:08
Forum: Ask for Help (v1)
Topic: How to create a blue rectangle area that is always on screen top level Topic is solved
Replies: 9
Views: 640

Re: How to create a blue rectangle area that is always on screen top level Topic is solved

#Requires AutoHotkey v1.1.33 Gui +AlwaysOnTop -Caption +ToolWindow Gui Color, Blue Gui Show, w100 h100 OnMessage(WM_LBUTTONDOWN := 0x0201, "WM_LBUTTONDOWN") WM_LBUTTONDOWN(wParam, lParam) { Gui Hide MsgBox 64, Status, OK! } works great!! :D I try to Show this rectangle in left bottom. "Gui Show, x0...
by jsjcjsjc
12 Jul 2023, 00:46
Forum: Ask for Help (v1)
Topic: autohotkey how to access a trigger link in the backend without any notice Topic is solved
Replies: 3
Views: 279

Re: autohotkey how to access a trigger link in the backend without any notice Topic is solved

mikeyww wrote:
11 Jul 2023, 10:49
Possibly ActiveX.
looks good, thank you so much

Code: Select all

f1::
ie := ComObjCreate("InternetExplorer.Application")

ie.Visible := false
ie.Navigate("https://prod-172.westus.logic.azure.com:443/workflows/")

While (ie.ReadyState != 4) || (ie.Busy)
    Sleep, 1000

ie.Quit()

MsgBox, ok
return
by jsjcjsjc
11 Jul 2023, 10:44
Forum: Ask for Help (v1)
Topic: How to create a blue rectangle area that is always on screen top level Topic is solved
Replies: 9
Views: 640

How to create a blue rectangle area that is always on screen top level Topic is solved

Hello How to create a blue rectangle area that is always on screen top level ? Even win+D and it will display "ok" after clicking in this area ? I try to use this blue rectangle area in a touch screen as a trigger. I can only use loop to monitor this area, but i think it's not prefec as loop will co...
by jsjcjsjc
11 Jul 2023, 10:21
Forum: Ask for Help (v1)
Topic: autohotkey how to access a trigger link in the backend without any notice Topic is solved
Replies: 3
Views: 279

autohotkey how to access a trigger link in the backend without any notice Topic is solved

Hi
https://powerbi.com/trigger is a trigger , after visiting it, My powerbi database will be updated.
so my question is how to access a trigger link in the backend without any notice ?
I tried code below, but not works

Code: Select all

f1::
Run https://www.baidu.com/,, Hide
return
Thanks in advance
by jsjcjsjc
03 Apr 2023, 22:16
Forum: Ask for Help (v1)
Topic: How to send keys when excel is minimized
Replies: 1
Views: 212

How to send keys when excel is minimized

Hi here is my code, I try to send keys when excel is minimized. but it not works. I find some old information similar like https://www.autohotkey.com/board/topic/76074-send-a-command-to-a-minimized-excel-window/. but it 2023, is there something new and easy ? Thanks in advance f1:: SetTitleMatchMode...
by jsjcjsjc
29 Jan 2023, 01:19
Forum: Ask for Help (v1)
Topic: only white in specified area ? Topic is solved
Replies: 9
Views: 583

Re: only white in specified area ? Topic is solved

oh..I should make a 600x600 white picture, then it works.

is it possible to use any size white PNG file ?
by jsjcjsjc
29 Jan 2023, 01:12
Forum: Ask for Help (v1)
Topic: only white in specified area ? Topic is solved
Replies: 9
Views: 583

Re: only white in specified area ? Topic is solved

@jsjcjsjc well, you mean: Loop { sleep, 1000 ImageSearch, up_left_x, up_left_y, 400, 400, 1000, 1000, totally white picture.png msgbox,,, % up_left_x " " up_left_y, 1 } this code wont report the right "up_left_x/y" ? i tested it, its ok maybe you could post your whole code or describe your whole re...
by jsjcjsjc
28 Jan 2023, 21:06
Forum: Ask for Help (v1)
Topic: only white in specified area ? Topic is solved
Replies: 9
Views: 583

Re: only white in specified area ? Topic is solved

@wer — It would be faster and eliminate the need to check the resulting location (just check ErrorLevel) if you set the search rectangle for ImageSearch to be the same as the same as the “specified” area instead of the whole screen. Actually, it’s necessary that you do this, otherwise ImageSearch c...
by jsjcjsjc
27 Jan 2023, 06:33
Forum: Ask for Help (v1)
Topic: only white in specified area ? Topic is solved
Replies: 9
Views: 583

only white in specified area ? Topic is solved

Hi I have a question regarding the "PixelSearch". My question is how to know that there is only white in the specified area ? here is my code, but not correct. it can help me find white color, but My need is to know that there is only white in the specified area. could you please help me with it ? T...
by jsjcjsjc
24 Jan 2023, 03:35
Forum: Ask for Help (v1)
Topic: Is there a general way to determine if the screen has changed? Topic is solved
Replies: 6
Views: 969

Re: Is there a general way to determine if the screen has changed? Topic is solved

Take a look at this. There is no threshold setting. It will trigger when the screen changes even slightly. I have had luck with playing with the "count" variable to provide a tiny bit of control over screen-change sensitivity. But this solution is not designed to provide this type of sensitivity co...
by jsjcjsjc
24 Jan 2023, 03:31
Forum: Ask for Help (v1)
Topic: Is there a general way to determine if the screen has changed? Topic is solved
Replies: 6
Views: 969

Re: Is there a general way to determine if the screen has changed? Topic is solved

mikeyww wrote:
22 Jan 2023, 20:57
Hello,

If you want the dimensions, you can use A_ScreenHeight & A_ScreenWidth for primary monitor, or use :arrow: SysGet.

As you make the switch to AHK v2, see: https://www.autohotkey.com/docs/v2/lib/Monitor.htm.
thanks for your kind help :thumbup:
by jsjcjsjc
22 Jan 2023, 20:53
Forum: Ask for Help (v1)
Topic: Is there a general way to determine if the screen has changed? Topic is solved
Replies: 6
Views: 969

Is there a general way to determine if the screen has changed? Topic is solved

hello Currently I will monitor the picture of a specific area, it is ok, but i have to change the parameter every time. Is there a general way to determine if the screen has changed ? if there is a Threshold that will be great.(for example, if the screen changed more than 30% area) Thanks in advance
by jsjcjsjc
14 Nov 2022, 06:39
Forum: Ask for Help (v1)
Topic: IfWinNotExist how to satisfy two conditions Topic is solved
Replies: 10
Views: 809

Re: IfWinNotExist how to satisfy two conditions Topic is solved

#Include d:\utils\trayicon.ahk ; http://ahkscript.org/boards/viewtopic.php?f=6&t=1229 proc = notepad++.exe dir = C:\app\note\Notepad++ !a:: DetectHiddenWindows, On If WinExist("ahk_class Notepad++") If !WinActive() { TrayIcon_Button(proc) WinActivate } Else WinMinimize Else Run, %dir%\%proc% Return...
by jsjcjsjc
13 Nov 2022, 23:52
Forum: Ask for Help (v1)
Topic: IfWinNotExist how to satisfy two conditions Topic is solved
Replies: 10
Views: 809

Re: IfWinNotExist how to satisfy two conditions Topic is solved

If your script works, then what is the question? Thanks for your reply. there are two hotkeys in the code, but "Obsidian" works , "Notepadplus" failed. could you help me with it ? I thought there are totaly same. and "notepad++.exe" comes from "WinGet, active_ProcessName, ProcessName, A", it is goo...

Go to advanced search