Search found 11 matches

by logithack1337
07 Feb 2018, 09:48
Forum: Forum Issues
Topic: Issues logging on to the forums
Replies: 2
Views: 1787

Re: Issues logging on to the forums

Update: It seems to be working now. I'll keep you posted in case I encounter problems again.
by logithack1337
07 Feb 2018, 09:47
Forum: Ask for Help (v1)
Topic: Getting portable AHK to run
Replies: 3
Views: 5975

Re: Getting portable AHK to run

Thanks for your reply, DP. I got a little confused when I saw the Install.ahk and probably felt the urge to run it, forgetting that it's not necessary. Thanks mate!
by logithack1337
07 Feb 2018, 07:28
Forum: Ask for Help (v1)
Topic: Getting portable AHK to run
Replies: 3
Views: 5975

Getting portable AHK to run

Hey guys, I'd like to "install" portable AHK on my PC at work. The reason is that I've got no administrative rights on this machine. I've done this before but now I can't seem to get it to work. So far, I've downloaded AutoHotkey_1.1.26.01.zip and extracted it to C:\Users\<username>\Programs\AutoHot...
by logithack1337
07 Feb 2018, 07:17
Forum: Forum Issues
Topic: Issues logging on to the forums
Replies: 2
Views: 1787

Issues logging on to the forums

Hey everyone, I've just had issues logging on to the forums. Whilst browsing the index page, I saw that you're currently having problems regarding the registration on the forums, so perhaps my problem and those mentioned here are related. When I clicked the "Log in" button on the index page, it woul...
by logithack1337
25 Sep 2017, 06:15
Forum: Ask for Help (v1)
Topic: Class methods don't raise an error when parameter missing
Replies: 2
Views: 734

Class methods don't raise an error when parameter missing

Hey everyone, I'm not sure if this is actually a bug, but I've just encountered some strange behaviour when calling a class method without passing a parameter to it. I've discussed this with sj1k (Sjc1000) and a few other guys on #ahk and they hadn't experienced that problem before either. Consider ...
by logithack1337
01 Mar 2017, 07:31
Forum: Ask for Help (v1)
Topic: Right-align text labels in dynamic GUI
Replies: 7
Views: 2693

Re: Right-align text labels in dynamic GUI

Thank you very much! That helped me a lot. You don't wanna know how I used to manage my GUI layout before you told me about relatively aligning GUI controls. :D One more question, which I think fits in this thread. Please consider the following code: Gui, 1: New Gui, 1: Margin, 10, 10 Gui, 1: Add, T...
by logithack1337
24 Feb 2017, 10:00
Forum: Ask for Help (v1)
Topic: Right-align text labels in dynamic GUI
Replies: 7
Views: 2693

Re: Right-align text labels in dynamic GUI

Thank you very much! That made a lot of things clearer to me and gave me some nice tools to work with in the future. One more thing: what would be the most feasible way of addressing the edit fields with variables? Say my three items were "Name:", "Surname:" and "Age:", how would you loop through th...
by logithack1337
24 Feb 2017, 08:54
Forum: Ask for Help (v1)
Topic: Right-align text labels in dynamic GUI
Replies: 7
Views: 2693

Re: Right-align text labels in dynamic GUI

I would do it this way: global labels := ["sometext:", "somelongertext:", "anothertext:"] loop % labels.Length() TxtW := (TxtW < StrLen(labels[A_Index])) ? StrLen(labels[A_Index]) : TxtW TxtW *= 7 Gui, Margin, 10, 10 loop % labels.Length() { if (A_Index = 1) Gui, Add, Text, xm ym w%TxtW% h20 0x202 ...
by logithack1337
24 Feb 2017, 08:23
Forum: Ask for Help (v1)
Topic: Right-align text labels in dynamic GUI
Replies: 7
Views: 2693

Right-align text labels in dynamic GUI

Hey everyone, I'm trying to create a dynamic GUI according to some values I've saved to an array. I'd like to loop through the array and create a combination of text label and edit field for every item. The code below should create three text labels with three edit fields right next to them. However...
by logithack1337
13 Jan 2016, 09:34
Forum: Ask for Help (v1)
Topic: Save python script output to variable
Replies: 1
Views: 1368

Save python script output to variable

Hello everyone, I've got a Python script, which returns a string. I'd like to create an AHK script which runs this script and stores the string it returns in a variable for further processing in AHK. I've looked into SKAN's StdOutToVariable and StdOutStream; however, when I tried StdOutToVariable wi...
by logithack1337
18 Dec 2015, 03:20
Forum: Ask for Help (v1)
Topic: GUI sometimes starts minimised
Replies: 0
Views: 792

GUI sometimes starts minimised

Hello everyone, First of all, I would like to describe the problem I'm actually getting: My script checks whether information neccessary to run the script has been provided. If not, the user will be notified and a GUI will be displayed. In this GUI they can enter the information required. The proble...

Go to advanced search