Search found 14 matches
- 28 Jun 2023, 16:20
- Forum: Ask for Help (v1)
- Topic: Using Autohotkey Send Commands to a Remote Desktop Topic is solved
- Replies: 11
- Views: 14443
Re: Using Autohotkey Send Commands to a Remote Desktop Topic is solved
Just confirming that this ~vkFF trick also works on my Windows 10 Machine. I had to do a full Reload.
- 04 Jul 2022, 11:23
- Forum: Ask for Help (v1)
- Topic: How to properly parse spanish, portuguese, french, etc from RunWaitOne/CMD/WshShell/ComSpec Topic is solved
- Replies: 1
- Views: 249
Re: How to properly parse spanish, portuguese, french, etc from RunWaitOne/CMD/WshShell/ComSpec Topic is solved
I've found out why StrReplace was not working. I had to save my files as UTF-8 with BOM in order to the replacing characters to be encoded properly. In the end the code was something like that: ; SOURCE: ; https://www.autohotkey.com/docs/commands/Run.htm#StdOut RunWaitOne(command, workingDir="") { ;...
- 04 Jul 2022, 10:40
- Forum: Ask for Help (v1)
- Topic: How to properly parse spanish, portuguese, french, etc from RunWaitOne/CMD/WshShell/ComSpec Topic is solved
- Replies: 1
- Views: 249
How to properly parse spanish, portuguese, french, etc from RunWaitOne/CMD/WshShell/ComSpec Topic is solved
Hi! What I'm trying to do I'm automating my git work with Sublime Merge. Luckily, that software puts the whole path to the git repo in the win title. So I can parse it and run some git commands. One Hotkey runs git status -s through RunWaitOne to get all modified files. Then it shows a listbox where...
- 31 Aug 2017, 23:36
- Forum: Ask for Help (v1)
- Topic: iPhilip and transparent click through windows Topic is solved
- Replies: 17
- Views: 4146
Re: iPhilip and transparent click through windows Topic is solved
It worked! Thank you! I almost got the setup done. I will post it here what i already have. After finishing it i will share in an dedicated thread :) But right now something is intriguing me. class classDrawableWindow{ static WM_ACTIVATE := 6 static WM_PAINT := 15 __New(name){ ;I REALLY SHOULD CHECK...
- 30 Aug 2017, 15:36
- Forum: Ask for Help (v1)
- Topic: iPhilip and transparent click through windows Topic is solved
- Replies: 17
- Views: 4146
Re: iPhilip and transparent click through windows Topic is solved
I wonder if i can create a class that automates that stuff. You extend a base class, implement is draw() method and it takes care of that OnMessage and WM_PAINT and stuff. You can definitely do it, you will probably encounter some issues along the way but in the end you can have something easy to u...
- 25 Aug 2017, 23:08
- Forum: Ask for Help (v1)
- Topic: iPhilip and transparent click through windows Topic is solved
- Replies: 17
- Views: 4146
Re: iPhilip and transparent click through windows Topic is solved
Touché. I'm still going through all that windows API and stuff and it's all starting to make sense. I wonder if i can create a class that automates that stuff. You extend a base class, implement is draw() method and it takes care of that OnMessage and WM_PAINT and stuff. Probably going to make thing...
- 23 Aug 2017, 22:53
- Forum: Ask for Help (v1)
- Topic: iPhilip and transparent click through windows Topic is solved
- Replies: 17
- Views: 4146
Re: iPhilip and transparent click through windows Topic is solved
Happens to me every time on my windows 7. Start the script -> ^#!q -> #d -> Switch to any program and I immediately get a white window. Thanks for testing. This shows me the class of the active window. Normal desktop is "Progman" the other is "WorkerW". Indeed. If i minimize everything it will disp...
- 23 Aug 2017, 22:25
- Forum: Ask for Help (v1)
- Topic: iPhilip and transparent click through windows Topic is solved
- Replies: 17
- Views: 4146
Re: iPhilip and transparent click through windows Topic is solved
To answer my own question: the Gui is created inside init_draw() with the title CanvasGUITitle . Sorry for not answering it. I thought you had it after your second post. I don't need the 255 exactly but later i'm gonna add an option for changing the opacity so i left it there to remind where should...
- 23 Aug 2017, 21:27
- Forum: Ask for Help (v1)
- Topic: iPhilip and transparent click through windows Topic is solved
- Replies: 17
- Views: 4146
Re: iPhilip and transparent click through windows Topic is solved
Indeed the taskbar icon is intended to not appear and the code divides your screen in 9 rectangles. This part is correct. I showed the alt+tab just so you can see by the miniature that the window is now fully white. I didn't show with alt+tab previously but it was, as expected, transparent with the ...
- 23 Aug 2017, 20:27
- Forum: Ask for Help (v1)
- Topic: iPhilip and transparent click through windows Topic is solved
- Replies: 17
- Views: 4146
Re: iPhilip and transparent click through windows Topic is solved
Hmm, strange. You've used the hotkey to trigger the draw_line functions? It did anything for you? +^!q:: init_draw(16) draw_line(A_ScreenWidth/3,0,A_ScreenWidth/3,A_ScreenHeight,5,1) draw_line(2*A_ScreenWidth/3,0,2*A_ScreenWidth/3,A_ScreenHeight,5,1) draw_line(0,A_ScreenHeight/3,A_ScreenWidth,A_Scre...
- 23 Aug 2017, 18:39
- Forum: Ask for Help (v1)
- Topic: iPhilip and transparent click through windows Topic is solved
- Replies: 17
- Views: 4146
iPhilip and transparent click through windows Topic is solved
Hi. I want to draw some lines on the screen in a way that it does not affect what the user can click. The idea is to create some metrics on the screen, similar to MB Ruler . I tried using iPhilip's draw functions . I've managed to draw some lines on the screen with success and i can click through th...
- 11 May 2017, 10:16
- Forum: Bug Reports
- Topic: [Not a bug]#Warn can't detect global class variable conflicts
- Replies: 8
- Views: 2293
Re: #Warn can't detect global class variable conflicts
oh, I get it! Sorry! The point i was missing here is that super-globals must use the global keyword outside a function. global v1 := ;super global v2 := ;global doStuff(){ v1 := "this is v1" v2 := "this is v2" } f1:: doStuff() MsgBox, % "v1 = " . v1 . "`nv2 = " . v2 return f1 prints v1 = this is v1 ...
- 11 May 2017, 06:17
- Forum: Bug Reports
- Topic: [Not a bug]#Warn can't detect global class variable conflicts
- Replies: 8
- Views: 2293
Re: #Warn can't detect global class variable conflicts
Prior to v1.1.05, to reference this class inside a function, a declaration such as global ClassName is required unless the function is assume-global. Global variables: Super-global variables [v1.1.05+]: If a global declaration appears outside of any function, it takes effect for all functions by de...
- 10 May 2017, 18:55
- Forum: Bug Reports
- Topic: [Not a bug]#Warn can't detect global class variable conflicts
- Replies: 8
- Views: 2293
[Not a bug]#Warn can't detect global class variable conflicts
The problem is that when you create a class, AHK creates a super-global variable with the class name, but the #Warn can't detect it. Below is an working example to illustrate that. Follow me: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #Warn , All #SingleI...