Search found 58 matches

by eL Tux
21 Nov 2019, 10:13
Forum: Ask For Help
Topic: How to move the steam notification to up left corner ?
Replies: 0
Views: 134

How to move the steam notification to up left corner ?

Hi, I want to move the steam notification to up left corner of the screen, how i can do this ? i tried with a simple : loop { WinMove, ahk_class vguiPopupWindow,, 0, 0, } But the notification blinking in up left and in bottom right Also i tried to put the notification in a parent GUI but i can't see...
by eL Tux
19 Oct 2019, 11:30
Forum: Ask For Help
Topic: Connection between 2 PC with AHK ?
Replies: 6
Views: 530

Re: Connection between 2 PC with AHK ?

well... so there is no good solution, i can't open ports and i can't use telegram because ill need a phone number. But maybe i found something good, what about using a server with some PHP code and Ajax code like Comet/Ajax push to push new variables. I probably need to use a hidden web page or mayb...
by eL Tux
18 Oct 2019, 10:48
Forum: Ask For Help
Topic: Connection between 2 PC with AHK ?
Replies: 6
Views: 530

Re: Connection between 2 PC with AHK ?

I already tried winsocket method, but the problem we need to open some ports in firewall, so this is not a good solution for me.

About pastebin, this is maybe a good idea but how we can get the new varable automatiquely and fastly without doing permanente requests ?
by eL Tux
16 Oct 2019, 12:14
Forum: Ask For Help
Topic: Connection between 2 PC with AHK ?
Replies: 6
Views: 530

Connection between 2 PC with AHK ?

Hi, I want to send some variables over internet to another PC, i know how to do it with WinHttp.Winhttprequest.5.1 and some PHP code on my server, but in this way I need to send a permanent requests to get the new variable. I think this is not a good solution for the Server bandwidth, so what I can ...
by eL Tux
06 Oct 2019, 20:31
Forum: Ask For Help
Topic: Show a GDI+ image in a SplashImage Window ?
Replies: 3
Views: 429

Re: Show a GDI+ image in a SplashImage Window ?

Xtra wrote:
05 Oct 2019, 14:11

Code: Select all

hObject := Gdip_CreateHBITMAPFromBitmap(pBitmap)
SplashImage, HBITMAP:%hObject%
DeleteObject(hObject)
Hum, thanks, this work but... I hoped in this way I can use the GDI transparency on the image but... the transparency don't work, maybe you have a solution for this ?
by eL Tux
05 Oct 2019, 14:02
Forum: Ask For Help
Topic: Show a GDI+ image in a SplashImage Window ?
Replies: 3
Views: 429

Show a GDI+ image in a SplashImage Window ?

Hi, there is any way to show a GDI+ image in a SplashImage ?
by eL Tux
29 Sep 2019, 10:17
Forum: Ask For Help
Topic: How to display 2 GDI+ GUI in same time ?
Replies: 2
Views: 254

Re: How to display 2 GDI+ GUI in same time ?

Xtra wrote:
28 Sep 2019, 16:46

Code: Select all

Gui, 2: Show etc etc...
This not work, when i do this, Gui, 1: doesn't display :(
Maybe i need to modify something in the GDI+ part ?

EDIT: oh i'm stupid, sorry now it's works :oops:
by eL Tux
28 Sep 2019, 14:41
Forum: Ask For Help
Topic: How to display 2 GDI+ GUI in same time ?
Replies: 2
Views: 254

How to display 2 GDI+ GUI in same time ?

Hi, I need to display 2 GDI+ Gui (with image and text for both), i know how to display 1 GDI+ Gui but i don't know how to display 2 GDI+ Gui ? Actually i have something like this : If !pToken := Gdip_Startup() { MsgBox, 48, gdiplus error!, Gdiplus failed to start. Please ensure you have gdiplus on y...
by eL Tux
13 Aug 2019, 13:43
Forum: Ask For Help
Topic: We can paste a variable without using "Send" or "Sendinput" ?
Replies: 3
Views: 539

Re: We can paste a variable without using "Send" or "Sendinput" ?

i found this way : SafePaste() { ; A way of pasting that only returns control when the paste is complete ; by jeeswg ; See https://www.autohotkey.com/boards/viewtopic.php?p=271514&sid=f898e28c59efcb6871c1dff403e663dd#p271517 ControlGetFocus, vCtlClassNN, A ControlGet, hCtl, Hwnd,, % vCtlClassNN, A S...
by eL Tux
13 Aug 2019, 11:48
Forum: Ask For Help
Topic: We can paste a variable without using "Send" or "Sendinput" ?
Replies: 3
Views: 539

We can paste a variable without using "Send" or "Sendinput" ?

Hi,

I need to paste a variable but without using "Send" or "Sendinput", i need this because i use this script to block keyboard input :

Code: Select all

loop
{
Input, OutputVar
}
So "Send" and "Sendinput" can't work with this script, so there is another way to paste variable ?

Thx
Sorry for my poor english.
by eL Tux
22 Jun 2019, 16:38
Forum: Ask For Help
Topic: Detect all keys pressed and resend it except the latest key
Replies: 2
Views: 392

Detect all keys pressed and resend it except the latest key

Hi, I need to detect all keys pressed on the keyboard then send all keys detected except the last one (the one used to launch the script). How to do this ? My script is like this : Hotkey, A, launch , On Hotkey, B, SendKeys, On launch: ;Some code to detect all keys pressed on the keyboard..... ;.......
by eL Tux
22 Jun 2019, 15:19
Forum: Ask For Help
Topic: Get mouse position in NoActivate GUI ?
Replies: 3
Views: 451

Re: Get mouse position in NoActivate GUI ?

humm no this probably not works cuz if i switch screen resolution my script will not works.
by eL Tux
22 Jun 2019, 11:48
Forum: Ask For Help
Topic: Get mouse position in NoActivate GUI ?
Replies: 3
Views: 451

Get mouse position in NoActivate GUI ?

Hi, I need to get mouse position relative to the GUI window but without activating this GUI Window, it is posible ? I don't want to use mouse position relative to screen, i need to use mouse position relative to the Window GUI but this GUI using NoActivate proprietie. How i can do this ? Sorry for m...
by eL Tux
28 Oct 2017, 14:09
Forum: Ask For Help
Topic: Checkbox to automatically run at windows startup ?
Replies: 4
Views: 943

Re: Checkbox to automatically run at windows startup ?

Thanks this is ok for me : IfExist %A_Startup%\%A_ScriptName%.lnk { Startup = 1 StartCheck = Checked } else { Startup = 0 StartCheck = } ..... Gui, Settings: Add, CheckBox, y430 x20 w180 h25 gStartup vStartup %StartCheck%, Start with windows ..... return Startup: Gui, Settings: Submit, NoHide if (St...
by eL Tux
15 Oct 2017, 20:02
Forum: Ask For Help
Topic: Checkbox to automatically run at windows startup ?
Replies: 4
Views: 943

Checkbox to automatically run at windows startup ?

Hi, i want to add a checkbox in my GUI to automatically run my ahk script at windows startup i have something like this : Gui, Add, CheckBox, gStartup vStartup, Script will run at windows startup Gui, Show Return Startup: Gui, Submit, NoHide if Startup = 1 MsgBox, run at windows startup ENABLE if St...
by eL Tux
05 Oct 2017, 15:40
Forum: Ask For Help
Topic: Save not empty edit boxes first in .ini file Topic is solved
Replies: 2
Views: 680

Save not empty edit boxes first in .ini file Topic is solved

Hi, I have something like this : Gui, Add, Edit, w330 h20 vText1, %Text1% Gui, Add, Edit, w330 h20 vText2, %Text2% Gui, Add, Edit, w330 h20 vText3, %Text3% Gui, Add, Edit, w330 h20 vText4, %Text4% Gui, Add, Edit, w330 h20 vText5, %Text5% Gui, Add, Edit, w330 h20 vText6, %Text6% Gui, Add, Edit, w330 ...
by eL Tux
23 Apr 2017, 12:34
Forum: Gaming
Topic: Detect mouse movement in FPS Games ?
Replies: 0
Views: 414

Detect mouse movement in FPS Games ?

Hi, i need to detect mouse movement in FPS games. (in FPS games the mouse cursor stay in the middle of the screen, so we can't move it). i think i need to find a way to detect mouse movement not cursor movement. i found this : https://autohotkey.com/boards/viewtopic.php?t=10159 but i can't find a wa...
by eL Tux
16 Apr 2017, 10:50
Forum: Ask For Help
Topic: Gui, Add, Hotkey and Joypad buttons ?
Replies: 5
Views: 1024

Re: Gui, Add, Hotkey and Joypad buttons ?

@lexikos thanks but i saw the code and i'm too noob to understand the code... this is like chinese for me :crazy: But finally i used my brain and i found a way... :D (not really clean way but works...) inifile=settings.ini IfNotExist,%inifile% { IniWrite, x, %IniFile%, settings, HK } IniRead, HK, %I...

Go to advanced search