Search found 162 matches
- 06 May 2020, 08:26
- Forum: Ask for Help (v1)
- Topic: Drawing on a Layered Window
- Replies: 1
- Views: 285
Drawing on a Layered Window
The function I'm trying to write isolated, going into this function pbitmap is provided which is a pbitmap image of the layered window when the function is called, perhaps on a hotkey click draw type of action. I've played around a lor with dififerent ways to format color but something isn't working...
- 05 May 2020, 11:22
- Forum: Ask for Help (v1)
- Topic: GDI32 vs GDIplus Using a Brush to draw in a loop
- Replies: 4
- Views: 503
- 05 May 2020, 10:25
- Forum: Ask for Help (v1)
- Topic: Calling a Hotkey withing a subroutine/function
- Replies: 4
- Views: 411
Re: Calling a Hotkey withing a subroutine/function
Why wouldn't you just instead make and call the function instead?
- 05 May 2020, 09:46
- Forum: Ask for Help (v1)
- Topic: GDI32 vs GDIplus Using a Brush to draw in a loop
- Replies: 4
- Views: 503
GDI32 vs GDIplus Using a Brush to draw in a loop
I'm trying to bring an older script up to date with the newer GDIplus 64 bit library. The old script was created pre Gdi+ and worked using DllCall functions calling the gdi32.dll library. The portion I'm trying to modify uses the following functions within a looping system that establishes the mouse...
- 04 May 2020, 21:29
- Forum: Ask for Help (v1)
- Topic: Defining a GUI Text control's Hwnd to use in CtlColors.Attatch() within a key-value pair loop Topic is solved
- Replies: 2
- Views: 465
Re: Defining a GUI Text control's Hwnd to use in CtlColors.Attatch() within a key-value pair loop Topic is solved
Thank you!
I thought I tried that, i must have had soime other mistake. Thanks1@
I thought I tried that, i must have had soime other mistake. Thanks1@
- 04 May 2020, 19:30
- Forum: Ask for Help (v1)
- Topic: Defining a GUI Text control's Hwnd to use in CtlColors.Attatch() within a key-value pair loop Topic is solved
- Replies: 2
- Views: 465
Defining a GUI Text control's Hwnd to use in CtlColors.Attatch() within a key-value pair loop Topic is solved
The key-value object is Colors which is a collection of 6 digit hex color codes. For each color value, I'm adding a Gui Text control sized w20 h20 with Hwnd definined using the generic label Color as a prefix to the key, and placed as the final option with no following content parameter. Following t...
- 25 Apr 2020, 16:56
- Forum: Ask for Help (v1)
- Topic: Remove Buttons from GUI ? Topic is solved
- Replies: 8
- Views: 1256
Re: Remove Buttons from GUI ? Topic is solved
Call me crazy I don't use buttons anymore, I use the OnMessage along with the LButtonDown WM in order to determine which control was clicked under the mouse when clicked and throw in some logic operators and expressions to determine is the click was of my "button". OnMessage(0x201, "WM_LBUTTONDOWN")...
- 25 Apr 2020, 16:42
- Forum: Ask for Help (v1)
- Topic: Hold down right mouse button?
- Replies: 2
- Views: 2852
Re: Hold down right mouse button?
The way you're doing this is primitive and not recommended for reliable use. You need to look into SendMessage and PostMessage https://www.autohotkey.com/docs/misc/SendMessage.htm As per your questions in regards to the prefixes for ^ = Ctrl Key and + = Shift Key ... The distinction being the design...
- 25 Apr 2020, 16:35
- Forum: Off-topic Discussion
- Topic: Android Applications
- Replies: 30
- Views: 16936
Re: Android Applications
Happy to see this thread was discussed with some interest in the years since I posted the original thoughts I had. I'm doubling down with respect to cross-platform capabilities, particularly with Linux but also with Android, even if it was merely and translational service at first, this would cement...
- 25 Apr 2020, 16:07
- Forum: Ask for Help (v1)
- Topic: How to GDIP ?
- Replies: 1
- Views: 334
How to GDIP ?
It would really help if someone could get a grasp of where I am with the subject and offer some insight to what you think I'm missing based on what I'm explaining here: I'm often working with the GDIP library and I've peiced together things from Tic's tutorials, and reading the GDIP library code alo...
- 10 Apr 2020, 17:53
- Forum: Ask for Help (v1)
- Topic: Time and Loops
- Replies: 3
- Views: 508
Re: Time and Loops
You can use A_TickCount StartingTime:=A_TickCount and While(A_TickCount<StartingTime+45000) Thank you theres so much there its hard to absorb all of it and make sure I don't reinvent all the wheels and good point because I placed the inequality symbol in the wrong direction so that works for the fi...
- 10 Apr 2020, 14:48
- Forum: Ask for Help (v1)
- Topic: Time and Loops
- Replies: 3
- Views: 508
Time and Loops
Appologies for the multiple questions but they are all related in nature and small questions in of themselves... First of all, in using the built in variable A_Now , is the number considered a regular decimal number for expressions, such that it causes errors in expression calculations to use it as ...
- 31 Mar 2020, 23:02
- Forum: Ask for Help (v1)
- Topic: Menu Window with Image Handles
- Replies: 2
- Views: 383
Re: Menu Window with Image Handles
Is this all of your code? If yes,then you are missing the menu show command and an activator for the menu function(which is not really needed) The way you put it, it is better, but In the context I'm applying the function makes sense. However, it does not show by simply adding in: Menu, F, Show and...
- 31 Mar 2020, 17:02
- Forum: Ask for Help (v1)
- Topic: Menu Window with Image Handles
- Replies: 2
- Views: 383
Menu Window with Image Handles
Not sure what wrong?
Code: Select all
Menu(){
Loop, Files, C:\path\*.png, F
{
Menu, F:, Add, %A_Index%,Tip
Menu, F:, Icon, %A_Index%, %A_LoopFileFullPath%
}
Return
}
Tip(ITEM,POS,MENU){
MsgBox, Here
Return
}
- 27 Feb 2020, 05:38
- Forum: Ask for Help (v1)
- Topic: Array syntax: a[1] := "WTF" MsgBox , a[1]
- Replies: 5
- Views: 1119
Re: Array syntax: a[1] := "WTF" MsgBox % a[1]
In OP's code he did not define a object a as shown, this may be done in directly throughn definition:
It can also be returned as the product of a function:
Code: Select all
a:=[]
a:={}
a:=()
Code: Select all
a:=StrSplit("WTF FTW"," ")
- 26 Feb 2020, 11:46
- Forum: Ask for Help (v1)
- Topic: Is there a way to Encrypt, hide, Obfuscator the source code so they don't steal it?
- Replies: 6
- Views: 7321
Re: Is there a way to Encrypt, hide, Obfuscator the source code so they don't steal it?
After using a well known widely available resource tool on my own compiled script I saw my source clear as day in the .exe file. It could always be unwoven, but if you use a script to tangle up the source with randomly placed comments of random length and content, in every and all possible places, t...
- 26 Feb 2020, 11:36
- Forum: Ask for Help (v1)
- Topic: Using GDIP with 3+ short tile layers to compile a long parallax landscape
- Replies: 2
- Views: 584
Using GDIP with 3+ short tile layers to compile a long parallax landscape
I'd like to see some ideas for direction to automate a parallax landscape image creation tool, using basic source layers. The script will source 3 or more simple tile layers that share dimensions, and compile them into layered repeating sequences for a product paralax landscape with supporting dimen...
- 24 Nov 2019, 07:43
- Forum: Ask for Help (v1)
- Topic: How to call a dynamic function with (or without) a dynamic parameter set
- Replies: 4
- Views: 1376
Re: How to call a dynamic function with (or without) a dynamic parameter set
Thanks I didn't know you could key from the label variable like pair[n]. I'm happy!
- 24 Nov 2019, 06:05
- Forum: Ask for Help (v1)
- Topic: How to call a dynamic function with (or without) a dynamic parameter set
- Replies: 4
- Views: 1376
How to call a dynamic function with (or without) a dynamic parameter set
Bare with my subject tag since I'm not the best with the descriptive language. Basically I want to dynamically call functions that may or may not have a various number of parameters. Im getting the feeling that what I'm attempted here is not possible, but I was hoping it would be and seem to find it...
- 06 Sep 2018, 10:01
- Forum: Off-topic Discussion
- Topic: Android Applications
- Replies: 30
- Views: 16936
Android Applications
I know that AHK is only designed for windows so this would probably be an entire change to everything in the "backbone" / "guts" of the language framework but I think it would be really cool if the AHK compiler script could also compile basic android apps, in the same manner you can make basic execu...