Search found 334 matches
- 20 Jan 2021, 01:23
- Forum: Ask For Help
- Topic: Paste FileName and TimeModified each one in separate column excel Topic is solved
- Replies: 2
- Views: 96
Re: Paste FileName and TimeModified each one in separate column excel Topic is solved
Hope it will help ya... Xl := ComObjCreate("Excel.Application") Xl.Visible := True ;by default excel sheets are invisible wb := Xl.Workbooks.Add ;add a new workbook and also return with separate object variable so we can specifically handle that one sheet := wb.sheets(1) ; return with sheet FN := sh...
- 15 Jan 2021, 10:23
- Forum: Scripts and Functions
- Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
- Replies: 367
- Views: 159174
Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
done Experiment about reading table with Chrome.ahk and I find out two ways the slower and faster slow way table2array(page,id) { ;table row js = document.querySelector('#%id%').querySelectorAll('tr').length rows := page.evaluate(js).value ;table columns js = document.querySelector('#%id%').querySel...
- 14 Jan 2021, 00:38
- Forum: Ask For Help
- Topic: ComObj Windows Shell - documentation question
- Replies: 7
- Views: 249
Re: ComObj Windows Shell - documentation question
I do not know in very deep what I understand is that, the explorer containing files is simply a document, which is visible on our screen, and handled through shell objFolder := oShell.explore(MyFolders) ; oShell.open(MyFolders) ; seems same as open ; objFolder := oShell.BrowseForFolder(0,"Select",0,...
- 13 Jan 2021, 08:20
- Forum: Ask For Help
- Topic: ComObj Windows Shell - documentation question
- Replies: 7
- Views: 249
Re: ComObj Windows Shell - documentation question
there are so many example already on the forum
https://www.autohotkey.com/boards/viewtopic.php?f=6&t=35041
https://www.autohotkey.com/boards/viewtopic.php?f=7&t=31755
be specific what are you up to ?
https://www.autohotkey.com/boards/viewtopic.php?f=6&t=35041
https://www.autohotkey.com/boards/viewtopic.php?f=7&t=31755
be specific what are you up to ?
- 12 Jan 2021, 09:57
- Forum: Ask For Help
- Topic: "A_LoopBeforeExit" Special Variable for before exiting loop
- Replies: 8
- Views: 175
Re: "A_LoopBeforeExit" Special Variable for before exiting loop
COM shell way you can find last item ;https://docs.microsoft.com/en-us/windows/win32/shell/shellwindows-item oShell := ComObjCreate("Shell.Application") objFolder := oShell.NameSpace(MyFolders) if objFolder objFolderItems := objFolder.Items() if objFolderItems lastitem := objFolderItems.Item(objFold...
- 11 Jan 2021, 11:34
- Forum: Ask For Help
- Topic: Moving a layered window [ E0x80000 ] on win 7 computers && Deleting a instance of a class within a class method
- Replies: 9
- Views: 398
Re: Moving a layered window [ E0x80000 ] on win 7 computers && Deleting a instance of a class within a class method
wait a second, I am clueless,
just see these logs, its not keep checking stuff like onmsg and I just move this window (the blockbox) little down, and I got this new log saying PostMessage, 0xA1 , 2
is this supposed to work for me or not coz I am using windows 7
just see these logs, its not keep checking stuff like onmsg and I just move this window (the blockbox) little down, and I got this new log saying PostMessage, 0xA1 , 2
is this supposed to work for me or not coz I am using windows 7
- 11 Jan 2021, 11:19
- Forum: Ask For Help
- Topic: Moving a layered window [ E0x80000 ] on win 7 computers && Deleting a instance of a class within a class method
- Replies: 9
- Views: 398
Re: Moving a layered window [ E0x80000 ] on win 7 computers && Deleting a instance of a class within a class method
Well I can't take screenshot, I see traytip saying so, but screenshot folder is still empty, rightclick, show and hide the GUI having two buttons and Get color and stetting buttons are not working for me, color is blue is text blue and 4 little color box are blue, here is the code where winmove and ...
- 11 Jan 2021, 10:28
- Forum: Ask For Help
- Topic: Moving a layered window [ E0x80000 ] on win 7 computers && Deleting a instance of a class within a class method
- Replies: 9
- Views: 398
Re: Moving a layered window [ E0x80000 ] on win 7 computers && Deleting a instance of a class within a class method
I still need to find a way to include the ability to add triggers for windows 7 users, but I don't think it will happen ¯\_(ツ)_/¯ I got windows 7 and moving window working for me, line 12 Window := New LayeredWindow( x := "" , y := "", w := 300 , h := 100 , window := 1 , title := "Test Window" , sm...
- 11 Jan 2021, 05:13
- Forum: Ask For Help
- Topic: Problems passing in files with spaces in name Topic is solved
- Replies: 7
- Views: 143
Re: Problems passing in files with spaces in name Topic is solved
try this
Code: Select all
Run, %COMSPEC% /k ""convert" "%param%" "-resize" "300" "%name_no_ext%" "optimised.jpg""
- 11 Jan 2021, 04:49
- Forum: Ask For Help
- Topic: "A_LoopBeforeExit" Special Variable for before exiting loop
- Replies: 8
- Views: 175
Re: "A_LoopBeforeExit" Special Variable for before exiting loop
well I do not know about something like A_lastloop or z_loopfilefullpath there are is way to do this but there are chances it might be fast like you can use shell COM find files, get the list, use CMD to read folder and save all file location to a txt there are hundred ways or simply you can be more...
- 11 Jan 2021, 04:21
- Forum: Ask For Help
- Topic: Moving a layered window [ E0x80000 ] on win 7 computers && Deleting a instance of a class within a class method
- Replies: 9
- Views: 398
Re: Moving a layered window [ E0x80000 ] on win 7 computers && Deleting a instance of a class within a class method
GUI index can be static in your class and why don't you create another layered window with new variable and then delete the previous, the GUI parameters in your class are perfect i do not know much about gdip lib but I am using your button class, in one of my code where I find initial version of the...
- 08 Jan 2021, 04:25
- Forum: Ask For Help
- Topic: ComObj connection issues
- Replies: 4
- Views: 127
Re: ComObj connection issues
Yah I know that stuff already

Code: Select all
Loop {
try Application := Window.Application
catch
ControlSend, Excel71, {esc}, %WinTitle%
} Until !!Application
- 08 Jan 2021, 03:47
- Forum: Ask For Help
- Topic: ComObj connection issues
- Replies: 4
- Views: 127
Re: ComObj connection issues
I am just looking for reasons/resolutions to why the comobjactive() would not make an actual connection. Usually if there is an issue, the code lags out or tosses an error when a connection cant be made. This issue seems to bypass any issues entirely and acts like a connection was made, but then ca...
- 02 Jan 2021, 08:20
- Forum: Ask For Help
- Topic: Append/extend wb.document with additional elemnts/html and interact?(IE)
- Replies: 10
- Views: 229
Re: Append/extend wb.document with additional elemnts/html and interact?(IE)
:think: I am clueless what are you upto, unless I see html, so far I what I understand you want create button on some webpage and by clicking you can change the value on that page, here is some insight ...! which might not be the proper way coz I know very little about dispatching event and event ha...
- 02 Jan 2021, 00:51
- Forum: Ask For Help
- Topic: Append/extend wb.document with additional elemnts/html and interact?(IE)
- Replies: 10
- Views: 229
Re: Append/extend wb.document with additional elemnts/html and interact?(IE)
Have been looking to find how to pass parameters trough function OnClickButton(paramenter)? Is this possible? This is how you change assign some parameter to onclick attribute Button.onclick := Func("OnClickButton") and this is how you trigger event inside onclick Button.onclick() ; or IE.document....
- 31 Dec 2020, 03:12
- Forum: Ask For Help
- Topic: Append/extend wb.document with additional elemnts/html and interact?(IE)
- Replies: 10
- Views: 229
Re: Append/extend wb.document with additional elemnts/html and interact?(IE)
Any suggestions for reading material? you can simply use DOM methods, getelement/getelements queryselector *.value .innertext etc. here is link for IE COM apis https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/aa752084(v=vs.85) and Web scrapping...
- 31 Dec 2020, 01:54
- Forum: Ask For Help
- Topic: Associative Array inside a Regular Array Topic is solved
- Replies: 28
- Views: 2972
Re: Associative Array inside a Regular Array Topic is solved
@Xeo786 Compare your code with my ones from this post . Yah its pretty much same ....! :roll: @Xeo786 Thank you for sharing code. Its pretty clever. Question. This: obj[i,header[a_index]] := A_LoopField I don't see the pint of "i" - ? is this to preserve order? Because the order is not preserved, i...
- 30 Dec 2020, 02:00
- Forum: Ask For Help
- Topic: Associative Array inside a Regular Array Topic is solved
- Replies: 28
- Views: 2972
Re: Associative Array inside a Regular Array Topic is solved
Once I had the basic syntax down it made perfect sense. Inside a loop dict[A_Index] := {Item:Name, Price:Price, Option:Option, Stock:Stock} with all values being variables, so no need for quotes to define strings. It's so simple yet I just couldn't see it in the moment. I came late :wave: , and so ...
- 24 Dec 2020, 01:51
- Forum: Ask For Help
- Topic: Selenium Chrome | find subelement in element
- Replies: 0
- Views: 60
Selenium Chrome | find subelement in element
I made a table to array function for selenium chrome its working flawless but I am having issues getting subelement from element array unlike IE com where you get sub element from any element you get here is my code, first I getting a table to AHK array then I try to click on sub element of specific...