Search found 69 matches

by trust_me
04 Jul 2019, 09:08
Forum: Ask For Help
Topic: Associtive Array for loop by index syntax help
Replies: 11
Views: 591

Re: Associtive Array for loop by index syntax help

:offtopic: just me ! now the song sticks in my head like chewing gum to a shoe............... :headwall:
by trust_me
14 Jun 2019, 01:48
Forum: Ask For Help
Topic: Is there a script to turn the magnifier on and off? Topic is solved
Replies: 2
Views: 156

Re: Is there a script to turn the magnifier on and off? Topic is solved

Can you not use the build-in hotkeys ? ( for win10 win + and win esc )
by trust_me
03 Jun 2019, 12:30
Forum: Ask For Help
Topic: Close all window type other than most recently active
Replies: 5
Views: 243

Re: Close all window type other than most recently active

Close all active windows of a certain type but keep most recently active window. The code gives you the list of windows from the code : WinGet, OutList, List, ahk_class XLMAIN The first one in the list is the last active window . In de code you have been using you skipped the first entry : if A_Ind...
by trust_me
02 Jun 2019, 05:56
Forum: Ask For Help
Topic: Close all window type other than most recently active
Replies: 5
Views: 243

Re: Close all window type other than most recently active

You can find out if the first in the list is the one you want to keep .Maybe the first listed one is not the correct one.

Code: Select all

WinGet, OutList, List, ahk_class XLMAIN
Loop, %OutList% {
WinGetTitle, title,% "ahk_id " OutList%A_Index%
z .=A_Index "   " title "`n" 
}
msgbox %z%
by trust_me
30 May 2019, 08:51
Forum: Scripts and Functions
Topic: Include images/files in Uncompiled Scripts
Replies: 5
Views: 402

Re: Include images/files in Uncompiled Scripts

Maybe nimdas is faster.
Converting to hex doubles the size while using base64 only increases with 33%.I tried your code and it works fine i guess it is also compatible with older windows versions.
Thanks for sharing :)
by trust_me
29 May 2019, 03:03
Forum: Scripts and Functions
Topic: Include images/files in Uncompiled Scripts
Replies: 5
Views: 402

Re: Include images/files in Uncompiled Scripts

It is for uncompiled scripts , fileinstall only insert the data when compiling it.
by trust_me
19 Feb 2019, 06:51
Forum: Ask For Help
Topic: Image key press help
Replies: 1
Views: 164

Re: Image key press help

Hope that i restored to original code because i changed it a bit for testing with a picture in a window. #NoEnv SendMode Input SetWorkingDir %A_ScriptDir% #SingleInstance Force CoordMode, Mouse, Window CoordMode, Pixel, Window Menu, Tray, Icon, Shell32.dll, 95 , 1 ;Gui, add,picture,,haystack.png ;Gu...
by trust_me
14 Feb 2019, 12:13
Forum: Ask For Help
Topic: Image not destroyed / shown misclicked
Replies: 2
Views: 221

Re: Image not destroyed / shown misclicked

Adding a sleep 10 after the hotkey seems to solve it.... ~*CapsLock:: sleep 10 state := GetKeyState("CapsLock", "T") if state = 1 { SplashImageGUI("command-mode.png", "center", "center", false, true) } else { DestroySplashGUI() } return SplashImageGUI(Picture, X, Y, Duration, Transparent = false) { ...
by trust_me
02 Nov 2018, 13:12
Forum: Ask For Help
Topic: Testing if a server is up?
Replies: 5
Views: 504

Re: Testing if a server is up?

You could use powershell commandline to test if a port is open:

tnc 192.168.1.4 -port 52673
by trust_me
29 Oct 2018, 14:20
Forum: Ask For Help
Topic: Overlay Countdown Timer
Replies: 3
Views: 307

Re: Overlay Countdown Timer

by trust_me
28 Oct 2018, 08:17
Forum: Ask For Help
Topic: Overlay Countdown Timer
Replies: 3
Views: 307

Re: Overlay Countdown Timer

Just a quick adaption from an existing code : https://autohotkey.com/board/topic/18151-osd-countdown-inserting-ending-time/ ; https://autohotkey.com/board/topic/18151-osd-countdown-inserting-ending-time/ ;On-screen display (OSD) CustomColor = 99AA55 ; Can be any RGB color (it will be made transparen...
by trust_me
12 Oct 2018, 06:45
Forum: Ask For Help
Topic: RegExMatch
Replies: 3
Views: 333

Re: RegExMatch

setworkingdir , %a_scriptdir% ;[1011/172551:INFO:GameCallbacks.cpp(199)] game/buh (Client thread) info [CHAT] 53iRyder, 70h, _____Psycho_____, _Benom_, _Deadkitty FileReadLine, line, launcher_log.txt, 1 msgbox %line% ;for testing line := RegExreplace(line, ".*\[CHAT] (.*)", "$1") msgbox ,%line% ;fo...
by trust_me
06 Oct 2018, 08:50
Forum: Ask For Help
Topic: question about boundfunc object
Replies: 2
Views: 198

Re: question about boundfunc object

Thanks Helgef :)
That is a nice one!
by trust_me
06 Oct 2018, 06:33
Forum: Ask For Help
Topic: question about boundfunc object
Replies: 2
Views: 198

question about boundfunc object

fn := Func("RealFn").Bind("m","n") fn.Call() ; equivalent ? realfn("m","n") RealFn(a,c) { MsgBox %a%,%c% } What is the difference or what can you do with "bind" that you cannot do with a simple function call , after reading the documentation i fail to see an "easy" use for it. Can someone give an e...
by trust_me
03 Oct 2018, 07:08
Forum: Ask For Help
Topic: Plea for help
Replies: 2
Views: 208

Re: Plea for help

Can you explain what you are trying to do ? Trying to read the dice value ? What is the image you are searching for looks like ?
by trust_me
03 Oct 2018, 02:01
Forum: Ask For Help
Topic: Looking to create a rectangular overlay on my screen.
Replies: 2
Views: 242

Re: Looking to create a rectangular overlay on my screen.

You can create a simple window : Gui, +toolwindow +resize -caption +alwaysontop Gui, color , ff8000 ; set color value RGB Gui, show,w100 h100 OnMessage(0x201,"WM_LBUTTONDOWN") ; to move the window by dragging return WM_LBUTTONDOWN(wParam,lParam,msg,hwnd){ PostMessage, 0xA1, 2 } esc::exitapp
by trust_me
25 Sep 2018, 10:19
Forum: Offtopic
Topic: self solving RUBIC cube
Replies: 0
Views: 392

self solving RUBIC cube

by trust_me
13 Sep 2018, 01:51
Forum: Offtopic
Topic: Trim command SSD
Replies: 2
Views: 437

Re: Trim command SSD

Thanks garry :)

Go to advanced search