Search found 429 matches

by euras
12 Jul 2021, 06:25
Forum: Ask for Help (v1)
Topic: Merge PDF with FoxitPDF
Replies: 3
Views: 945

Re: Merge PDF with FoxitPDF

I use acrobat COM for many things like extracting field, file conversion, filling forms and comments and stamps but I use pdftk for merging pdf files, You can also use foxit API but you have to translate it into ahk here is the link http://cdn01.foxitsoftware.com/pub/foxit/manual/phantom/en_us/API%...
by euras
08 Jul 2021, 01:46
Forum: Ask for Help (v1)
Topic: Merge PDF with FoxitPDF
Replies: 3
Views: 945

Merge PDF with FoxitPDF

hi guys, is it possible to merge multiple PDF into 1 using FoxitPDF instead of Adobe Acrobat? I know it's possible in Acrobat, but I cannot find anything about FoxitPDF automation with Autohotkey. My company will switch to FoxitPDF soon, so I want to find some kind of solution here :) Here is how yo...
by euras
03 Jun 2021, 10:05
Forum: Ask for Help (v1)
Topic: WinGet PID does not work on browsers
Replies: 11
Views: 1938

Re: WinGet PID does not work on browsers

I just found a way with Python to stick at the active Tab instead of jumping randomly to other, so it's ok for me.
Thanks for you help guys!
by euras
01 Jun 2021, 08:57
Forum: Ask for Help (v1)
Topic: WinGet PID does not work on browsers
Replies: 11
Views: 1938

Re: WinGet PID does not work on browsers

UPDATE:
so far what I found, is that PID for browsers returns not proc.ProcessId but proc.ParentProcessId (not an active Tab data, but the Parent data). While using WinGetTitle i.e. it gives Tab data back.

https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-process
by euras
01 Jun 2021, 08:01
Forum: Ask for Help (v1)
Topic: WinGet PID does not work on browsers
Replies: 11
Views: 1938

Re: WinGet PID does not work on browsers

I would agree with you guys, but it did :) I written a function for Selenium, which takes an active Tab PID via Autohotkey Winget PID, and then it connected with that exact Tab. And it worked fine. But after a couple of months I have checked this again, and it's a mess. If there is more than 1 Tab i...
by euras
01 Jun 2021, 05:02
Forum: Ask for Help (v1)
Topic: WinGet PID does not work on browsers
Replies: 11
Views: 1938

WinGet PID does not work on browsers

[Moderator's note: Topic moved from Bug Reports.]

WinGet PID gives only main browser instance PID instead of active browser PID.
It worked fine a couple months ago.
The browser Tabs still have PID numbers.

Code: Select all

WinGet, temp_pid, PID , A
by euras
01 Jun 2021, 04:04
Forum: Ask for Help (v1)
Topic: WinGet PID does not work with Tabs?
Replies: 0
Views: 212

WinGet PID does not work with Tabs?

Hi guys, do you face the same issue, that WinGet PID does not show unique ID of each Tab in Chrome, Edge Chromium? A couple months ago it showed me unique ID of each Tab in the browser, which helped me to work with the active tab, but now it looks like this command just gives the whole instance PID,...
by euras
11 May 2021, 04:32
Forum: Ask for Help (v1)
Topic: iWB2 Learner analogs for modern browsers
Replies: 1
Views: 271

iWB2 Learner analogs for modern browsers

hi guys,
Do anyone know any tool like iWB2 Learner but for modern browsers (Edge Chromium, Chrome etc.) ? iWB2 was very helpful reading elements on Internet Explorer, and it's a bit pain now to try to get the right path of elements in modern browsers. Maybe you have some analogs to iWB2?
by euras
24 Feb 2021, 08:10
Forum: Ask for Help (v1)
Topic: Download file from internet Topic is solved
Replies: 16
Views: 2872

Re: Download file from internet Topic is solved

Can't reproduce the issue. For me it takes about 6 seconds for the first time. Remove while Req.readyState != 4 sleep 100 It's unnecessary in this case ( Req.Open("GET", url, false ) ). This line does not affect the speed. I went to the microsoft webdrivers storage and tried to download the new web...
by euras
23 Feb 2021, 09:20
Forum: Ask for Help (v1)
Topic: Download file from internet Topic is solved
Replies: 16
Views: 2872

Re: Download file from internet Topic is solved

@malcev I tried this ( all scripts worked for me ) The script works now guys, but I have another problem. Trying to download Chrome or Edge webdrivers, it takes 90-100 seconds to pass the line Req.Send() . Is it a way to make it faster? It happens if you connect the first time. If you delete the fi...
by euras
21 Feb 2021, 03:47
Forum: Ask for Help (v1)
Topic: Download file from internet Topic is solved
Replies: 16
Views: 2872

Re: Download file from internet Topic is solved

teadrinker wrote:
19 Feb 2021, 11:06
It works on my home PC, but on company PC I still get an error on XmlHttp.Send() part and the script fails to download the file :/
by euras
19 Feb 2021, 09:31
Forum: Ask for Help (v1)
Topic: Download file from internet Topic is solved
Replies: 16
Views: 2872

Re: Download file from internet Topic is solved

I'm not sure, perhaps this link may be changed from time to time. I've got now another one: when I try to run this link on the browser, I get that HTML error. It looks like the link contains some temporary keys, which does not match second time, when you try to use it. Is there any other way to get...
by euras
19 Feb 2021, 07:54
Forum: Ask for Help (v1)
Topic: Download file from internet Topic is solved
Replies: 16
Views: 2872

Re: Download file from internet Topic is solved

This URL https://github.com/mozilla/geckodriver/releases/download/v0.29.0/geckodriver-v0.29.0-win64.zip is not the direct address of the file, the file is downloaded by redirect. The code I provided does not support redirects. You can get the direct URL like this: thank you teadrinker! It works on ...
by euras
19 Feb 2021, 06:42
Forum: Ask for Help (v1)
Topic: Download file from internet Topic is solved
Replies: 16
Views: 2872

Re: Download file from internet Topic is solved

Its advantage is asynchrony. While the file is downloading, the script may do something else: thank you teadrinker! That works fine! Except trying to download geckodriver.zip. I think it's something with a sign " - " that blocks Req.Send() line. any ideas how to pass this? FF_Driver_Version := "v0....
by euras
18 Feb 2021, 09:52
Forum: Ask for Help (v1)
Topic: Download file from internet Topic is solved
Replies: 16
Views: 2872

Download file from internet Topic is solved

hi, my company uses firewalls, which does not allow to download a file from internet using UrlDownloadToFile, https://www.autohotkey.com/download/1.1/version.txt, C:\AutoHotkey Latest Version.txt or whr := ComObjCreate("WinHttp.WinHttpRequest.5.1") whr.Open("GET", "https://www.autohotkey.com/downloa...
by euras
08 Feb 2021, 05:18
Forum: Ask for Help (v1)
Topic: Check if the browser runs in Debugging mode Topic is solved
Replies: 1
Views: 857

Check if the browser runs in Debugging mode Topic is solved

Hi, is it possible to check if the browser runs in debugging mode with AHK? Let's say Chrome or Chromium? The task is to launch AHK to start automating the current tab. But before launching the script, I want AHK to check if the browser, user want's to work with, was launched on Debugging mode. ; Ru...
by euras
03 Feb 2021, 03:40
Forum: Ask for Help (v1)
Topic: start EdgeHTML in debugging mode Topic is solved
Replies: 4
Views: 800

Re: start EdgeHTML in debugging mode Topic is solved

I don't have the old EdgeHTML anymore to test it, but based on internet information and Run syntax, I would try: run MicrosoftEdge.exe "--devtools-server-port 9222" (without = , in contrast to the new Chromium-based Edge) If it worked, calling http://localhost:9222/json/list should give you a list ...
by euras
02 Feb 2021, 08:56
Forum: Ask for Help (v1)
Topic: start EdgeHTML in debugging mode Topic is solved
Replies: 4
Views: 800

start EdgeHTML in debugging mode Topic is solved

Hi guys, does anyone know how to start EdgeHTML (version 18) in debugging mode? With Edge Chromium it works fine, but I cannot find a way to do it with EdgeHTML. I need it for work, so a reply "use Chrome" will not help :) ; Runs new Edge HTML instance, but not in Debugging mode Run, explorer.exe sh...
by euras
19 Nov 2020, 09:50
Forum: Ask for Help (v1)
Topic: get computers time format (Outlook)
Replies: 3
Views: 323

Re: get computers time format (Outlook)

nope. A time format I get from Outlook is 19112019121639, while in AHK it would be 20191119121639.
by euras
19 Nov 2020, 09:31
Forum: Ask for Help (v1)
Topic: get computers time format (Outlook)
Replies: 3
Views: 323

get computers time format (Outlook)

hi, I have a problem working with date comparison. AHK works fine with a dates, formatted as YYYYMMDDHH24MISS, but if an user has other time format in his computer and Outlook (lets say ddMMyyyy), in Outlook olMailItem.ReceivedTime will also be given as 19112020162800. And if I try to compare it wit...

Go to advanced search