Search found 66 matches

by eL Tux
06 Aug 2020, 16:17
Forum: Ask For Help
Topic: How to center text in Combobox, DropDownBox, ListBox ?
Replies: 0
Views: 271

How to center text in Combobox, DropDownBox, ListBox ?

Hi, I want to find a way to center text in one of this control : Combobox or DropDownBox or ListBox.

I spent so much time trying to do it but looks like no way ? I can't believe it, there is a way to do it ? :think:

Thanks
by eL Tux
31 Jul 2020, 18:47
Forum: Ask For Help
Topic: Launch my script on startup but minimized
Replies: 3
Views: 1340

Re: Launch my script on startup but minimized

not sure what you're asking for. you can simply create two shortcuts; then RMB select Properties, change "Run" to Minimized, the other set to "Normal Window", drag and drop one shortcut to the startup folder and you're done. https://i.postimg.cc/wjnpNz6H/minimized.png This is what I need to do but ...
by eL Tux
28 Jul 2020, 13:18
Forum: Ask For Help
Topic: Launch my script on startup but minimized
Replies: 3
Views: 1340

Launch my script on startup but minimized

Hi, my script have a GUI and I want to launch my script on windows startup but minimized. So I can launch my script on windows startup with this : FileCreateShortcut %A_ScriptFullPath%,%A_Startup%\%A_ScriptName%.lnk But how to launch my script minimized in tray on startup and still launch my script ...
by eL Tux
26 Jul 2020, 17:03
Forum: Ask For Help
Topic: if string contains only numbers and the following symbols: +().- and space
Replies: 4
Views: 1954

Re: if string contains only numbers and the following symbols: +().- and space

Thank you, your script works fine, but maybe you can explain me something. :think: In my knowing, this script should match when the string is a number but in fact this script match when the string isn't a number, why ? And how to invert the script to match if string is a number without using "else" ?
by eL Tux
25 Jul 2020, 20:21
Forum: Ask For Help
Topic: if string contains only numbers and the following symbols: +().- and space
Replies: 4
Views: 1954

if string contains only numbers and the following symbols: +().- and space

Hi, I need to check if the string contains only numbers and the following symbols: +().- and space. In fact, I'm trying to check if string is a phone number but not only US numbers, for all numbers in the world, so this can help me to do it. Example of correct string : +33 78 123 12 12 0812 123 123 ...
by eL Tux
19 Jul 2020, 10:03
Forum: Scripts and Functions
Topic: WebSocket.ahk
Replies: 8
Views: 6548

Re: WebSocket.ahk

I try to use this script but I can't find how to send more than 1 message, when I send more than 1 message I got echo.
by eL Tux
18 Jul 2020, 21:33
Forum: Ask For Help
Topic: how to use Websocket.ahk correctly ?
Replies: 1
Views: 1358

how to use Websocket.ahk correctly ?

Hi, I try to use this https://github.com/G33kDude/WebSocket.ahk I can send message one time but how to send multiple message ? I tried to add a fire key (F4) like this : #NoEnv SetBatchLines, -1 #Include WebSocket.ahk F4:: new Example("wss://mywebsocket....") return class Example extends WebSocket {...
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: 290

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

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

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

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

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

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

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

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

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

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

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..... ;.......

Go to advanced search