Search found 91 matches

by stealzy
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 👍🍻.
by stealzy
10 Nov 2022, 06:57
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

mikeyww wrote:
10 Nov 2022, 06:44
I just use expressions in parentheses with If
Same, just curious.
by stealzy
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
by stealzy
10 Nov 2022, 06:45
Forum: Ask for Help (v1)
Topic: Detect Windows message
Replies: 2
Views: 249

Re: Detect Windows message

Did you try exist program for that purpose, Microsoft Spy++ spyxx.exe?
by stealzy
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)
by stealzy
10 Sep 2022, 14:02
Forum: Ask for Help (v2)
Topic: StandBy rewriting for v2 Topic is solved
Replies: 5
Views: 877

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...
by stealzy
10 Sep 2022, 05:29
Forum: Ask for Help (v2)
Topic: StandBy rewriting for v2 Topic is solved
Replies: 5
Views: 877

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, "...
by stealzy
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: 16232

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 ...
by stealzy
05 Nov 2018, 11:44
Forum: Forum Issues
Topic: Feedback: phpBB forum interface switch
Replies: 165
Views: 41999

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...
by stealzy
05 Nov 2018, 10:54
Forum: Forum Issues
Topic: Feedback: phpBB forum interface switch
Replies: 165
Views: 41999

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,...
by stealzy
05 Nov 2018, 06:42
Forum: Scripts and Functions (v1)
Topic: Force TaskBar AutoHide
Replies: 1
Views: 1641

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 (...
by stealzy
18 Oct 2018, 16:06
Forum: Forum Issues
Topic: Feedback: phpBB forum interface switch
Replies: 165
Views: 41999

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...
by stealzy
18 Oct 2018, 16:03
Forum: Forum Issues
Topic: Feedback: phpBB forum interface switch
Replies: 165
Views: 41999

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...
by stealzy
18 Oct 2018, 13:57
Forum: Forum Issues
Topic: Feedback: phpBB forum interface switch
Replies: 165
Views: 41999

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.
by stealzy
18 Oct 2018, 04:00
Forum: Forum Issues
Topic: Feedback: phpBB forum interface switch
Replies: 165
Views: 41999

Re: Feedback: phpBB forum interface switch

:evil:
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!
by stealzy
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: 1060

FileExist fail in System32 folder (ahk_32 on x64 OS) Topic is solved

On windows 7x64 autohotkey32 can not see this file:

Code: Select all

f := FileOpen("C:\Windows\System32\dwm.exe","r","CP0")
	if !IsObject(f)
		MsgBox 0
MsgBox % FileExist("C:\Windows\System32\dwm.exe")
autohotkey64 works fine.
Are there any reasons for this behavior?
by stealzy
30 May 2018, 15:49
Forum: AutoHotkey Development
Topic: Object.HasValue/Contains/KeyOf/FindValue
Replies: 56
Views: 18335

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...
by stealzy
28 May 2018, 12:27
Forum: AutoHotkey Development
Topic: Object.HasValue/Contains/KeyOf/FindValue
Replies: 56
Views: 18335

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
}

Go to advanced search