Search found 27 matches

by sqlcode
07 Mar 2018, 16:41
Forum: Ask For Help
Topic: Issue with page load
Replies: 4
Views: 638

Re: Issue with page load

Thank you for prompt response. So I tried this for testing and I am not even sure if this is a valid test but it failed. I got Msgbox popped up before even page load was complete. pwb := WBGet() pwb.Navigate("www.msn.com") ;Navigate to URL while pwb.busy or pwb.ReadyState != 4 ;Wait for page to load...
by sqlcode
07 Mar 2018, 11:33
Forum: Ask For Help
Topic: Issue with page load
Replies: 4
Views: 638

Re: Issue with page load

Hello,
could someone please help on this? Do I have a typo or is this not how the logic is supposed to work?
by sqlcode
06 Mar 2018, 17:22
Forum: Ask For Help
Topic: Issue with page load
Replies: 4
Views: 638

Issue with page load

I have a strange issue with page load and I have tried a lot of options from forum but it's not helping. My code looks like below snippet. I am trying to make sure, page load is complete before I take further action. Page load confirms an entry in the file which I am using in the macro later (code n...
by sqlcode
05 Mar 2018, 11:25
Forum: Scripts and Functions
Topic: Compile_AHK II - for those who compile! [v0.9.2 (04/19/16)]
Replies: 17
Views: 12644

Re: Compile_AHK II - for those who compile! [v0.9.2 (04/19/16)]

Mercury233,
Is there a way to make this work to bulk compile scripts? I have over 400 scripts used by various people and would like to generate bulk compile to exe.
by sqlcode
04 Mar 2018, 23:31
Forum: Ask For Help
Topic: GUI Scroll Topic is solved
Replies: 4
Views: 748

Re: GUI Scroll Topic is solved

Thank you. This is really helpful.
by sqlcode
02 Mar 2018, 18:10
Forum: Ask For Help
Topic: Extract table element from a page Topic is solved
Replies: 7
Views: 1663

Re: Extract table element from a page Topic is solved

Thank you and Excellent. It worked but could you please elaborate what happened here? After playing around with your solution, I realized i was making it overly complicated. For example, if i "always" need first row and 3rd cell which has an id (but same id is repeated across rows in the table), i c...
by sqlcode
02 Mar 2018, 13:42
Forum: Ask For Help
Topic: GUI Scroll Topic is solved
Replies: 4
Views: 748

Re: GUI Scroll Topic is solved

Sorry for delayed response and i am going to apologize in advance for asking this stupid question, but do i have to use these in conjunction? Would you have an example of a small gui that uses this control? Obviously first two snippets look good because there is not a lot of coding involved but i do...
by sqlcode
02 Mar 2018, 12:23
Forum: Ask For Help
Topic: Extract table element from a page Topic is solved
Replies: 7
Views: 1663

Re: Extract table element from a page Topic is solved

If you don't mind i have a follow up question. I have page defined something like below and i am trying to use your method but its not working. I feel like i am close but been stuck on this for days now. I am interested in extracting "111111" from below. <table class="Tabform first-data" id="TabDeta...
by sqlcode
27 Feb 2018, 16:57
Forum: Ask For Help
Topic: Extract table element from a page Topic is solved
Replies: 7
Views: 1663

Re: Extract table element from a page Topic is solved

Ok never mind, I now realized you are just creating COM object to test this.

I tested this and i am getting required data element. Curiosity question, which one of the two methods is a better one?

Thanks a lot about taking time to test and post the solution.
by sqlcode
27 Feb 2018, 14:26
Forum: Ask For Help
Topic: Extract table element from a page Topic is solved
Replies: 7
Views: 1663

Re: Extract table element from a page Topic is solved

sorry for not responding sooner. I didn't get alerts and totally missed your response. So if I understand this correctly (novice with AHK), HTML= () portion is what I don't need because that is something you have added for testing purpose. My script will only contain last 3 lines of what you have po...
by sqlcode
21 Feb 2018, 17:28
Forum: Ask For Help
Topic: GUI Scroll Topic is solved
Replies: 4
Views: 748

GUI Scroll Topic is solved

I am going through old topics but couldn't find anything that works so posting a new question here. I apologize if this is a repeat question and if its repeat, would appreciate someone pointing me to the right link. I have a small gui application to configure hotkeys. It works fine if my number of H...
by sqlcode
01 Feb 2018, 15:23
Forum: Ask For Help
Topic: Extract table element from a page Topic is solved
Replies: 7
Views: 1663

Re: Extract table element from a page Topic is solved

Hello could anyone please shed some light?
by sqlcode
18 Jan 2018, 18:16
Forum: Ask For Help
Topic: Extract table element from a page Topic is solved
Replies: 7
Views: 1663

Extract table element from a page Topic is solved

I have a code like below that i think gives me a table, i need to extract "value_of_my_field". I ran my ahk script as below and it gives me both rows but i am interested in only first column of the first row. How do i only extract first column value of the first row? <div class="row" id="DtlId"> <di...
by sqlcode
18 Jan 2018, 16:22
Forum: Ask For Help
Topic: Navigating Nested Tables and Extracting Data
Replies: 1
Views: 414

Re: Navigating Nested Tables and Extracting Data

Hello,
did you ever get this to work? I am in a similar boat where i have a table within table and i need to access first row element of the first column.

Thanks,
by sqlcode
14 Dec 2017, 22:38
Forum: Ask For Help
Topic: Multiple Dynamic HotKeys in a single ahk file
Replies: 14
Views: 1710

Re: Multiple Dynamic HotKeys in a single ahk file

Since I am unable to post screenshot, here is the code. It is almost same as in jaco0646 post which i have mentioned above. I am struggling with how to add respective file path and read them back on. #SingleInstance force #NoEnv SetBatchLines, -1 #ctrls = 5 ;How many Hotkey controls to add?1 Loop,% ...
by sqlcode
14 Dec 2017, 22:09
Forum: Ask For Help
Topic: Multiple Dynamic HotKeys in a single ahk file
Replies: 14
Views: 1710

Re: Multiple Dynamic HotKeys in a single ahk file

I tried your updated code but i am still getting option to select one path only. I need to add/save paths for all the different ahk/exe files. they could be stored in a different place.
by sqlcode
14 Dec 2017, 21:50
Forum: Ask For Help
Topic: Multiple Dynamic HotKeys in a single ahk file
Replies: 14
Views: 1710

Re: Multiple Dynamic HotKeys in a single ahk file

May be i didn't quite understood your script but i am only "getting(edited later)" single path option. I need one for each hotkey. Also when i try to select a path and run the script next time, it doesn't really pull up my saved path/file name. More like below Hotkey1 (Hot Key Text box without any l...
by sqlcode
14 Dec 2017, 16:57
Forum: Ask For Help
Topic: Multiple Dynamic HotKeys in a single ahk file
Replies: 14
Views: 1710

Re: Multiple Dynamic HotKeys in a single ahk file

Btw the problem become more complex if it is question of context-sensitive hotkeys (using (Not)?(Active|Exist) ) since Hotkey (Not)?(Active|Exist) puts context sensitivity into effect for all subsequently created or modified hotkeys. Hello, I don't need context-sensitive hotkeys. For most part, i a...
by sqlcode
14 Dec 2017, 11:35
Forum: Ask For Help
Topic: Multiple Dynamic HotKeys in a single ahk file
Replies: 14
Views: 1710

Re: Multiple Dynamic HotKeys in a single ahk file

I was searching in the forum and came across this old post from jaco0646. I am trying to implement Example#4 from his post with some additions. What i am trying to add is a browse button (GUI, Add, Button, ym gBtnBrowse, &Browse ) that lets user select the path of ahk exe file. I am new to AHK and G...
by sqlcode
12 Dec 2017, 17:09
Forum: Ask For Help
Topic: Multiple Dynamic HotKeys in a single ahk file
Replies: 14
Views: 1710

Re: Multiple Dynamic HotKeys in a single ahk file

Thanks a lot for code snippet. It helps a lot. I should have clarified earlier that by example, if you are aware of any github repo that has implemented something similar. But your example is also good enough to get me started. From your example, it seems each one of those HK* (HK1,HK2) has to be pr...

Go to advanced search