Search found 140 matches

by chngrcn
10 Dec 2018, 08:57
Forum: Ask For Help
Topic: ahk code convert to c#
Replies: 0
Views: 120

ahk code convert to c#

Auto hot key forum but, I would still ask for a info. The following code, Waits for the print window and makes the number of copies 2 and clicks the print button. I would like your help to convert this code into c# encoding. Thank you.. driver := ComObjCreate("Selenium.ChromeDriver") driver.Get("htt...
by chngrcn
07 Dec 2018, 18:26
Forum: Ask For Help
Topic: Press the Esc key to end the Loop.
Replies: 3
Views: 180

Re: Press the Esc key to end the Loop.

put this at the end of your code esc::exitapp if i use the code that you have given, it will exit gui. I did not mention the existence of gui in the subject. sorry. The goal is to close the loop before the gui closes and the gui is locked. I want to be able to end the loop with esc key, no matter w...
by chngrcn
07 Dec 2018, 10:51
Forum: Ask For Help
Topic: Press the Esc key to end the Loop.
Replies: 3
Views: 180

Press the Esc key to end the Loop.

Hi. I have a code that contains the loop below. I want to stop the loop when I press Esc. How can I do this? Thank you. Test: loaded := false While !loaded { try { err := add5(driver.executeScript("return document.documentElement.innerHTML"), "error",0) if ( err != "error") { loaded := true } else {...
by chngrcn
03 Dec 2018, 05:49
Forum: Ask For Help
Topic: Help Search in Listview
Replies: 4
Views: 200

Re: Help Search in Listview

Is there anyone who can help?
by chngrcn
30 Nov 2018, 01:57
Forum: Ask For Help
Topic: Help Search in Listview
Replies: 4
Views: 200

Re: Help Search in Listview

I'm waiting for your help. very urgent.
by chngrcn
29 Nov 2018, 06:42
Forum: Ask For Help
Topic: Help Search in Listview
Replies: 4
Views: 200

Re: Help Search in Listview

I have an excel file in the rar file that I have attached. I get the data from this excel file into the listview. When Gui is opened it brings the data into the listview already automatically found in excel. what I want to do, editbox into whatever I write that I find in the listview. When I delete ...
by chngrcn
29 Nov 2018, 04:34
Forum: Ask For Help
Topic: Help Search in Listview
Replies: 4
Views: 200

Help Search in Listview

Hello. I want to find in my listview the data I've written in editbox. I want to renew the listview when I delete the editbox. I would like your help. Thank you. #NoEnv #SingleInstance, Force SetBatchLines -1 Gui, Add, Text, x12 y10 w180 h17 , BARKODE Gui, Add, Edit, x12 y25 w180 h20 vBARKOD gBarkod...
by chngrcn
23 Nov 2018, 02:57
Forum: Ask For Help
Topic: Find more than one same word location in txt file. Topic is solved
Replies: 5
Views: 209

Re: Find more than one same word location in txt file. Topic is solved

AlphaBravo wrote:
23 Nov 2018, 02:27

Code: Select all

while pos := RegExMatch(HtmlCode, "scaleX[^>]+>\K[^<]+", m, A_Index=1?1:pos+StrLen(m))
	res .= m "`n"
MsgBox % trim(res, "`n")
Thank you for your help.
How can we transfer the parsed words into excel?
Can you help us to export to excel?
by chngrcn
23 Nov 2018, 02:03
Forum: Ask For Help
Topic: Find more than one same word location in txt file. Topic is solved
Replies: 5
Views: 209

Find more than one same word location in txt file. Topic is solved

below is a file named test.txt under drive c. I want to find the positions of the words "scaleX" in this file. tried to do with the following code. but I could not with the loop. I want to display the position numbers of the words "scaleX" in the test.txt file with msgbox. I could not switch to the ...
by chngrcn
20 Nov 2018, 02:50
Forum: Ask For Help
Topic: calculating the start and end time of the loop.
Replies: 1
Views: 126

calculating the start and end time of the loop.

I want to calculate the start time and end time of the loop and the time elapsed. How can I do it ? also if you can add progressbar would be very happy. Thank you. Gui, Add, Text, x22 y20 w110 h20 , Start Time Gui, Add, Text, x22 y60 w110 h20 , Finish Time Gui, Add, Edit, x132 y20 w130 h20 , Gui, Ad...
by chngrcn
08 Nov 2018, 03:02
Forum: Ask For Help
Topic: from ini file, record, delete, upload to combobox
Replies: 1
Views: 161

from ini file, record, delete, upload to combobox

in my attached work, I want to save the data entered into combobox and editbox with the button in ini file. When the gui is opened, I want the data to be listed from the ini file to the combobox. When I choose it from combobox, let it bring the color code into the editbox. When I delete the data I s...
by chngrcn
01 Nov 2018, 04:11
Forum: Ask For Help
Topic: Altsubmit Open or Close
Replies: 3
Views: 181

Re: Altsubmit Open or Close

Hi chngrcn, I think this should help you on your way: Add a g-label to you checkbox that when fired (on-change : (un)check) executes a label with a guicontrol command. Depending on your checkbox' vVariable value (0/1) you will either + or - the AltSubmit option on your lisview Could you share a sam...
by chngrcn
31 Oct 2018, 13:17
Forum: Ask For Help
Topic: Altsubmit Open or Close
Replies: 3
Views: 181

Altsubmit Open or Close

Gui, Add, ListView, AltSubmit x32 y70 w610 h300 , ListView Gui, Add, CheckBox, x32 y40 w90 h20 , AltSubmit Close Gui, Show, w656 h388, Untitled GUI return GuiClose: ExitApp Turn off the "AltSubmit" feature of the Listview when checkbox is checked I want to open the "AltSubmit" property of Listview ...
by chngrcn
19 Oct 2018, 03:13
Forum: Ask For Help
Topic: Extract data from an Excel file into a combobox.
Replies: 1
Views: 142

Extract data from an Excel file into a combobox.

Hi. From the attached excel file, I want to pull data from Column A to combobox in gui. If I choose which data from the Combobox, I would place the column "B" in the Excel file and the corresponding data in the "C" column in the editbox. thank you for your help. https://ufile.io/k1z6a #NoEnv #Single...
by chngrcn
18 Oct 2018, 01:00
Forum: Ask For Help
Topic: combobox listing, fetching the data you selected.
Replies: 2
Views: 126

Re: combobox listing, fetching the data you selected.

hold an intended database. I want to store the data in the ini file. and when I select fruit listed in combobox, I get the number and color from the database.
by chngrcn
17 Oct 2018, 07:14
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 131
Views: 28697

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Code: Select all

FileAppend % PageInstance.Evaluate("document.documentElement.outerHTML"), C:\Test.txt
when I tried this code, it did not return the page's HTML code to the "test.txt" file. How should I try a code to get the page's HTML code?
by chngrcn
17 Oct 2018, 05:08
Forum: Ask For Help
Topic: combobox listing, fetching the data you selected.
Replies: 2
Views: 126

combobox listing, fetching the data you selected.

#NoEnv #SingleInstance, Force SetBatchLines -1 f = FruitsList.ini IfNotExist, %f% { ;Sample data IniWrite, 1 , %f%, Count, ID# IniWrite, |1|, %f%, Count, list IniWrite, 22033921350 , %f%, 1, APPLE IniWrite, GREEN , %f%, 1, COLOUR IniWrite, 2 , %f%, Count, ID# IniWrite, |2|, %f%, Count, list IniWrit...
by chngrcn
11 Oct 2018, 05:25
Forum: Ask For Help
Topic: Converting ahk code to c# code.
Replies: 2
Views: 121

Re: Converting ahk code to c# code.

Xtra wrote:Use Selenium for c#
https://www.seleniumhq.org/download/
thank you. but
I'm trying to write a program via c# cefsharp.
I was working with ahk with the code I shared above.
I want you to convert this code into c# coding.

Thank you.
by chngrcn
11 Oct 2018, 04:56
Forum: Ask For Help
Topic: Converting ahk code to c# code.
Replies: 2
Views: 121

Converting ahk code to c# code.

loaded := false While !loaded { try { if driver.executeScript("return document.getElementById('formId:j_idt188').innertext = 'Select'") loaded := true } Sleep 10 } with the above code; When moving from one web page to the next page, the loop will continue until it sees the innertext on the next pag...

Go to advanced search