Search found 91 matches
- 10 Nov 2022, 09:26
- Forum: Ask for Help (v1)
- Topic: If statement parentheses paradox Topic is solved
- Replies: 8
- Views: 557
Re: If statement parentheses paradox Topic is solved
Thanks @malcev and @mikeyww for clarification .
- 10 Nov 2022, 06:57
- Forum: Ask for Help (v1)
- Topic: If statement parentheses paradox Topic is solved
- Replies: 8
- Views: 557
- 10 Nov 2022, 06:55
- Forum: Ask for Help (v1)
- Topic: If statement parentheses paradox Topic is solved
- Replies: 8
- Views: 557
Re: If statement parentheses paradox Topic is solved
Well, but it not explain this:
Code: Select all
x := 1
1 := 1
If x == 1
MsgBox x == 1
- 10 Nov 2022, 06:45
- Forum: Ask for Help (v1)
- Topic: Detect Windows message
- Replies: 2
- Views: 253
Re: Detect Windows message
Did you try exist program for that purpose, Microsoft Spy++ spyxx.exe?
- 10 Nov 2022, 06:40
- Forum: Ask for Help (v1)
- Topic: If statement parentheses paradox Topic is solved
- Replies: 8
- Views: 557
If statement parentheses paradox Topic is solved
How to explain this behavior?
Code: Select all
If 1 == 1
MsgBox 1 == 1
If 1 != 1
MsgBox 1 != 1
If (1 == 1)
MsgBox (1 == 1)
If (1 != 1)
MsgBox (1 != 1)
- 10 Sep 2022, 14:02
- Forum: Ask for Help (v2)
- Topic: StandBy rewriting for v2 Topic is solved
- Replies: 5
- Views: 883
Re: StandBy rewriting for v2 Topic is solved
swagfag Thanks, NumPut arguments order fixed. AHK_user Converter is cool, I manually replaced after only `PtrP, var` to `Prt*, &var`, but still miss smth. fixing those problems (passing an unset variable into Ptr*, and changing the order of NumPut arguments) works. Could you share, please? Still st...
- 10 Sep 2022, 05:29
- Forum: Ask for Help (v2)
- Topic: StandBy rewriting for v2 Topic is solved
- Replies: 5
- Views: 883
StandBy rewriting for v2 Topic is solved
There is a useful function for v1.1L to put system in standby mode: StandBy() { ;enable SeShutdownPrivilege token Process, Exist ; Sets ErrorLevel to the PID of this running script. ; Get the handle of this script with PROCESS_QUERY_INFORMATION (0x0400): h := DllCall("OpenProcess", "UInt", 0x0400, "...
- 15 Oct 2021, 19:30
- Forum: Scripts and Functions (v2)
- Topic: tigerlily's Screen Dimmer [a122] - Multi-Monitor Screen Dimmer for Developers, Students, Gamers & Digital Nomads
- Replies: 53
- Views: 16424
Re: tigerlily's Screen Dimmer [a122] - Multi-Monitor Screen Dimmer for Developers, Students, Gamers & Digital Nomads
I got it. But how TS run his code?
- 15 Oct 2021, 04:32
- Forum: Scripts and Functions (v2)
- Topic: tigerlily's Screen Dimmer [a122] - Multi-Monitor Screen Dimmer for Developers, Students, Gamers & Digital Nomads
- Replies: 53
- Views: 16424
Re: tigerlily's Screen Dimmer [a122] - Multi-Monitor Screen Dimmer for Developers, Students, Gamers & Digital Nomads
Error at line 1063. Line Text: GetPhysicalMonitorsFromHMONITOR(hMonitor, PhysicalMonitorArraySize, ByRef PHYSICAL_MONITOR){ Error: Missing comma The program will exit. Fix: ByRef → & ResetSettings := Map() This Func cannot be assigned a value :? :think: Script from GitHub / topic(line 1067) AHK V2 ...
- 05 Nov 2018, 11:44
- Forum: Forum Issues
- Topic: Feedback: phpBB forum interface switch
- Replies: 165
- Views: 42474
Re: Feedback: phpBB forum interface switch
For Chrome Stylish: html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label...
- 05 Nov 2018, 10:54
- Forum: Forum Issues
- Topic: Feedback: phpBB forum interface switch
- Replies: 165
- Views: 42474
Re: Feedback: phpBB forum interface switch
Continue making css for Stylish plugin, Light PhP bb style: https://s8.hostingkartinok.com/uploads/thumbs/2018/11/923aaf54c4b382192bb0ade24ab20b26.png For Mozilla/Palemoon: @namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain('autohotkey.com') { html, body, div, span, applet, object,...
- 05 Nov 2018, 06:42
- Forum: Scripts and Functions (v1)
- Topic: Force TaskBar AutoHide
- Replies: 1
- Views: 1644
Force TaskBar AutoHide
Sometimes windows taskbar auto-hide option stop working, this is a known bug: https://s8.hostingkartinok.com/uploads/images/2018/11/51237a2bd21635e625d09fca1054aa27.jpeg https://s8.hostingkartinok.com/uploads/images/2018/11/c26198a7ad995f2c788d21517075b18d.png The reason of bug connected with tray (...
- 18 Oct 2018, 16:06
- Forum: Forum Issues
- Topic: Feedback: phpBB forum interface switch
- Replies: 165
- Views: 42474
Re: Feedback: phpBB forum interface switch
Old forum style with old Stylish on old Firefox/Palemoon :beer: : https://s8.hostingkartinok.com/uploads/thumbs/2018/10/5adfd12161cf75d1f5ccfc98c36c46c5.png Create blank style: @-moz-document domain('autohotkey.com') { html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockqu...
- 18 Oct 2018, 16:03
- Forum: Forum Issues
- Topic: Feedback: phpBB forum interface switch
- Replies: 165
- Views: 42474
Re: Feedback: phpBB forum interface switch
Just figured it out and found old css from webarchive. Good old style with Stylish on Chromium-liked browsers (and modern Fox I suppose): https://s8.hostingkartinok.com/uploads/thumbs/2018/10/8698d9d4bac921704e54c82d2d78de36.png Create new style: html, body, div, span, applet, object, iframe, h1, h2...
- 18 Oct 2018, 13:57
- Forum: Forum Issues
- Topic: Feedback: phpBB forum interface switch
- Replies: 165
- Views: 42474
Re: Feedback: phpBB forum interface switch
I have Firefox 52.6 and good old Stylish 2.0.7, don't try yet in other browsers .
Seems @-moz-document domain('autohotkey.com') is mozilla Stylish format to specify url/domain.
Seems @-moz-document domain('autohotkey.com') is mozilla Stylish format to specify url/domain.
- 18 Oct 2018, 04:37
- Forum: Forum Issues
- Topic: Feedback: phpBB forum interface switch
- Replies: 165
- Views: 42474
- 18 Oct 2018, 04:00
- Forum: Forum Issues
- Topic: Feedback: phpBB forum interface switch
- Replies: 165
- Views: 42474
Re: Feedback: phpBB forum interface switch
Can't see anything now... Not found even checbox in profile to turn off this greystyle.
Give me right css for Stylish, at least please!
- 29 Jun 2018, 11:07
- Forum: Ask for Help (v1)
- Topic: FileExist fail in System32 folder (ahk_32 on x64 OS) Topic is solved
- Replies: 2
- Views: 1066
FileExist fail in System32 folder (ahk_32 on x64 OS) Topic is solved
On windows 7x64 autohotkey32 can not see this file:
autohotkey64 works fine.
Are there any reasons for this behavior?
Code: Select all
f := FileOpen("C:\Windows\System32\dwm.exe","r","CP0")
if !IsObject(f)
MsgBox 0
MsgBox % FileExist("C:\Windows\System32\dwm.exe")
Are there any reasons for this behavior?
- 30 May 2018, 15:49
- Forum: AutoHotkey Development
- Topic: Object.HasValue/Contains/KeyOf/FindValue
- Replies: 56
- Views: 18441
Re: Object.HasValue/Contains/KeyOf/FindValue
I haven't followed the discussion... ...Unsure if they can be merged into one, because key can be 0 I think, you should read at least last message with code. All keys return in array, so even if it's found only one match value with key 0 , function return array [ 0 ] , which equals true , not false...
- 28 May 2018, 12:27
- Forum: AutoHotkey Development
- Topic: Object.HasValue/Contains/KeyOf/FindValue
- Replies: 56
- Views: 18441
Re: Object.HasValue/Contains/KeyOf/FindValue
AutoHotkey v1 implementation:
Code: Select all
; Return array of keys if exist
HasValue(var, arr) {
arrOfKeys := {}
for key, value in arr
if (value == var)
arrOfKeys.Push(key)
return (arrOfKeys.Length() = 0) ? false : arrOfKeys
}