Search found 64 matches

by Loop
22 Nov 2020, 11:41
Forum: Ask For Help
Topic: Understanding Ternary operator
Replies: 2
Views: 66

Understanding Ternary operator

Hi,
Why do I get an error message here, what I misunderstood about Ternary operator?
Thx

Code: Select all

Res := FileExist("docu.txt") ? Msgbox, yes : Msgbox, no
by Loop
21 Nov 2020, 17:08
Forum: Ask For Help
Topic: Show content of the edit field when closing GUI Topic is solved
Replies: 6
Views: 84

Re: Show content of the edit field when closing GUI Topic is solved

@mikeyww
thanks, simple but brilliant.

@teadrinker
Thanks, You answered my question
How to get the values of a GUI (edit field) in a function?
by Loop
21 Nov 2020, 16:34
Forum: Ask For Help
Topic: Show content of the edit field when closing GUI Topic is solved
Replies: 6
Views: 84

Show content of the edit field when closing GUI Topic is solved

Hi, When I close my GUI, I want the content of the edit field to be displayed, but unfortunately it does not work. What I do wrong? Thx Gui, Add, Edit, r12 vMyEdit w555 -VScroll -HScroll, Gui, Show, Center OnExit("SaveContent") Return SaveContent(){ Gui, +OwnDialogs Gui, Submit, NoHide MsgBox, % myE...
by Loop
12 Nov 2020, 15:39
Forum: Ask For Help
Topic: Wait for six-digit number Topic is solved
Replies: 4
Views: 89

Re: Wait for six-digit number Topic is solved

Xtra many thanks, was able to realize my project successfully #NoEnv #SingleInstance, force SetBatchLines, -1 myList= (join`n 123456:Apple iPhone 11 123457:Samsung Galaxy A51 153458:Xiaomi Redmi Note 8 Pro 524456:Apple iPhone 11 Pro Max 123050:Samsung Galaxy A10s ) EndKeys := "abcdefghijklmnopqrstu...
by Loop
12 Nov 2020, 11:22
Forum: Ask For Help
Topic: Wait for six-digit number Topic is solved
Replies: 4
Views: 89

Wait for six-digit number Topic is solved

Hi,
If I enter a six-digit number somewhere, then an action should start

I have thought of something like this:

Code: Select all

Input, SixNumber, V L6 B
Unfortunately, it does not work. Someone has an Idea for me?

Thx
by Loop
20 Oct 2020, 09:15
Forum: Ask For Help
Topic: Enable or disable Firefox extensions
Replies: 0
Views: 59

Enable or disable Firefox extensions

Hi,
Is there a possibility with AHK to enable and disable a Firefox extension?
Thx
by Loop
29 Sep 2020, 14:04
Forum: Ask For Help
Topic: Start Chrome in headless mode and press a Button
Replies: 1
Views: 79

Start Chrome in headless mode and press a Button

Hi, If I start my script normally (without headless) is works. When I start it in headless mode, it does not work. Does this mean that Chrome in headless mode can't click buttons and submit values to form Thanks #SingleInstance, force #Include Chrome.ahk SetBatchLines, -1 FileCreateDir, ChromeProfil...
by Loop
17 Sep 2020, 12:59
Forum: Ask For Help
Topic: WinHTTPRequest status 403
Replies: 1
Views: 46

WinHTTPRequest status 403

Hi, If WinHTTPRequest status is 403, it means that it is not possible, because it is unwanted via WinHTTPRequest? Or I do something wrong? What does 403 mean? MyCode: oHTTP := ComObjCreate("WinHttp.WinHttpRequest.5.1") oHTTP.Open("GET", "https://www.foo.com", True) oHTTP.SetRequestHeader("Referer" ,...
by Loop
05 Sep 2020, 16:51
Forum: Ask For Help
Topic: RegEx with negative look-ahead
Replies: 2
Views: 66

RegEx with negative look-ahead

Hi, how can I realize this with RegExMatch should look like this in the end width:30 depth:20 Thanks HT= ( <td class="attribute">height:</td> <!-- Command --><td width="50.0">it should not be recorded</td> <td class="attribute">width:</td> <td width="50.0"><span>30</span></td> <td class="attribute">...
by Loop
03 Sep 2020, 17:04
Forum: Ask For Help
Topic: Date transform Topic is solved
Replies: 6
Views: 103

Re: Date transform Topic is solved

@BoBo
Thank you very much

@Smile_
thanks, it looks rather complicated :)
by Loop
03 Sep 2020, 16:31
Forum: Ask For Help
Topic: Date transform Topic is solved
Replies: 6
Views: 103

Date transform Topic is solved

Hi,
have a date, for example:
25.9.2020
wants it to look like
20200925

How can i realize this with AHK

thanks
by Loop
19 Aug 2020, 16:33
Forum: Ask For Help
Topic: Showing a ToolTip when Mouse over on item of ListBox Topic is solved
Replies: 6
Views: 469

Re: Showing a ToolTip when Mouse over on item of ListBox Topic is solved

Thanks for the work, both methods work very well.
by Loop
17 Aug 2020, 12:07
Forum: Ask For Help
Topic: Showing a ToolTip when Mouse over on item of ListBox Topic is solved
Replies: 6
Views: 469

Showing a ToolTip when Mouse over on item of ListBox Topic is solved

Hi, Is there a possibility that when my mouse is over an item in LIstbox, it displays ToolTip. Thx myText= (join| Lorem ipsum dolor sit amet, consetetur Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy e...
by Loop
11 Aug 2020, 11:20
Forum: Ask For Help
Topic: WinHttpRequest save as zip file Topic is solved
Replies: 4
Views: 2167

Re: WinHttpRequest save as zip file Topic is solved

@teadrinker thank you very much, Perfect !
by Loop
11 Aug 2020, 06:51
Forum: Ask For Help
Topic: WinHttpRequest save as zip file Topic is solved
Replies: 4
Views: 2167

Re: WinHttpRequest save as zip file Topic is solved

Thanks for answers, I have tried the mentioned examples, unfortunately without success. #SingleInstance,Force url := "xxx" Global auth := "xxx" FileAppend, % URLDownloadToVar(url), zip.zip URLDownloadToVar(url){ hObject:=ComObjCreate("WinHttp.WinHttpRequest.5.1") hObject.Open("GET",url) hObject.SetR...
by Loop
08 Aug 2020, 09:40
Forum: Ask For Help
Topic: WinHttpRequest save as zip file Topic is solved
Replies: 4
Views: 2167

WinHttpRequest save as zip file Topic is solved

Hi wants to download a Zip file via WinHttpRequest, but only gets Zip headers (";PK") saved How can I save as a Zip file? Thanks myCode: myUrl := "https://www.test.com/stocks" myAuth := "Basic ...." oHTTP := ComObjCreate("WinHttp.WinHttpRequest.5.1") oHTTP.Open("GET", myUrl , true) oHTTP.SetRequestH...
by Loop
26 Jul 2020, 18:00
Forum: Ask For Help
Topic: Pausing a running script Topic is solved
Replies: 4
Views: 1305

Re: Pausing a running script Topic is solved

thanks, it worked!
by Loop
26 Jul 2020, 17:02
Forum: Ask For Help
Topic: Pausing a running script Topic is solved
Replies: 4
Views: 1305

Pausing a running script Topic is solved

Hi,
Script A is running, it is possible to pause with Script B, Script A
thanks a lot

Go to advanced search