Search found 493 matches

by newbieforever
17 Jun 2018, 05:23
Forum: Ask for Help (v1)
Topic: FileCopy like in DOS: copy file1 + file2 mergedfile Topic is solved
Replies: 7
Views: 1588

FileCopy like in DOS: copy file1 + file2 mergedfile Topic is solved

In a batch script the copy command allows the following usage: copy /b first.bin + /b second.bin /b merged.bin Is it possible to do something like this* in AHK?** * I.e. to concatenate binary and/or text files, but potentially with unicode characters in file names. ** Not by using DOS commands in th...
by newbieforever
14 Jun 2018, 15:13
Forum: Ask for Help (v1)
Topic: Detecting new content in a browser window
Replies: 5
Views: 941

Re: Detecting new content in a browser window

Yes, AHKStudent, I am able to use these clicks to associate them with following content changes. But other changes are not initiated by my actions...
by newbieforever
14 Jun 2018, 12:15
Forum: Ask for Help (v1)
Topic: Detecting new content in a browser window
Replies: 5
Views: 941

Re: Detecting new content in a browser window

or by visitor actions" what are those actions?

Clicks on links leading to other pages of the site, e.g.
by newbieforever
14 Jun 2018, 10:11
Forum: Ask for Help (v1)
Topic: Detecting new content in a browser window
Replies: 5
Views: 941

Detecting new content in a browser window

On some websites the URL displayed in the address field remains unchanged when new pages of the website are loaded (automatically or by visitor actions). The browser-window title remains unchanged too on such sites. And such content changes don't generate OnMessage messages. Is there an easy way to ...
by newbieforever
13 Jun 2018, 08:30
Forum: Ask for Help (v1)
Topic: Select all but "silently"
Replies: 13
Views: 2828

Re: Select all but "silently"

So there is no way to retrieve by ACC functions a similar compact text string as with Ctrl+a/Ctrl+c/string:=clipboard?

I edited my initial question. There are no alternative ways to do something like Ctrl+a/Ctrl+c silently?
by newbieforever
12 Jun 2018, 23:15
Forum: Ask for Help (v1)
Topic: Select all but "silently"
Replies: 13
Views: 2828

Re: Select all but "silently"

ctrl a grabs everything including what is not visible on the screen right now, ACC will also get all text in that value, you would have to filter later Didn't you understand what I meant? Ctrl+a/Ctrl+c/string:=clipboard is a fast operation which results in a strings containing "only visible text". ...
by newbieforever
12 Jun 2018, 15:31
Forum: Ask for Help (v1)
Topic: Select all but "silently"
Replies: 13
Views: 2828

Re: Select all but "silently"

Thank you very much, AHKStudent. I understand now how ACC functions can be used to retrieve text from a window. However, there are a few major disadvantages compared to the Ctrl+/Ctrl+c method. The later retrieves only the visible textual content of a window, which can be used easily to extract rele...
by newbieforever
12 Jun 2018, 08:01
Forum: Ask for Help (v1)
Topic: Select all but "silently"
Replies: 13
Views: 2828

Re: Select all but "silently"

AHKStudent: Yes, I have the ACC Viewer, and I can see the relevant text in it. But I have to automatize this: The entire text of a window should be retrieved as a string which I can use to retrieve my relevant text.
by newbieforever
12 Jun 2018, 06:24
Forum: Ask for Help (v1)
Topic: Select all but "silently"
Replies: 13
Views: 2828

Re: Select all but "silently"

swagfag: EM_GETSEL before something is selected? Brazolek123: Unfortunately to high for me knowledge level... AHKStudent: OCR is not an option for my project. But maybe ACC: Thank you for the tip! I am trying to understand the usage. Could you (or someone else) give me a tip by which ACC command I c...
by newbieforever
12 Jun 2018, 02:54
Forum: Ask for Help (v1)
Topic: Select all but "silently"
Replies: 13
Views: 2828

Re: Select all but "silently"

Thank you, AHKStudent.

I forgot to say: The script is just an example to show the visual effect. The question is ment in a general sense, not for specific windows. The windows may not have controls.
by newbieforever
12 Jun 2018, 02:24
Forum: Ask for Help (v1)
Topic: How to capture text from a window in a hidden way?
Replies: 8
Views: 1285

Re: How to capture text from a window in a hidden way?

I see, my hope was too naive.

I post another question with a limited scope:
https://autohotkey.com/boards/viewtopic.php?f=5&t=50496
by newbieforever
12 Jun 2018, 02:20
Forum: Ask for Help (v1)
Topic: Select all but "silently"
Replies: 13
Views: 2828

Select all but "silently"

To make selecting by Ctrl+a (or another select-all method?) completely "silent" is probably impossible? Is there a way to minimize the visual efect of Ctrl+a (or another select-all method?) in a window*? Edit: * Not a specific window! The window may have no controls. EDIT: In the meantime I know tha...
by newbieforever
11 Jun 2018, 23:12
Forum: Ask for Help (v1)
Topic: How to capture text from a window in a hidden way?
Replies: 8
Views: 1285

Re: How to capture text from a window in a hidden way?

I am surprised: Is the Ctrl+a & Ctrl+c method really the single available method we have? There is no more or less generally usable alternative to it? I ment this in a general sense, not limited to my current problem*. The only generally usable ("low-level"**) method we have to access the content o...
by newbieforever
11 Jun 2018, 22:12
Forum: Ask for Help (v1)
Topic: How to capture text from a window in a hidden way?
Replies: 8
Views: 1285

Re: How to capture text from a window in a hidden way?

I am surprised:

Is the Ctrl+a & Ctrl+c method really the single available method we have? There is no more or less generally usable alternative to it?
by newbieforever
11 Jun 2018, 12:07
Forum: Ask for Help (v1)
Topic: How to capture text from a window in a hidden way?
Replies: 8
Views: 1285

Re: How can I capture text from a window in a hidden way?

Thank you, gregster!

Hm ... I am using K-meleon, a Mozilla based browser ...
by newbieforever
11 Jun 2018, 11:54
Forum: Ask for Help (v1)
Topic: How to capture text from a window in a hidden way?
Replies: 8
Views: 1285

How to capture text from a window in a hidden way?

I would like to capture the text displayed in a browser window in short time intervals. Ctrl+A and Ctrl+c etc. can not be used, there should be no visible co-effects. The window has no controls, the content is a normal webpage. Is it possible to do this in such a hidden way and fast enough (in inter...
by newbieforever
29 May 2018, 02:51
Forum: Ask for Help (v1)
Topic: Run and DOS commands Topic is solved
Replies: 9
Views: 1633

Re: Run and DOS commands Topic is solved

The "most correct" would be, as far as I understand this question, to enclose the whole DOS command in quotes (because it is a parameter of comspec): RunWait, %comspec% "copy /b "%A_WinDir%\system32\extrac32.exe"+"%CabPath%" "%MoviePath%"", %A_ScriptDir% So the above reflection was completely corre...
by newbieforever
29 May 2018, 01:57
Forum: Ask for Help (v1)
Topic: Run and DOS commands Topic is solved
Replies: 9
Views: 1633

Re: Run and DOS commands Topic is solved

Thank you, wolf_II.

IT WORKS!!!
You are a schatz!!!

(Why is this /c necessary? I tryed first without, but this was not OK.)
by newbieforever
29 May 2018, 01:22
Forum: Ask for Help (v1)
Topic: Run and DOS commands Topic is solved
Replies: 9
Views: 1633

Re: Run and DOS commands Topic is solved

In DOS, the following works perfectly:

copy /b "%windir%\system32\extrac32.exe" + "C:\CABfolder\Cabinet.cab" "C:\CABfolder\Cabinet.exe"
by newbieforever
29 May 2018, 00:58
Forum: Ask for Help (v1)
Topic: Run and DOS commands Topic is solved
Replies: 9
Views: 1633

Re: Run and DOS commands Topic is solved

x32: This can't be OK, because the final %A_ScriptDir% is the WorkingDir paramater of the Run command, not a part of the DOS command; and it doesn't work. The "most correct" would be, as far as I understand this question, to enclose the whole DOS command in quotes (because it is a parameter of comsp...

Go to advanced search