Search found 2996 matches

by nnnik
34 minutes ago
Forum: Ich brauche Hilfe
Topic: Dirty hack zur pdf Manipulation
Replies: 1
Views: 13

Re: Dirty hack zur pdf Manipulation

Das Problem ist, dass du mit Strings arbeitest: Eine PDF Datei ist ein Dateiformat welches viele Daten enthält - unter anderem auch Text. Diese anderen Daten können Bilder, Markierungen, Einstellungen oder alles Mögliche sein. Du liest die Daten dann als Text in AHK ein, ersetzt ein Teil des Textes ...
by nnnik
Today, 12:49
Forum: Ask For Help
Topic: traditional for loop: for i = a to b (step c) possibilities
Replies: 13
Views: 547

Re: traditional for loop: for i = a to b (step c) possibilities

I don't see traditional for loops as a good thing - it's more like a hindrance to the language. I don't see a big point in them. Many of the assumptions made at the time the for loop was created turned out to be incorrect. And most of the time people just wanted to use the default implementation - c...
by nnnik
Today, 01:45
Forum: Wish List
Topic: [Request]: Official Library & Wrapper
Replies: 38
Views: 690

Re: [Request]: Official Library & Wrapper

If the download or update of the "standard Lib" can be easily automated and "the community" wants it included with the installer, that is fine with me. I just want no part in maintaining it. Thats great to hear - I always thought the same as the others. Seems we misunderstood yo...
by nnnik
Yesterday, 04:30
Forum: Ich brauche Hilfe
Topic: If WinActive
Replies: 4
Views: 33

Re: If WinActive

#If ist ein Präprozessorinstruktion. Sie wird unabhängig von den ganzen anderen normalen Ausführungsverläufen und Abläufen behandelt. return - welches zum Steuern des normalen Ausführungsverlaufes verwendet wird - hat daher keinen Einfluss auf #If. #IfWinActive ist besser als #If WinActive()...
by nnnik
Yesterday, 02:56
Forum: Ich brauche Hilfe
Topic: If WinActive
Replies: 4
Views: 33

Re: If WinActive

#IfWinActive ist weder veraltet noch wird nicht empfohlen es zu verwenden. Genauer gesagt ist es für #If besser #IfWinActive zu verwenden anstatt #If (Das hat damit zu tun wie #If functioniert.) Was du hier verwechselst sind die Ifs ohne und mit #. Wenn dein zweiter Code funktionieren Sollte müsstes...
by nnnik
16 Sep 2018, 12:06
Forum: Wish List
Topic: Thread global variables and thread ID
Replies: 6
Views: 99

Re: Thread global variables and thread ID

I think easier to write is true.
But to me they seem like a maintenance nightmare.
Also I dont see an issue with passing anything to subclasses.
Unless you made the whole code a mess there should only be one class that ever contains the PID and other classes contain specific hWNDs.
by nnnik
16 Sep 2018, 08:00
Forum: Wish List
Topic: Thread global variables and thread ID
Replies: 6
Views: 99

Re: Thread global variables and thread ID

Whats the problem with solution A? You should avoid globals completely anyways. Also your example is needlessly complex, the following would have been enough: #IfWinActive, ahk_exe Notepad.exe c:: triggerActionFor(5000, WinActive("A")) #If triggerStateFor(time, pid) { enterState(pid) ;what...
by nnnik
16 Sep 2018, 06:46
Forum: Offtopic
Topic: Android Applications
Replies: 19
Views: 328

Re: Android Applications

I dont see pyautogui working on android. Also if you check the github repository you will see that this project for automation in the python language has more people working on it than the entire Autohotkey language. It's just the automation part thats being handled there and not even an entire lang...
by nnnik
16 Sep 2018, 06:34
Forum: Wish List
Topic: Thread global variables and thread ID
Replies: 6
Views: 99

Re: Thread global variables and thread ID

I dont understand your problem could you post an example that showcases where your problem lies?
by nnnik
15 Sep 2018, 02:54
Forum: AutoHotkey v2 Development
Topic: <> no longer acceptable as a comparison operator
Replies: 35
Views: 585

Re: <> no longer acceptable as a comparison operator

It just doesn't seem like you choose anything carefully. In fact it seems like you choose similar to the way t-shirt designers choose the texts on their t-shirts. https://thesunshineroom.files.wordpress.com/2011/08/t-shirt.jpg I mean you always suggest those operators over and over again. By now you...
by nnnik
15 Sep 2018, 02:48
Forum: Wish List
Topic: [Request]: Official Library & Wrapper
Replies: 38
Views: 690

Re: [Request]: Official Library & Wrapper

If you really just want something that works for now then multiple repositories is still better - as long as they are inside a single Organization.
by nnnik
14 Sep 2018, 14:06
Forum: AutoHotkey v2 Development
Topic: <> no longer acceptable as a comparison operator
Replies: 35
Views: 585

Re: <> no longer acceptable as a comparison operator

I case some people missed the warning that appeared in the AHK help file:
https://autohotkey.com/docs/Variables.htm#Operators wrote:Deprecated: The <> operator is not recommended for use in new scripts. Use the != operator instead.
by nnnik
14 Sep 2018, 11:11
Forum: Wish List
Topic: [Request]: Official Library & Wrapper
Replies: 38
Views: 690

Re: [Request]: Official Library & Wrapper

a is not an option.
by nnnik
14 Sep 2018, 02:15
Forum: Offtopic
Topic: Answer a question, ask a question
Replies: 10
Views: 267

Re: Answer a question, ask a question

A: 42

Q: Why do you even bother?
by nnnik
14 Sep 2018, 01:18
Forum: AutoHotkey v2 Development
Topic: <> no longer acceptable as a comparison operator
Replies: 35
Views: 585

Re: <> no longer acceptable as a comparison operator

Seems like lexikos accepted the merge and <> is now deprecated.
by nnnik
13 Sep 2018, 12:38
Forum: Other Programming Languages
Topic: Question regarding values of variables in Java
Replies: 11
Views: 137

Re: Question regarding values of variables in Java

it would be best if you would take the step over AHKs expression syntax before translating to java.
by nnnik
13 Sep 2018, 11:37
Forum: Wish List
Topic: [Request]: Official Library & Wrapper
Replies: 38
Views: 690

Re: [Request]: Official Library & Wrapper

A package manager could pull it's data from the software that I mentioned before.
We would also need a place to host the repositories for the scripts and make it possible to add help etc.
It's necessary to enforce specific standards for the libraries.

Go to advanced search