Search found 392 matches

by euras
12 Nov 2019, 09:37
Forum: Ask For Help
Topic: Group for strings
Replies: 1
Views: 81

Group for strings

is it possible to create something similar to GroupAdd, but not for Windows, NOT using arrays? something like: GroupAdd, first_g, first GroupAdd, first_g, second GroupAdd, first_g, third if (InStr(ahk_group first_g, "second")) Msgbox, found else Msgbox not found I may be faster way to perform the ta...
by euras
29 Oct 2019, 07:01
Forum: Ask For Help
Topic: Gui Edit and g-label?
Replies: 10
Views: 464

Gui Edit and g-label?

Hi, is it possible to add a g-label to GUI, Edit ? I have a table, where many values was inserted into Edit fields, and I want to get those values into Clipboard when the user clicks on the Edit field. Gui, Add, Edit, w200 gGuiE ReadOnly, First text Gui, Add, Edit, w200 gGuiE ReadOnly, Second text G...
by euras
26 Oct 2019, 14:14
Forum: Tutorials
Topic: Using Selenium with AutoHotkey- Cross browser automation!
Replies: 134
Views: 47670

Re: Using Selenium with AutoHotkey- Cross browser automation!

hi, can Selenium be accessed only from Debug mode browser, or can I access the page from the active browser, usin Selenium, no mater what?
by euras
15 Oct 2019, 02:51
Forum: Ask For Help
Topic: Google search setup
Replies: 0
Views: 99

Google search setup

Hi, I have a problem when I set up a Google search. I set the language pages parameter, but then I'm not able to see the count of results on top of the search. I need to click Tool button, to see the count of results. The problem is that I ran it on Chrome, so I cannot click buttons there. Is there ...
by euras
29 Aug 2019, 04:55
Forum: Ask For Help
Topic: Chrome and JS
Replies: 1
Views: 152

Chrome and JS

Hi, is it still possible to feed Chrome pages with Javascripts using Autohotkey? I'm strugling getting the right ClassName of the Chrome URL bar. It does not show me any text. And when I feed the ClassName, the text appears there looking via WindowsSpy, but I'm not able to click ENTER to enable the ...
by euras
20 Aug 2019, 12:49
Forum: Ask For Help
Topic: IE COM print as PDF
Replies: 0
Views: 175

IE COM print as PDF

Hi, I'm trying to figure it out how to print the webpage as a PDF using standard Microsoft print to PDF printer and setting destination of file. I want to avoid all those hardcodes as Send ^p and so on. So far I know that there are 3 different ways to open Print page, but I dont know how to set up i...
by euras
23 May 2019, 07:46
Forum: Ask For Help
Topic: Fastest way to loop through Folders
Replies: 9
Views: 662

Re: Fastest way to loop through Folders

each folder contains some files, maybe the loop scans those files too?
by euras
23 May 2019, 07:19
Forum: Ask For Help
Topic: Fastest way to loop through Folders
Replies: 9
Views: 662

Re: Fastest way to loop through Folders

the same 16 minutes with the empty loop :/
by euras
23 May 2019, 06:14
Forum: Ask For Help
Topic: Fastest way to loop through Folders
Replies: 9
Views: 662

Re: Fastest way to loop through Folders

It have reduced performance time from 40 min to 16 min. Pretty good, but maybe it's possible to make it even faster?
by euras
23 May 2019, 04:23
Forum: Ask For Help
Topic: Fastest way to loop through Folders
Replies: 9
Views: 662

Fastest way to loop through Folders

Hi, does anyone knows a faster way to loop through the folders / subfolders? I loop folders / subfolders in a local drive. There is about 4500 folders / subfolders. I gather each folder / subfolder path and write it in .txt file. To perform it using the method bellow, it takes 40 minutes. I think th...
by euras
08 May 2019, 02:01
Forum: Ask For Help
Topic: String ignoring some character
Replies: 1
Views: 199

String ignoring some character

Hi, is it possible to pass statements on the string, ignoring some part of the string? string := " Name of custody accountCustody accountMarket Value in DKKType of custody account" if (string = " Name of custody accountCustody accountMarket Value in ***Type of custody account") ; I want to exclude D...
by euras
07 May 2019, 04:36
Forum: Ask For Help
Topic: the example of AHK Command source code Topic is solved
Replies: 2
Views: 330

the example of AHK Command source code Topic is solved

Hi,
I'm curious how the source code of the commands in AHK looks like. Maybe someone has an example?
I.e. we use the syntax

Code: Select all

Send, this is a text
, but what is behind that Send?
by euras
24 Apr 2019, 02:20
Forum: Ask For Help
Topic: Replace string in .txt Topic is solved
Replies: 8
Views: 678

Re: Replace string in .txt Topic is solved

it works fine and surprisingly completed 30MB file per 1.3 seconds. Thank you!
by euras
23 Apr 2019, 00:27
Forum: Ask For Help
Topic: Replace string in .txt Topic is solved
Replies: 8
Views: 678

Re: Replace string in .txt Topic is solved

Just change your MsgBox line to be the following NewData := StrReplace(A_LoopReadLine, "Replace", "With") FileAppend, %NewData% Since when in a Loop read fileappend works differently. And also since Loop read is faster than taking all the contents then replacing the file this should be the fastest ...
by euras
19 Apr 2019, 07:51
Forum: Ask For Help
Topic: Replace string in .txt Topic is solved
Replies: 8
Views: 678

Replace string in .txt Topic is solved

Hi, is there a faster way to replace the strings in .txt file using maybe DLL calls? My file is 30MB and there are thousands of lines in it. Sometimes I need to get a specific string in the file and replace it with the other string. I can do it in the .txt file using Replace option, but is it possib...
by euras
18 Apr 2019, 00:18
Forum: Ask For Help
Topic: Excel pasting data Topic is solved
Replies: 2
Views: 290

Excel pasting data Topic is solved

Hi, I got an issue. Somethimes, when you copy paste a table from a source to a excel, it keeps the column order and paste the data in separate columns. the spearator in the clipboard is ; . When you send a info into Excel via FileAppend, using ; separator, it also separates the columns. But when I c...
by euras
15 Apr 2019, 02:09
Forum: Ask For Help
Topic: Array sorting Topic is solved
Replies: 2
Views: 323

Array sorting Topic is solved

Hi, is it possible to sort Array in the key order how they was created, instead of alphabetical sorting, which looks like going automaticaly?

Code: Select all

temp_Array := {"Yellow":"first item", "Black":"Second item", "Green":"Third item"}
for w,e in temp_Array
	Msgbox % w " and " e
by euras
02 Apr 2019, 00:56
Forum: Ask For Help
Topic: Get current Date format
Replies: 4
Views: 444

Get current Date format

is it possible to get the current date format which is used on computer?
lets say my computer uses yyyy-MM-dd format. But other computer can have dd-MM-yyyy format and so on. I want to check what kind of date format that computer uses before proceed further. Is it possible to do that with autohotkey?
by euras
27 Mar 2019, 06:13
Forum: Ask For Help
Topic: Excel Workbook name
Replies: 1
Views: 230

Excel Workbook name

is it possible to set a workbook name by creating it but not by saving it?

Code: Select all

Xl := ComObjCreate("Excel.Application") ;handle
Xl.Visible := True ;by default excel sheets are invisible
Xl.Workbooks.Add() ;add a new workbook
Xl.Workbook(1).Name := "My New Name" ; doesn't work
by euras
26 Mar 2019, 00:50
Forum: Ask For Help
Topic: Run .mac files with AHK
Replies: 3
Views: 432

Re: Run .mac files with AHK

I have tried that class and it works for simple VBScript, but if I try to put into the code what I got from macro recorder from Green Screen, I get an error message that autECLSession variable is undefined. What do I wrong? I quess there is some problem with connection to the Green Screen. vb := new...

Go to advanced search