Search found 648 matches

by malcev
21 Aug 2020, 14:33
Forum: Ask For Help
Topic: How to retrieve full path of currently opened folder?
Replies: 30
Views: 8965

Re: How to retrieve full path of currently opened folder?

Your script does not work with my connected phone. Just shows: { "": { "folderSize": 0, "items": [] } } Also it does not work with videos, music, pictures... folders. Also I get such error :with file=11.6 GB --------------------------- dx9.ahk --------------------------- Error: Failed to get size of...
by malcev
20 Aug 2020, 11:56
Forum: Ask For Help
Topic: How to retrieve full path of currently opened folder?
Replies: 30
Views: 8965

Re: How to retrieve full path of currently opened folder?

I know, I just write it for fun.
by malcev
20 Aug 2020, 11:46
Forum: Ask For Help
Topic: How to retrieve full path of currently opened folder?
Replies: 30
Views: 8965

Re: How to retrieve full path of currently opened folder?

With bytes counting it can be done with UWP. Very dirty example of getting first subfolders sizes of removable storage. Too lazy to clean it :) CreateClass("Windows.Storage.KnownFolders", IKnownFoldersStatics := "{5A2A7520-4802-452D-9AD9-4351ADA7EC35}", KnownFoldersStatics) DllCall(NumGet(NumGet(Kno...
by malcev
20 Aug 2020, 06:01
Forum: Ask For Help
Topic: How to retrieve full path of currently opened folder?
Replies: 30
Views: 8965

Re: How to retrieve full path of currently opened folder?

It shows the same size units that are shown in details->size property.
by malcev
19 Aug 2020, 23:11
Forum: Ask For Help
Topic: How to retrieve full path of currently opened folder?
Replies: 30
Views: 8965

Re: How to retrieve full path of currently opened folder?

You can count like this: (folders size You have to recurse by Yourself) for window in shellWindows ; ShellFolderView object: https://goo.gl/MhcinH if (hWnd = window.HWND) && (shellFolderView := window.Document) break } loop { if (A_Index = 1) { folder := shellFolderView.Folder folderPath := folder.T...
by malcev
29 Jul 2020, 04:43
Forum: Ask For Help
Topic: Captcha problem in Chrome
Replies: 5
Views: 2178

Re: Captcha problem in Chrome

You have to use online captcha solvers API or break captcha by Yourself.
by malcev
28 Jul 2020, 21:17
Forum: Ask For Help
Topic: Captcha problem in Chrome
Replies: 5
Views: 2178

Re: Captcha problem in Chrome

What is the site and Your code?
by malcev
23 Jul 2020, 11:54
Forum: Ask For Help
Topic: How to send text to a location in a window? Topic is solved
Replies: 29
Views: 7261

Re: How to send text to a location in a window? Topic is solved

You can see what controlsend sends with spy++.
No magic.
wm_keydown, wm_keyup, wm_char for every letter.
by malcev
23 Jul 2020, 00:09
Forum: Ask For Help
Topic: How to send text to a location in a window? Topic is solved
Replies: 29
Views: 7261

Re: How to send text to a location in a window? Topic is solved

No, You have to test it by Yourself. ControlSend is just wrapper of PostMessage, WM_CHAR. Also as I said before there are a lot of different approaches to automate tasks with Your browser. WinHttpRequest, IAccessible, UIA, webdriver, selenium, chrome wrapper, tagui, imacros, run js from address bar,...
by malcev
22 Jul 2020, 15:37
Forum: Ask For Help
Topic: How to send text to a location in a window? Topic is solved
Replies: 29
Views: 7261

Re: How to send text to a location in a window? Topic is solved

As far as I understand, the purpose of ControlSend is to send keystrokes to a window that may not be the active window It depends on target program. I don't know why you say that I am not saying what I want. I think I've been very clear about what I want. You did not tell that You want use firefox ...
by malcev
22 Jul 2020, 12:29
Forum: Ask For Help
Topic: How to send text to a location in a window? Topic is solved
Replies: 29
Views: 7261

Re: How to send text to a location in a window? Topic is solved

I think that You cannot Controlsend to another firefox window while You have active document of firefox.
You can activate url or search bar of active firefox and then controlsend will work.
You cannot explain what do You want and therefore You will get such results.
by malcev
19 Jul 2020, 11:46
Forum: Ask For Help
Topic: How to send text to a location in a window? Topic is solved
Replies: 29
Views: 7261

Re: How to send text to a location in a window? Topic is solved

I do not see any issue:

Code: Select all

F1::
SetControlDelay -1
SetKeyDelay, -1
ControlClick x75 y213, ahk_exe firefox.exe,,,, NA	; adjust coords!
ControlSend, ahk_parent, test, ahk_exe firefox.exe
return
by malcev
19 Jul 2020, 10:44
Forum: Ask For Help
Topic: How to send text to a location in a window? Topic is solved
Replies: 29
Views: 7261

Re: How to send text to a location in a window? Topic is solved

What is the site?
And what do You want?
by malcev
18 Jul 2020, 09:32
Forum: Ask For Help
Topic: How to build this in AHK - It's been done in Python
Replies: 6
Views: 2293

Re: How to build this in AHK - It's been done in Python

I do not know much python, but some time ago it was interested to me to convert some functions from instagram api python wrapper to ahk. https://www.autohotkey.com/boards/viewtopic.php?p=251268#p251268 I installed python, read manual about functions that code used, tested what they do in python and ...
by malcev
16 Jul 2020, 07:53
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 313
Views: 132724

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Use WebDriver api:
https://www.autohotkey.com/boards/viewtopic.php?f=6&t=69390
Or You can run JS from address bar.
Or You can set value with IAccessible or IUIAutomation help.
by malcev
13 Jul 2020, 02:28
Forum: Gaming
Topic: Anti-cheat black screen
Replies: 42
Views: 9663

Re: Anti-cheat black screen

Read manual.
by malcev
12 Jul 2020, 07:02
Forum: Scripts and Functions
Topic: RPAChallenge with AHK, COM, and JSWrapper.ahk
Replies: 43
Views: 15685

Re: RPAChallenge with AHK, COM, and JSWrapper.ahk

I tested on 3 different Win10 PCs and code works for me. Therefore I think it is bug of Your system. You can try to disable gpu and/or change page load strategy like this: #noenv #include AHKWebDriver.ahk Run, chromedriver.exe --port=1234 options = {"capabilities": {"alwaysMatch": {"pageLoadStrategy...

Go to advanced search