Search found 260 matches

by Kobaltauge
17 Sep 2019, 16:59
Forum: Ask For Help
Topic: Identifying unique strings in a block of text
Replies: 32
Views: 3431

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: 972

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: 3431

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: 3431

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: 3431

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: 972

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: 972

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: 613

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: 869

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: 2408

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: 740

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: 384

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: 601

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: 688

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: 688

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...
by Kobaltauge
06 Aug 2019, 04:58
Forum: Ask For Help
Topic: Changing variables - need help!
Replies: 3
Views: 419

Re: Changing variables - need help!

Hi Ifeelmoisty I don't have your program to test. But I changed your script for the windows "calc". When you ran both and press "2" it will press on the calculator "123" wherever the position of the app is. Be aware if another window overlap the calculator button 1,2 or 3 it will perform a mouse cli...
by Kobaltauge
05 Aug 2019, 10:41
Forum: Ask For Help
Topic: Changing variables - need help!
Replies: 3
Views: 419

Re: Changing variables - need help!

Hi.

Put CoordMode, Mouse, Clienton top of your script. This sets all coordinates relative to the client window. Check the right ones with the WindowsSpy.ak script.

https://www.autohotkey.com/docs/commands/CoordMode.htm
by Kobaltauge
27 Jun 2019, 04:20
Forum: Ask For Help
Topic: AHK as assistive technology solution for people with disabilities?
Replies: 8
Views: 1308

Re: AHK as assistive technology solution for people with disabilities?

The only improvement that I can think would be to have it automatically right click, once the time lapses. To calculate the time if you do a "normal" left click or a "long" left click the only chance is to react on the release of the button. It is possible to change the script that it would send a ...
by Kobaltauge
25 Jun 2019, 13:24
Forum: Ask For Help
Topic: Basic Excel Com Obj script Topic is solved
Replies: 16
Views: 2957

Re: Basic Excel Com Obj script Topic is solved

Yeah, I should have put some comments in the script. =) With xl.ActiveSheet.cells( "row" , "coulumn" ).text you can acces every cell. As I wrote the before, the advantage is, that you can use numbers as row and column instead of the "letters" Excel is using. I though you wanted to access all cells i...
by Kobaltauge
25 Jun 2019, 13:13
Forum: Ask For Help
Topic: AHK as assistive technology solution for people with disabilities?
Replies: 8
Views: 1308

Re: AHK as assistive technology solution for people with disabilities?

Sorry vsub you're completely right. With hyperlinks my solution does not work properly. You can control the behavior of the left mouse button better with an additional key. MinxiesDev I realisied this script. Tell me if it's going in the right direction. When you start it, "my" function of the left ...

Go to advanced search