Search found 225 matches

by Kobaltauge
20 Sep 2019, 07:30
Forum: Ask For Help
Topic: Identifying unique strings in a block of text
Replies: 32
Views: 2380

Re: Identifying unique strings in a block of text

Sorry, I don't understand the problem. I took a closer look and found this: 2019-09-20 14_24_06-lib.ahk - Editor.png But that is unfortunately doing the right thing. In the lib the needle "Kingsborough's Mex. Antiq" is without "." at the end. Therefore, the needle is different to the text and it wil...
by Kobaltauge
19 Sep 2019, 03:02
Forum: Ask For Help
Topic: Identifying unique strings in a block of text
Replies: 32
Views: 2380

Re: Identifying unique strings in a block of text

I thought that, too. But there a not so many "hits" in your example. Launch italic.ahk. Open the "page_text_after_proofreading.txt" in an editor, I prefer Notepad++. Click on the text. Press alt+F12 . After that search for a ' and you will finde them in every changed position. Did you change the fil...
by Kobaltauge
18 Sep 2019, 14:54
Forum: Ask For Help
Topic: Identifying unique strings in a block of text
Replies: 32
Views: 2380

Re: Identifying unique strings in a block of text

No problem, as you wrote is an interesting challenge. I downloaded the file and had a few problems to run them. You have to pay attention with the coding of the files. Probably it's a problem with the download from pastebin. I removed all the " from the lib.ahk. I modified the italics.ahk. Now it re...
by Kobaltauge
17 Sep 2019, 23:55
Forum: Ask For Help
Topic: Replace string if string exists
Replies: 8
Views: 736

Re: Replace string if string exists

We are discussing are similar task here https://www.autohotkey.com/boards/viewtopic.php?f=76&t=67980 take a look, probalby there is an inspiration for you. You could load the file and perform a RegExMatch . If it found something, you can replace it with RegExReplace and do your file delete and save....
by Kobaltauge
17 Sep 2019, 23:47
Forum: Ask For Help
Topic: Identifying unique strings in a block of text
Replies: 32
Views: 2380

Re: Identifying unique strings in a block of text

took a quick look into the files. This is a massive task and my solution is working with the clipboard and a dictionary in memory. I probably think, that is to large. I would go on with one of this ways 1st Instead of loading file and dictionary in memory, i would parse them as a file. We could read...
by Kobaltauge
17 Sep 2019, 16:59
Forum: Ask For Help
Topic: Identifying unique strings in a block of text
Replies: 32
Views: 2380

Re: Identifying unique strings in a block of text

clipboard := RegExReplace(clipboard, "m)\b" . in_put . "(\s|$)", out_put) Yeah, that's intentional. All letters before the unbalanced ")" are options for RegExReplace in AHK syntax. See: https://www.autohotkey.com/docs/misc/RegEx-QuickRef.htm#Options "m" is for multiple results. "i" for example is ...
by Kobaltauge
17 Sep 2019, 16:48
Forum: Ask For Help
Topic: Adress File or Folder to Clipboard
Replies: 7
Views: 614

Re: Adress File or Folder to Clipboard

Kellyzkorner_NJ I don't get your "wish". You can mark files and folders in the explorer window. Press ctrl+x to "cut", select your destination folder and press ctrl+v to paste. This moves all selected. If you press ctrl+c the selected items were copied not moved. You don't need to use the right mou...
by Kobaltauge
17 Sep 2019, 13:00
Forum: Ask For Help
Topic: Identifying unique strings in a block of text
Replies: 32
Views: 2380

Re: Identifying unique strings in a block of text

OK. This was a hard one for me, but I learned a lot. dict := { "1a Rel. Anón" : "''1a Rel. Anón''" ,"2a Rel, Anón" : "''2a Rel, Anón''" ,"3a Bel. Anón" : "''3a Bel. Anón''" , "4a Rel. Anón" : "''4a Rel. Anón''" , "Aa, Nanukeurige Versameling" : "''Aa, Nanukeurige Versameling''" , "Alaman, Disert" : ...
by Kobaltauge
17 Sep 2019, 00:34
Forum: Ask For Help
Topic: Identifying unique strings in a block of text
Replies: 32
Views: 2380

Re: Identifying unique strings in a block of text

Hi. This is my shot. But I didn't saw the whole problem with "Id". My tip with the "space" doesn't work when "Id" is the only thin in a line. =( dict := { "1a Rel. Anón" : "''1a Rel. Anón''" ,"2a Rel, Anón" : "''2a Rel, Anón''" ,"3a Bel. Anón" : "''3a Bel. Anón''" , "4a Rel. Anón" : "''4a Rel. Anón'...
by Kobaltauge
16 Sep 2019, 23:37
Forum: Ask For Help
Topic: Identifying unique strings in a block of text
Replies: 32
Views: 2380

Re: Identifying unique strings in a block of text

Just a quick tip, I'm not fully awake. :) Why not searching for "ld ", it wouldn't find the letters in between a word. Regex can do some more magic for the "needle". Additional you could create a "dictionary" and search and replace element by element. So you would only curate the dictionary and you ...
by Kobaltauge
13 Sep 2019, 00:43
Forum: Ask For Help
Topic: Adress File or Folder to Clipboard
Replies: 7
Views: 614

Re: Adress File or Folder to Clipboard

Forgot to write. To execute the hotkey with the mousebutton you have only to change F6 to ^lbutton . But beware, if you executing things like copy to clipboard on every click, it can cause a strange behaviour in some programs or situations. i would recommend that you use a F-key or someting else aft...
by Kobaltauge
12 Sep 2019, 15:58
Forum: Ask For Help
Topic: Adress File or Folder to Clipboard
Replies: 7
Views: 614

Re: Adress File or Folder to Clipboard

You could try the search function of this forum. It's pretty good. =)

https://www.autohotkey.com/boards/viewtopic.php?t=23788
by Kobaltauge
01 Sep 2019, 01:57
Forum: Ask For Help
Topic: Is there a fast and efficient CLI downloader? Topic is solved
Replies: 4
Views: 464

Re: Is there a fast and efficient CLI downloader? Topic is solved

i allways used wget. In Windows 10 curl is implemented and it seems preety powerfull.
https://curl.haxx.se/docs/comparison-table.html
by Kobaltauge
25 Aug 2019, 13:40
Forum: Ask For Help
Topic: Posting to Facebook AS a Page - Requesting Help
Replies: 3
Views: 601

Re: Posting to Facebook AS a Page - Requesting Help

To post something in a Facebook page, you can use the Facebook Graph API. There are many implementations for all languages. For example, you can create on the Facebook Developer page with the Graph API Explorer a cURL. And you AHK to modify it and "post" it. The script in the medium article is to po...
by Kobaltauge
23 Aug 2019, 15:58
Forum: Offtopic
Topic: I decided to read books
Replies: 7
Views: 1656

Re: I decided to read books

Extreme Ownership from Jocko Willink
by Kobaltauge
20 Aug 2019, 11:35
Forum: Ask For Help
Topic: Shortcuts for launching programs
Replies: 6
Views: 472

Re: Shortcuts for launching programs

Or you press the windowskey and then start typing your program like "excel". When the icon in the start menu appears, press return. This works since Windows 7.
If you want to have special programs. Just create a start menu folder and place the links in it.
by Kobaltauge
20 Aug 2019, 11:31
Forum: Ask For Help
Topic: [If scopes] ~ Trying to cycle-change a variable's value, but doesn't work
Replies: 4
Views: 243

Re: [If scopes] ~ Trying to cycle-change a variable's value, but doesn't work

my solution

Code: Select all

string := "abcde"
index := 1

g::
letter := SubStr(string, index, 1)
SendInput, %letter%
index += 1
lenght := StrLen(string)
MsgBox % index lenght
if (index > lenght)
	index := 1
return
by Kobaltauge
19 Aug 2019, 11:25
Forum: Ich brauche Hilfe
Topic: Variable in Hotstring verwenden
Replies: 2
Views: 355

Re: Variable in Hotstring verwenden

::urgAng:: FormatTime, CurrentDateTime,, YYYY-MM-DD SendInput beliebiger Text %CurrentDateTime% ---{enter}beliebiger TextbeliebigerText{enter}beliebiger TextbeliebigerText{enter} return Und wenn du die lange Zeile nicht haben willst, dann kannst du nach dem {enter} einen neue Zeile mit SendInput be...
by Kobaltauge
15 Aug 2019, 07:41
Forum: Ich brauche Hilfe
Topic: LV_GetText funktioniert nur beim ersten Mal Topic is solved
Replies: 2
Views: 427

Re: LV_GetText funktioniert nur beim ersten Mal Topic is solved

OK. Das war ja ein banaler Fehler. Nach der Subroutine MyListView war natürlich die untere Liste MySecondListView aktiv und ein Doppelklick auf der Oberen hat nichts bewirkt. Ich musste nur die obere Liste mit Gui, ListView, MyFirstListView wieder aktiv setzen. MyListView: if (A_GuiEvent = "DoubleCl...
by Kobaltauge
15 Aug 2019, 06:40
Forum: Ich brauche Hilfe
Topic: LV_GetText funktioniert nur beim ersten Mal Topic is solved
Replies: 2
Views: 427

LV_GetText funktioniert nur beim ersten Mal Topic is solved

Hallo zusammen, ich fange gerade erst mit den GUIs und AHK an und scheitere schon beim ersten Versuch. Ich habe ein Skipt, dass die Logdatei der SAP ECTR einliest, und alle Datentransfers filtert. Diese werden dann in einer GUI angezeigt, sortiert nach der Dauer des Prozesses. Wenn ich dann auf eine...

Go to advanced search