Search found 309 matches

by ahklearner
09 Sep 2019, 11:42
Forum: Ask For Help
Topic: Automate Chrome fillin edit boxes
Replies: 11
Views: 1332

Re: Automate Chrome fillin edit boxes

That's not the line of code I gave you. This is it: js := "void(document.querySelector('div[class*=input_below] input[id][type=text][class*=TextInput]').value='123456')" Really sorry, could not understand it at first, its working too good, one more thing on that page there are many edit boxes, the ...
by ahklearner
09 Sep 2019, 11:04
Forum: Ask For Help
Topic: Automate Chrome fillin edit boxes
Replies: 11
Views: 1332

Re: Automate Chrome fillin edit boxes

Yes, but the code I gave you doesn't use the ID, so it doesn't matter if it keeps changing. <div><input id="66fe0286b46ae2658ea2a935f72fb0ee" type="text" class="TextInput---text TextInput---align_start" aria-labelledby="66fe0286b46ae2658ea2a935f72fb0ee" placeholder="" value=""></div></div></div></d...
by ahklearner
09 Sep 2019, 10:57
Forum: Ask For Help
Topic: Automate Chrome , know page loaded completely
Replies: 1
Views: 328

Automate Chrome , know page loaded completely

Hi Community :wave: Could you please help me with knowing when the page is completely loaded. Something from JS code is also highly appreciated, but is should be able to run from AHK. Acc.ahk can also help :) F1:: chromePageWait() Return chromePageWait() { global Loop 50 { while (A_Cursor = "AppStar...
by ahklearner
09 Sep 2019, 10:40
Forum: Ask For Help
Topic: Automate Chrome fillin edit boxes
Replies: 11
Views: 1332

Re: Automate Chrome fillin edit boxes

Yes, there is. Did you use the line of code I suggested? That should fill the text box even if its ID changes. Yes I tried, but if the id is same then only it is able to fill in the edit boxes, and this id="66fe0286b46ae2658ea2a935f72fb0ee" is always changing. <input id="66fe0286b46ae2658ea2a935f72...
by ahklearner
09 Sep 2019, 10:30
Forum: Ask For Help
Topic: Automate Chrome fillin edit boxes
Replies: 11
Views: 1332

Re: Automate Chrome fillin edit boxes

this Document.getElementsByID (479511c552626f98c6c2fa346efa7aef) is not constant, is always changing.
is there any other way I can fill these edit boxes ?
by ahklearner
09 Sep 2019, 09:40
Forum: Ask For Help
Topic: Automate Chrome fillin edit boxes
Replies: 11
Views: 1332

Re: Automate Chrome fillin edit boxes

Getfree wrote:
09 Sep 2019, 08:57
Try with:
js := "void(document.querySelector('div[class*=input_below] input[id][type=text][class*=TextInput]').value='123456')"
Thank you Getfree, I am novice, could you please help me
using above html data
show me what exactly should be my js query.
Thank you in advance.
by ahklearner
09 Sep 2019, 07:26
Forum: Ask For Help
Topic: Chrome edit box send text to ID field(edit field) Topic is solved
Replies: 13
Views: 2659

Re: Chrome edit box send text to ID field(edit field) Topic is solved

tmplinshi wrote:
06 Sep 2019, 09:39
Open Chrome DevTools to copy the element's Selector, and then for exampe:

Code: Select all

ChromeRunJs("document.querySelector('#search > fieldset > a').click()")
I think you should post your new questions in a new topic.
Sure, Thank you :)
by ahklearner
09 Sep 2019, 07:24
Forum: Ask For Help
Topic: Automate Chrome fillin edit boxes
Replies: 11
Views: 1332

Automate Chrome fillin edit boxes

Hi Community :wave: Using below and getElementsByID I am able to fill in edit boxes, but to my surprise the ID is always changing. Could you please help me with automating the filling of the edit boxes inside chrome. <div class="BoxLayout---box_body"> <div class="ContentLayout---content_layout Conte...
by ahklearner
06 Sep 2019, 09:15
Forum: Ask For Help
Topic: Chrome edit box send text to ID field(edit field) Topic is solved
Replies: 13
Views: 2659

Re: Chrome edit box send text to ID field(edit field) Topic is solved

another request.. the id "479511c552626f98c6c2fa346efa7aef" is always changing on this page, what else can I use to automatically add text in edit box, Thank you <div class="ColumnLayout---column ColumnLayout---align_start ColumnLayout---top" data-padding-left="0" data-padding-right="-20"><div class...
by ahklearner
06 Sep 2019, 08:55
Forum: Ask For Help
Topic: Chrome edit box send text to ID field(edit field) Topic is solved
Replies: 13
Views: 2659

Re: Chrome edit box send text to ID field(edit field) Topic is solved

Guys, another help please... How to click on this "Next" button Thank you in advance. <div class="Button---btn_wrapper Button---default_direction appian-context-first-in-list Button---pointer_events"> <button type="button" class="Button---btn Button---default_direction Button---primary appian-contex...
by ahklearner
04 Sep 2019, 07:54
Forum: Ask For Help
Topic: Chrome edit box send text to ID field(edit field) Topic is solved
Replies: 13
Views: 2659

Re: Chrome edit box send text to ID field(edit field) Topic is solved

I think SendInput is pretty fast. F2:: Send {F6} SendInput {Text}javascript:void(document.getElementById("header-search-bar").value="Hello world 1") Send {Enter} return The following code uses Acc.ahk , it works even when Chrome window is inactive. js := "void(document.getElementById('header-search...
by ahklearner
03 Sep 2019, 15:33
Forum: Ask For Help
Topic: Chrome edit box send text to ID field(edit field) Topic is solved
Replies: 13
Views: 2659

Re: Chrome edit box send text to ID field(edit field) Topic is solved

thank you Getfree, but can we have something more robust I mean to say, If I need to update 10 edit boxes, it will be a lot of time to literally sendraw. Not if you use the clipboard. Pasting text is instantaneous, whereas SendInput is slow as hell. I tried pasting the javascript but it is taking i...
by ahklearner
03 Sep 2019, 14:24
Forum: Ask For Help
Topic: Chrome edit box send text to ID field(edit field) Topic is solved
Replies: 13
Views: 2659

Re: Chrome edit box send text to ID field(edit field) Topic is solved

You could use the Chrome.ahk library (or Selenium), but "already opened" only works, if the Chrome browser was opened in 'debug mode'... I already looked into it but need to close any existing tabs and it will start chrome again in debug mode I guess. closing existing chrome tabs wont suit the requ...
by ahklearner
03 Sep 2019, 14:23
Forum: Ask For Help
Topic: Chrome edit box send text to ID field(edit field) Topic is solved
Replies: 13
Views: 2659

Re: Chrome edit box send text to ID field(edit field) Topic is solved

thank you Getfree, but can we have something more robust I mean to say, If I need to update 10 edit boxes, it will be a lot of time to literally sendraw.
by ahklearner
03 Sep 2019, 12:22
Forum: Ask For Help
Topic: Chrome edit box send text to ID field(edit field) Topic is solved
Replies: 13
Views: 2659

Chrome edit box send text to ID field(edit field) Topic is solved

Hi Community :wave: How can I send some text to a page with identified id this is html element <input name="keywords" id="keywords" type="search" maxlength="128" title="Search for keywords" class="inputbox search tiny" size="20" value="" placeholder="Search…"> trying to automate some stuff. should w...
by ahklearner
02 Aug 2019, 08:07
Forum: AutoHotkey v2 Development
Topic: AutoV2Script > ChangeOrSuggest V2 code for V1 script Topic is solved
Replies: 17
Views: 4211

Re: AutoV2Script > ChangeOrSuggest V2 code for V1 script Topic is solved

jeeswg wrote:
01 Aug 2019, 17:54
I backported the AHK v2 Gui object, I'll try and upload it when I can. Plus my updated converter, and function backport library ...
Thanks a lot, much delighted :)
by ahklearner
01 Aug 2019, 11:22
Forum: AutoHotkey v2 Development
Topic: AutoV2Script > ChangeOrSuggest V2 code for V1 script Topic is solved
Replies: 17
Views: 4211

Re: AutoV2Script > ChangeOrSuggest V2 code for V1 script Topic is solved

I am greatly an AHK dependent, and I am from a non-programming background, more than writing code I do analyze codes written by others and learn from them doing small changes. Till date, all of our codes are written in v1, if I need to test, learn, and analyze these scripts >>> I cant change codes m...
by ahklearner
01 Aug 2019, 11:14
Forum: Scripts and Functions
Topic: v1 -> v2 Script Converter
Replies: 18
Views: 8147

Re: v1 -> v2 Script Converter

I am greatly an AHK dependent, and I am from a non-programming background, more than writing code I do analyze codes written by others and learn from them doing small changes. Till date, all of our codes are written in v1, if I need to test, learn, and analyze these scripts >>> I cant change codes m...
by ahklearner
31 Jul 2019, 14:46
Forum: Scripts and Functions
Topic: v1 -> v2 Script Converter
Replies: 18
Views: 8147

Re: v1 -> v2 Script Converter

just replied to get subscribed to the post :)
by ahklearner
31 Jul 2019, 10:19
Forum: AutoHotkey v2 Development
Topic: AutoV2Script > ChangeOrSuggest V2 code for V1 script Topic is solved
Replies: 17
Views: 4211

Re: AutoV2Script > ChangeOrSuggest V2 code for V1 script Topic is solved

@guest3456 thanks a lot for your time and efforts, please try to update this script time to time, it will be a Big relief for all :)

Go to advanced search