My example was simply to show how you would use javascript to search through all of the input elements which are of type 'text' reference here on css selectors: https://www.w3schools.com/cssref/css_selectors.asp You can use them to great specificity to extract very specific parts of a page based on ...
Edit - ahh burque505 beat me to it, didn't mean to hijack your response! Its Javascript, not java...and really you aren't automating with 'ahk + java' all you are doing is sending javascript to the page through a websocket connection via ahk. So, you are just better off searching for how to do this ...
Navigate to the field, and 'activate' it? or do you just want to input some text into it? because you dont need to worry about that classname if you just want to input some text id imagine.
Probably more trouble than its worth but... I wanted to be able to launch the same chrome page(a local html file) multiple times - without having multiple debug ports open, but yet make sure than each page instance could be interacted with independently. If you arent careful - you will end up connec...
Hey Joe - Very nice and complete library here! Just a few additions maybe someone will find useful: Will require XL_Check() Function as well as some global constants if used as part of an included LIB. Otherwise, you can easily modify the functions to work with other methods. GLOBAL xlup = -4162 GLO...
Hey G33k, Is there a way within Neutron to add callbacks to AHK when you are dynamically building the html page elements? I'm creating tables dynamically, and then attaching click handlers to the rows. Im doing it like so currently: ... ... ....add table to dom.... neutron.wnd.addClickHandlers() ;Ex...
You pretty much had it...i just simply removed the 7 JS calls...and made it one long Javascript execution, which is where the real time savings comes in i believe! Here's the relevant stuff: #Include Chrome\Chrome.ahk if !FileExist(A_Temp "\ChromeProfile") FileCreateDir, % A_Temp "\ChromeProfile" Ch...
Yet another Iteration... Realized i can just let PS handle the file creation...so no need to loop over the file checking for filesize. Also - like in my edited post above, no longer have the password credential hardcoded in plain text. FindInstances() { PS = ( $password = Get-Content F:\UserFolders\...
Slightly improved code to a previous post i made about finding multiple instance of Chrome Debug sessions in a multi user environment like a Terminal Server: UPDATED - at G33kDudes suggestion - hardcoding in domain admin credentials is obviously unwise, so updated the PS to use a secure key. There a...
So - printing the document(html page) using neutron. Is this something that is possible, or maybe through a third party library like print.js? the only issue i see with print.js is that it cant be done without user interation i.e the print dialog will always appear. Do you know of any way to get aro...