Search found 17 matches

by anaglypta
20 Dec 2021, 13:19
Forum: Ask for Help (v1)
Topic: I am using ShellRun to overcome an issue with Run - Is there a ShellRunWait to overcome the same issue with RunWait?
Replies: 12
Views: 2267

Re: I am using ShellRun to overcome an issue with Run - Is there a ShellRunWait to overcome the same issue with RunWait?

JoeWinograd . This script demos what I was trying to do. Windows doesn't quite work how I thought it might. I thought you could get AutoHotkey to run Explorer to open a process/file, giving you a chain of descendants: AutoHotkey\Explorer\MyExe. Instead, you get Explorer\MyExe. And to make things mo...
by anaglypta
26 Nov 2021, 12:38
Forum: Ask for Help (v1)
Topic: I am using ShellRun to overcome an issue with Run - Is there a ShellRunWait to overcome the same issue with RunWait?
Replies: 12
Views: 2267

Re: I am using ShellRun to overcome an issue with Run - Is there a ShellRunWait to overcome the same issue with RunWait?

Maybe using child/parent processes could help. You create process A, which creates process B. You get the PID for process A by using Run or RunWait. You get the PID for process B by checking for any processes that have parent process A. You wait until process B is closed, by using Process Exist or W...
by anaglypta
30 Sep 2021, 12:37
Forum: Forum Issues
Topic: Recent Forum Issues - August 2021
Replies: 239
Views: 294704

Re: Recent Forum Issues - August 2021

Just FYI, the certificate issue may be a red herring. The certificate may be fine. IIRC, one time when I was fixing redirect rules in my website's .htaccess file, RewriteCond/RewriteRule etc, I did it incorrectly. When I typed URLs into the address bar, it went into an infinite loop, constantly redi...
by anaglypta
30 Sep 2021, 12:04
Forum: Forum Issues
Topic: Recent Forum Issues - August 2021
Replies: 239
Views: 294704

Re: Recent Forum Issues - August 2021

The problem may be due to incorrect redirect rules in the .htaccess file.
See this link for more info: viewtopic.php?p=422904#p422904

@JoeWinograd: Adding 'www.' to your URLs worked for me as a quick fix.
by anaglypta
30 Sep 2021, 12:00
Forum: Forum Issues
Topic: 'Expired Ceritificate' warnings for archived forums
Replies: 21
Views: 5283

Re: 'Expired Ceritificate' warnings for archived forums

The problem is affecting more than just the archived forum. URLs with and without 'www.' are failing for the archived forum: · https://autohotkey.com/board/ · https://www.autohotkey.com/board/ URLs with 'www.' are working, but without 'www.' are failing, for other cases: · https://autohotkey.com/boa...
by anaglypta
24 Mar 2021, 04:34
Forum: Ask for Help (v1)
Topic: Run command works from source and U64-compiled but fails U32-compiled - Compiler Bug?
Replies: 22
Views: 1895

Re: Run command works from source and U64-compiled but fails U32-compiled - Compiler Bug?

I'm happy it worked!

Btw the explorer.exe code was to open the link files, not to open Explorer windows.
It might be worth a try.

Are there any special link files on a default Windows 10 install? So I could try. Thanks.
by anaglypta
24 Mar 2021, 02:09
Forum: Ask for Help (v1)
Topic: Run command works from source and U64-compiled but fails U32-compiled - Compiler Bug?
Replies: 22
Views: 1895

Re: Run command works from source and U64-compiled but fails U32-compiled - Compiler Bug?

The idea is that the 64-bit shell would open the file in a 64-bit way, rather than the 32-bit AutoHotkey open the file in a 32-bit way. You could also try these 2 scripts (replacing Notepad with your file): Run, "explorer.exe" "C:\Windows\System32\notepad.exe" if A_Is64bitOS && (A_PtrSize!=8) DllCal...
by anaglypta
23 Mar 2021, 21:55
Forum: Ask for Help (v1)
Topic: Run command works from source and U64-compiled but fails U32-compiled - Compiler Bug?
Replies: 22
Views: 1895

Re: Run command works from source and U64-compiled but fails U32-compiled - Compiler Bug?

Based on what gregster said, you could try this:

Code: Select all

if A_Is64bitOS && (A_PtrSize!=8)
	DllCall("kernel32\Wow64DisableWow64FsRedirection", "Ptr*",0)
by anaglypta
06 Feb 2021, 08:07
Forum: KeySharp
Topic: Keysharp - the resurrection of IronAHK
Replies: 216
Views: 96458

Re: Keysharp - the resurrection of IronAHK

I mentioned in a previous post, the AHK backport lib, there's also a GUI backport lib that may give you clues for shaping AHK v1 GUI commands into AHK v2 functions.
by anaglypta
06 Feb 2021, 07:56
Forum: Ask for Help (v1)
Topic: When you want to delete a folder or file by pressing Shift + Delete Keys, move this folder to a desired location
Replies: 8
Views: 450

Re: When you want to delete a folder or file by pressing Shift + Delete Keys, move this folder to a desired location

IIRC, FileMove can have odd side effects if you use it on a folder. Something like renaming the first file and bailing out. So you may want to do something like this:

Code: Select all

if InStr(A_LoopFileAttrib, "D")
	FileMoveDir, ...
else
	FileMove, ...
by anaglypta
29 Dec 2020, 21:36
Forum: Off-topic Discussion
Topic: Happy new year
Replies: 7
Views: 3259

Re: Happy new year

I enjoyed this back at the start of the year. Best wishes for next year! Dana D's Countdown to 2020 =10*9*8+7+6*5*43+2+1 =10*9-8-7+6*54*3*2+1 =10+9*8-7+6*54*3*2+1 =10+9+8*7+6*54*3*2+1 =10-9+8*7+654*3+2-1 =10-9*87+65*43-2*1 =10-9*87+65*43-2/1 =10*987/6+54+321 Happy NewYear! It came from a post by Roh...
by anaglypta
27 Dec 2020, 21:04
Forum: Forum Issues
Topic: When I log in to forum, CSS disappears Topic is solved
Replies: 44
Views: 7772

Re: When I log in to forum, CSS disappears Topic is solved

The forum has multiple servers with different settings. Could it be that?
by anaglypta
10 Nov 2020, 13:38
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 460685

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Thank you both, I found the error in the Chrome.ahk file itself, not in an included file. Although the code was probably based on the library by Coco that you mentioned. Newer2AHK : I got the error by passing JS code to the Evaluate method. The JS did a comparison with ==, and returned a true/false ...
by anaglypta
10 Nov 2020, 13:09
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 460685

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

GeekDude: I believe there is a minor bug in the file Chrome.ahk: ; before: val := %value% + 0 ; after: val := %val% + 0 Btw this thread is getting pretty big, is it going to have its own subforum, like the documentation thread ? I want to make a few more unconnected points, but it might be neater t...
by anaglypta
10 Nov 2020, 10:30
Forum: KeySharp
Topic: Keysharp - the resurrection of IronAHK
Replies: 216
Views: 96458

Re: Keysharp - the resurrection of IronAHK

@mfeemster:
If IronAHK has SysGet, that would have the Monitor functionality.
jeeswg's backport lib may give you other clues for where AHK v1 commands can be shaped into AHK v2 functions.
Thanks for working on this!

Go to advanced search