Search found 82 matches

by stealzy
05 Nov 2018, 11:44
Forum: Forum Issues
Topic: Feedback: phpBB forum interface switch
Replies: 165
Views: 6264

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: 6264

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
Topic: Force TaskBar AutoHide
Replies: 1
Views: 181

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: 6264

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: 6264

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: 6264

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: 6264

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
Topic: FileExist fail in System32 folder (ahk_32 on x64 OS) Topic is solved
Replies: 2
Views: 103

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 v2 Development
Topic: Object.HasValue/Contains/KeyOf/FindValue
Replies: 56
Views: 5458

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 v2 Development
Topic: Object.HasValue/Contains/KeyOf/FindValue
Replies: 56
Views: 5458

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
}
by stealzy
29 Apr 2018, 15:38
Forum: Scripts and Functions
Topic: [CLASS] Lyt - Keyboard layout (language) operation
Replies: 27
Views: 3905

Re: [CLASS] Lyt - Keyboard layout (language) operation

add that directive I don't think this is enough, because it will not have an effect on WinExist("A") id return. Btw, I try send PostMessage, 0x50 message directly to window with id hDesk := DllCall("user32\GetDesktopWindow", "Ptr"), it not change layout while I renaming file on desktop. Anton, coul...
by stealzy
29 Apr 2018, 10:03
Forum: Scripts and Functions
Topic: [CLASS] Lyt - Keyboard layout (language) operation
Replies: 27
Views: 3905

Re: [CLASS] Lyt - Keyboard layout (language) operation

On my OS (Win7x64) Lyt code can switch layout while I renaming the file located on the desktop :think:.
In my case WinExist("A") return ID of window with class "WorkerW", so it take a message.
by stealzy
23 Feb 2018, 07:36
Forum: Ask For Help
Topic: WinWaitClose with Chrome tabs
Replies: 4
Views: 163

Re: WinWaitClose with Chrome tabs

Window != tab. You can open this tab in separate window, then your code will work. Otherwise you need special tools for chrome, search "chrome" on forum.
by stealzy
21 Feb 2018, 13:26
Forum: Ask For Help
Topic: How do I set a hotkey combination to not affect individual hotkey?
Replies: 2
Views: 100

Re: How do I set a hotkey combination to not affect individual hotkey?

Where is your code? I have no such problem.

Code: Select all

Rbutton & Lbutton::ToolTip 1
Rbutton UP::ToolTip % A_PriorKey
Esc::ExitApp
Anyway, you can use Suspend or #If. Just make variable and set it in Rbutton & Lbutton hotkey until Rbutton realesed (KeyWait).
by stealzy
21 Feb 2018, 13:10
Forum: Ask For Help
Topic: Stop a specific loop Topic is solved
Replies: 3
Views: 134

Re: Stop a specific loop Topic is solved

Use SetTimer instead.

Code: Select all

#Persistent
Global Stop_f_loop := false
SetTimer f, -1
Return

F1::Stop_f_loop := true

F2::
Stop_f_loop := false
SetTimer f, -1
Return

f() {
	static i := 0
	MsgBox % ++i
	If Not Stop_f_loop
		SetTimer f, -1
}
by stealzy
13 Feb 2018, 16:51
Forum: Scripts and Functions
Topic: convert coordinates between Client/Screen/Window modes
Replies: 9
Views: 1315

Re: convert coordinates between Client/Screen/Window modes

Do not need convert, if you get all coordinate at once: p := WinGetP(WinActive("A")) MsgBox % p.x " | " p.ClientScr.x " | " p.ClientWin.x WinGetP(hwnd) { WinGetPos, x, y, w, h, ahk_id %hwnd% WinP := {x:x, y:y, w:w, h:h} VarSetCapacity(pt, 16) NumPut(x, pt, 0) || NumPut(y, pt, 4) || NumPut(w, pt, 8) ...
by stealzy
06 Feb 2018, 05:35
Forum: Scripts and Functions
Topic: [CLASS] Lyt - Keyboard layout (language) operation
Replies: 27
Views: 3905

Re: [CLASS] Lyt - Keyboard layout (language) operation

Hi all! @formicant , you're right, thanks, fix all my codeboxes :facepalm:. I think you need hook on window message to monitor the layout changing. Also, hook on window activate and creating, such every window has it's own layout. @Drugwash , thanks for fix my hardcode :thumbup:! Update top post jus...
by stealzy
22 Jan 2018, 10:38
Forum: Wish List
Topic: Suggestions on documentation improvements
Replies: 470
Views: 88988

Re: Suggestions on documentation improvements

Btw, new help file process get 55 Mb - up to 100 Mb memory. Previous classic help get 20-25 Mb (working set).
joefiesta wrote:Is this WHITE hardcoded somewhere?
Yes, it is. Compare with Putty help:
Image

Go to advanced search