Search found 18 matches

by jhertel
08 Apr 2020, 12:05
Forum: Ask for Help (v1)
Topic: my scripts is running a bit slower now
Replies: 7
Views: 4196

Re: my scripts is running a bit slower now

While this is an old post, it doesn't seem to have been resolved. So to potentially help others with a similar problem, I want to add what caused my large script to suddenly function much slower. The startup time had increased 90%, and all actions where slow and sluggish while the script was running...
by jhertel
18 Oct 2018, 07:41
Forum: Forum Issues
Topic: Feedback: phpBB forum interface switch
Replies: 165
Views: 42464

Re: Feedback: phpBB forum interface switch

You can temporary use the Chrome extension Resource Override to replace the theme. Oh dear God, thank you for this! :bravo: I was looking for a solution like this but couldn't quite find it. And then you served it on a silver platter! Simple and effective. Thank you! The dark theme was intolerable,...
by jhertel
13 Mar 2015, 12:15
Forum: Ask for Help (v1)
Topic: Buffer user keystrokes during a complex operation
Replies: 2
Views: 1623

Re: Buffer user keystrokes during a complex operation

Do you think that users are expecting that the keystrokes won't have visible effects? Ah, you mean that they cannot see what they are typing while the input is blocked? That is not a problem. They can see that formatting is in the process of being applied, and I also give informational messages eit...
by jhertel
13 Mar 2015, 08:49
Forum: Ask for Help (v1)
Topic: Buffer user keystrokes during a complex operation
Replies: 2
Views: 1623

Buffer user keystrokes during a complex operation

Hi everybody, I wonder if there is a command or way to tell AutoHotkey to buffer all user typed keystrokes until a similar command is issued that then "releases" the buffered keystrokes? What I want is exactly the keyboard buffering functionality of SendMode Input or SendMode Play, but I simply want...
by jhertel
09 Mar 2015, 11:02
Forum: Forum Issues
Topic: The topic text is restricted to 60 chars...
Replies: 13
Views: 13943

Re: The topic text is restricted to 60 chars...

joedf wrote:Ok ill change it soon
Sounds very good! Thank you! :thumbup:
by jhertel
08 Mar 2015, 07:48
Forum: Forum Issues
Topic: The topic text is restricted to 60 chars...
Replies: 13
Views: 13943

Re: The topic text is restricted to 60 chars...

I am very much for increasing the maximum subject length to at least 100, preferably 120 characters or more. I try to write as complete and precise a subject as possible so 1) others can see exactly what the topic covers without having to open it, and 2) to make it easier for others to find the topi...
by jhertel
08 Mar 2015, 06:38
Forum: Bug Reports
Topic: [Fixed] Scripts are restarted as admin after setup
Replies: 7
Views: 3086

Re: Scripts are restarted with elevated privileges after set

Coco wrote:There is a discussion about the topic title text here.
Thanks!
by jhertel
08 Mar 2015, 06:14
Forum: Bug Reports
Topic: [Fixed] Scripts are restarted as admin after setup
Replies: 7
Views: 3086

Re: Scripts are restarted with elevated privileges after set

Of course, if it works and you restart a script which was running as admin, it won't be running as admin anymore... If anyone has this problem, that should be solvable by adding the following at the top of the script (as mentioned in the docs under A_IsAdmin ): if not A_IsAdmin { Run *RunAs "%A_Scr...
by jhertel
07 Mar 2015, 11:57
Forum: Bug Reports
Topic: [Fixed] Scripts are restarted as admin after setup
Replies: 7
Views: 3086

Re: Scripts are restarted with elevated privileges after set

When you install AutoHotkey using the installer, you'll find Installer.ahk in C:\Program Files\AutoHotkey . It's basically the installer itself. Wow, cool. :-) Btw you can mark the topic as solved (for other users). :) Do I do that by prefixing "[Solved]" to the subject of the first post? If so, th...
by jhertel
06 Mar 2015, 14:05
Forum: Bug Reports
Topic: [Fixed] Scripts are restarted as admin after setup
Replies: 7
Views: 3086

Re: Scripts are restarted with elevated privileges after set

Thanks, Lexikos! You're fast – I can't keep up with your speed! I tried downloading the v1.1.19.03 installer (http://ahkscript.org/download/1.1/AutoHotkey111903_Install.exe), did a Repair, and it seems like the problem is gone. My scripts restarted in non-elevated mode, just as I wanted them to do. ...
by jhertel
06 Mar 2015, 05:19
Forum: Bug Reports
Topic: [Fixed] Scripts are restarted as admin after setup
Replies: 7
Views: 3086

[Fixed] Scripts are restarted as admin after setup

Yesterday I updated AutoHotkey (v.1) with two scripts running. I chose to have them restarted automatically after installation, and it appeared to work. Today I discovered that the scripts were actually restarted with elevated privileges and thus they did not quite work, as they start all applicatio...
by jhertel
06 Mar 2015, 04:45
Forum: Ask for Help (v1)
Topic: Get an error when calling a method that does not exist?
Replies: 17
Views: 6986

Re: Get an error when calling a method that does not exist?

Wow, you guys are so helpful! Thank you all! I did notice just before going to bed last night that what I thought worked in my last comment above did not work in subclasses, which is what I want it to do. I can see that all this and all your comments requires of me to take some time to sit down with...
by jhertel
05 Mar 2015, 15:55
Forum: Ask for Help (v1)
Topic: Get an error when calling a method that does not exist?
Replies: 17
Views: 6986

Re: Get an error when calling a method that does not exist?

Oh wow, cool, it works! :dance: Thanks Coco! :bravo:

And now I also understand better how the __Call method works. I didn't realize it was also called when a method was called with too many or too few parameters.

Thanks again! :thumbup:
by jhertel
05 Mar 2015, 14:13
Forum: Ask for Help (v1)
Topic: Get an error when calling a method that does not exist?
Replies: 17
Views: 6986

Re: Get an error when calling a method that does not exist?

Only problem now is that if I call an existing method with too few arguments, the call does nothing and doesn't report an error: class Test extends ThrowsNonexistentMethod { ExistentMethod(x) { MsgBox Hello %x%. } } Test.ExistentMethod() ; Does nothing and does not report an error. Test.ExistentMeth...
by jhertel
05 Mar 2015, 13:37
Forum: Ask for Help (v1)
Topic: Get an error when calling a method that does not exist?
Replies: 17
Views: 6986

Re: Get an error when calling a method that does not exist?

I think I might have solved it with this: class ThrowsNonexistentMethod { __Call(methodName, arguments*) { ; Allow builtin methods. if methodName in Insert,Remove,MinIndex,MaxIndex,SetCapacity,GetCapacity,GetAddress,_NewEnum,HasKey,Clone { functionName:= "Obj" methodName return %functionName%(this, ...
by jhertel
05 Mar 2015, 13:12
Forum: Ask for Help (v1)
Topic: Get an error when calling a method that does not exist?
Replies: 17
Views: 6986

Re: Get an error when calling a method that does not exist?

Hm, Lexikos' solution seems to kill the builtin Object() methods of classes inheriting from ThrowsNonexistentMethod. This includes the method _NewEnum(), which means that you cannot iterate over the object any more with a for loop: for key, value in object … This 'for' statement triggers the __Call(...
by jhertel
04 Mar 2015, 23:10
Forum: Ask for Help (v1)
Topic: Get an error when calling a method that does not exist?
Replies: 17
Views: 6986

Re: Get an error when calling a method that does not exist?

Thanks a lot both of you! Your solution, Lexikos, is one of those simple and beautiful solutions that just make me go "well, why didn't I think of that?". :-) I guess that solution shows the hallmark of a master - coming up with those simple but ingenious solutions. What a joy! And good to hear by t...
by jhertel
04 Mar 2015, 08:08
Forum: Ask for Help (v1)
Topic: Get an error when calling a method that does not exist?
Replies: 17
Views: 6986

Get an error when calling a method that does not exist?

Hi, I am trying to figure out how to make AutoHotkey report an error if I am calling a non-existing method on an object. Here is an example: #Warn All ; Included to show that this flag does not help. class Test { } a:= new Test() a.Hello() ; Does nothing and does not report an error. Hello() ; Repor...

Go to advanced search