Search found 313 matches

by ahklearner
04 Aug 2022, 07:36
Forum: Ask for Help (v1)
Topic: HotkeylessAHK send param1
Replies: 5
Views: 960

Re: HotkeylessAHK send param1

I plan to take this approach where I will share params via ini file, call function, and guide the function to read params from ini files.
by ahklearner
04 Aug 2022, 07:35
Forum: Ask for Help (v1)
Topic: HotkeylessAHK send param1
Replies: 5
Views: 960

Re: HotkeylessAHK send param1

Hi Arif, using parameters in calls is currently not supported . However, there is a simple solution that I also use in my personal scripts, e.g., here: https://github.com/sebinside/AutoHotkeyScripts/blob/master/source/lib/StreamDeckFunctions.ahk#L133 The idea is to make a parameterized function (e.g...
by ahklearner
03 Aug 2022, 06:46
Forum: Ask for Help (v1)
Topic: HotkeylessAHK send param1
Replies: 5
Views: 960

Re: HotkeylessAHK send param1

sorry missed to add "run"
added in main code

Code: Select all

Run curl ""http://localhost:42800/send/yourNewFunction?param1=Hello&param2=World""
by ahklearner
02 Aug 2022, 18:05
Forum: Ask for Help (v1)
Topic: HotkeylessAHK send param1
Replies: 5
Views: 960

HotkeylessAHK send param1

https://github.com/sebinside/HotkeylessAHK I just came across HotkeylessAHK, this is amazing and one of the best stuff I found on the internet. I tried sending params but failing, would really appreciate if you could guide me somewhere. Please do let me know if you need more information. ;#---------...
by ahklearner
09 Sep 2019, 11:42
Forum: Ask for Help (v1)
Topic: Automate Chrome fillin edit boxes
Replies: 11
Views: 1941

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 (v1)
Topic: Automate Chrome fillin edit boxes
Replies: 11
Views: 1941

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 (v1)
Topic: Automate Chrome , know page loaded completely
Replies: 1
Views: 475

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 (v1)
Topic: Automate Chrome fillin edit boxes
Replies: 11
Views: 1941

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 (v1)
Topic: Automate Chrome fillin edit boxes
Replies: 11
Views: 1941

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 (v1)
Topic: Automate Chrome fillin edit boxes
Replies: 11
Views: 1941

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 (v1)
Topic: Chrome edit box send text to ID field(edit field) Topic is solved
Replies: 13
Views: 4658

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 (v1)
Topic: Automate Chrome fillin edit boxes
Replies: 11
Views: 1941

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 (v1)
Topic: Chrome edit box send text to ID field(edit field) Topic is solved
Replies: 13
Views: 4658

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 (v1)
Topic: Chrome edit box send text to ID field(edit field) Topic is solved
Replies: 13
Views: 4658

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 (v1)
Topic: Chrome edit box send text to ID field(edit field) Topic is solved
Replies: 13
Views: 4658

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 (v1)
Topic: Chrome edit box send text to ID field(edit field) Topic is solved
Replies: 13
Views: 4658

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 (v1)
Topic: Chrome edit box send text to ID field(edit field) Topic is solved
Replies: 13
Views: 4658

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 (v1)
Topic: Chrome edit box send text to ID field(edit field) Topic is solved
Replies: 13
Views: 4658

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 (v1)
Topic: Chrome edit box send text to ID field(edit field) Topic is solved
Replies: 13
Views: 4658

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 Development
Topic: AutoV2Script > ChangeOrSuggest V2 code for V1 script Topic is solved
Replies: 17
Views: 6170

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 :)

Go to advanced search