| Author |
Message |
Forum: Support Topic: Call Function Instead of Label from Gui |
| justjim |
|
Posted: December 12th, 2010, 2:50 am
|
|
Replies: 5 Views: 390
|
| What functions do you think should be called from Gui statements? All/any functions - built-in and user-defined. I'm a little confused do you want a "f" label that works like the "g" labet but call a function instead of a label. Or do you want the output if a function in you gui... |
|
 |
Forum: Support Topic: Call Function Instead of Label from Gui |
| justjim |
|
Posted: December 11th, 2010, 4:41 pm
|
|
Replies: 5 Views: 390
|
| This must have been discussed more than once, but I can't find it. It seems like ahk programs could be better organized, and use fewer global variables if functions could be called directly from Gui statements. Am I right in thinking this is not possible? Could it be done? Is it a reasonable idea? H... |
|
 |
Forum: Support Topic: Moving an important file |
| justjim |
|
Posted: September 21st, 2010, 6:13 pm
|
|
Replies: 2 Views: 308
|
| Thanks for the information, I'll have a look. I got side-tracked and haven't got back to it yet. |
|
 |
Forum: Scripts Topic: [module] UTest v0.3 |
| justjim |
|
Posted: September 21st, 2010, 5:09 pm
|
|
Replies: 26 Views: 5798
|
majkinetor wrote: Fixed thx to Lexikos.
The problem was outdated version of LowLevel.ahk.
Thank you for the fix, it works great now. I enjoy reading your code, btw - right to the point, no more, no less. |
|
 |
Forum: Scripts Topic: AutoHotkey_L: Arrays, Debugger, x64, COM, #If expression ... |
| justjim |
|
Posted: September 21st, 2010, 4:54 pm
|
|
Replies: 1035 Views: 183480
|
| The Help says this about variable names: ... But I'm pretty sure this isn't correct, is it? That information hasn't been updated since TheGood kindly merged my documentation into the AutoHotkey documentation. Thanks for pointing it out; I'll update it later today. One of the reasons I asked is it m... |
|
 |
Forum: Scripts Topic: Ahkroid, classic game |
| justjim |
|
Posted: September 21st, 2010, 3:00 pm
|
|
Replies: 17 Views: 2201
|
Stellar!  |
|
 |
Forum: Scripts Topic: [module] UTest v0.3 |
| justjim |
|
Posted: September 21st, 2010, 9:01 am
|
|
Replies: 26 Views: 5798
|
| Hi majkinetor, I'm getting a blank window when I tried using this. No results for the tests I made, nor for the included _Test.ahk example, nor the test included in your Parse.ahk library. Blank meaning no test results, even though the form headers are shown. Shouldn't I get either an OK or a Fail? ... |
|
 |
Forum: Offtopic Topic: Visual Basic Form to AHK Gui |
| justjim |
|
Posted: September 20th, 2010, 7:19 pm
|
|
Replies: 7 Views: 1210
|
| I added a little Form to make it easier to try this out, as well as uploading the files to autohotkey.net. ⋅ Download the .zip AHKGui.zip file, and extract. It contains 3 files: ⋅ AHKGui.vb ⋅ AhkGuiMainForm.vb ⋅ AhkGuiMainForm.Designer.vb ⋅ Star... |
|
 |
Forum: Offtopic Topic: Visual Basic Form to AHK Gui |
| justjim |
|
Posted: September 20th, 2010, 2:14 pm
|
|
Replies: 7 Views: 1210
|
| Code updated in the previous post. Here's a screen-shot of the demo form in the VB editor: http://lh6.ggpht.com/_ogonR-k5OoM/TJddr26j7iI/AAAAAAAAQek/vnGqXDvOytw/s800/1163.jpg And here's the AHK code that was made from it. ; Created by VB Gui Creator Gui, Add, Slider, x234 y256 w193 h50 Range-5-5, 0 ... |
|
 |
Forum: Offtopic Topic: Visual Basic Form to AHK Gui |
| justjim |
|
Posted: September 19th, 2010, 4:56 pm
|
|
Replies: 7 Views: 1210
|
| This VB code module contains functions to export a VB Form to a .ahk Gui file. To use: ⋅ Save this Visual Basic code as AHKGui.vb (or whatever.) ⋅ Start a project in VB (I use Express), add this as a module. ⋅ Create a New Form (name defaults to Form1), and populate ... |
|
 |
Forum: Offtopic Topic: Visual Basic Form to AHK Gui |
| justjim |
|
Posted: September 19th, 2010, 4:11 am
|
|
Replies: 7 Views: 1210
|
Sorry, I guess I'm still not being clear - this is not a Gui editor; just a translator, or exporter.
You design a form in the VB form designer, add this function module to the project, and execute the function. The function iterates the form and exports a .ahk file. |
|
 |
Forum: Support Topic: Moving an important file |
| justjim |
|
Posted: September 15th, 2010, 4:38 pm
|
|
Replies: 2 Views: 308
|
| I'm making a launcher for a specific app, and in order to provide some options, I need to rename the app's license file on launch, and reset it just after launch (using WinWaitActive, ahk_pid %pid%). The first thing I do is copy the file to a .bak file. After that, do I need to be more careful than ... |
|
 |
Forum: Support Topic: GroupAdd expression |
| justjim |
|
Posted: September 14th, 2010, 10:45 pm
|
|
Replies: 3 Views: 193
|
A moment! |
|
 |
Forum: Support Topic: GroupAdd expression |
| justjim |
|
Posted: September 14th, 2010, 10:37 pm
|
|
Replies: 3 Views: 193
|
Stumbled on a possible solution..
Code: GroupAdd, MyGroup, % "ahk_id " MainWindowId() |
|
 |
Forum: Support Topic: GroupAdd expression |
| justjim |
|
Posted: September 14th, 2010, 10:35 pm
|
|
Replies: 3 Views: 193
|
Is there a way to avoid using the id variable in this snippet?
Code: id := MainWindowId() GroupAdd, MyGroup, ahk_id %id%
|
|
 |
| Sort by: |