Search found 1352 matches

by Capn Odin
11 Sep 2019, 00:51
Forum: Ask for Help (v1)
Topic: PLEASE HELP! Spawn new process/gui from same button
Replies: 13
Views: 2289

Re: PLEASE HELP! Spawn new process/gui from same button

You can use

Code: Select all

Gui, New
and reference the gui using the hwnd.
by Capn Odin
15 Feb 2019, 17:06
Forum: Ask for Help (v1)
Topic: ESC don work as normal
Replies: 2
Views: 782

Re: ESC don work as normal

You can either make the hotkey context sensitive using

Code: Select all

#IfWinActive the title of your window
    Esc::GUI, hide
#IfWinActive
or you can use the gui event label

Code: Select all

GuiEscape:
    GUI, hide
return
by Capn Odin
05 Sep 2018, 02:00
Forum: Gaming Help (v1)
Topic: Trying to look for a autoclicker
Replies: 1
Views: 738

Re: Trying to look for a autoclicker

You should try searching as there are a decent amount of them around, or you could try making it yourself and ask for help when you get stuck, anyway this is a subforum where you publish your scripts not the place to ask for a handout.
by Capn Odin
04 Sep 2018, 17:32
Forum: Scripts and Functions (v1)
Topic: RemoteInvocation - call functions and set variables between scripts
Replies: 0
Views: 911

RemoteInvocation - call functions and set variables between scripts

Introduction [hr][/hr] I believe this already exists as I thought I would try making it after hearing of a similar library. The script can call functions and set global variable in other scripts that also includes RemoteInvocation . Limitations : only strings are supported as arguments. Additionall...
by Capn Odin
11 Apr 2018, 09:53
Forum: Off-topic Discussion
Topic: Test
Replies: 1
Views: 1203

Test

Test Text
by Capn Odin
24 Feb 2018, 20:41
Forum: Forum Issues
Topic: Online Help is not working for me
Replies: 6
Views: 2994

Re: Online Help is not working for me

People on the discord server are saying that they have solved it by clearing the storage for the page. (Removing cookies, etc...) Edit: Tank I don't know if this is relevant but we have had 3 people today having this issue, on discord, So I would assume that it must be a fairly common thing. (I have...
by Capn Odin
02 Feb 2018, 09:18
Forum: Ask for Help (v1)
Topic: Store multiple values then invoke them 1by1
Replies: 5
Views: 1608

Re: Store multiple values then invoke them 1by1

I have extended the GUI to satisfy your requirements, but you will still need to implement the function GenerateWorkBook(Workbook, M1, NTOW, IS) . Entries := [] Gui, 1:New, +Resize +HwndGuiHwnd, GUI Example Gui, Margin, 0, 0 Gui, Add, Text, x5, M1: Gui, Add, Edit, xs vM1 Gui, Add, Text, xs, NTOW: Gu...
by Capn Odin
01 Feb 2018, 12:15
Forum: Ask for Help (v1)
Topic: Store multiple values then invoke them 1by1
Replies: 5
Views: 1608

Re: Store multiple values then invoke them 1by1

You can put them in an array like I did in my example

Code: Select all

Entries.Push([var1, var2, var3])
and loop through them

Code: Select all

for i, v in Entries {
	GenerateWorkBook(v[1], v[2],  v[3])
}
by Capn Odin
01 Feb 2018, 05:20
Forum: Ask for Help (v1)
Topic: Store multiple values then invoke them 1by1
Replies: 5
Views: 1608

Re: Store multiple values then invoke them 1by1

Entries := [] Gui, 1:New, +Resize, Example Gui, Margin, 0, 0 Gui, Add, Edit, vED Gui, Add, Button, ys gAdd, Add text Gui, Add, Edit, xs vText ReadOnly Multi Gui, Add, Button, xs gWorkbooks, Make workbooks Gui, Show, AutoSize GuiControlGet, BPos, Pos, Button1 return GuiClose: ExitApp return GuiSize:...
by Capn Odin
01 Feb 2018, 04:35
Forum: Ask for Help (v1)
Topic: Check VARs from template files (READLINE txt >>> EVAL etc)
Replies: 2
Views: 870

Re: Check VARs from template files (READLINE txt >>> EVAL etc)

I think the reason you have not been helped is that it is unclear what your goal is.
For instance why would you rather have the code in a template instead of in a script ?
And to me this looks like a situation where I would use a loop to get all games and then do some calculations on them.
by Capn Odin
31 Jan 2018, 02:42
Forum: Ask for Help (v1)
Topic: traditional for loop: for i = a to b (step c) possibilities
Replies: 19
Views: 13167

Re: traditional for loop: for i = a to b (step c) possibilities

I have never felt the need for something like this but I think that I would approach it like this for i in new ForLoop(0, 10, 2) { res .= i " " } MsgBox, % res Class ForLoop { __New(i, endCondition, step) { this.i := i this.endCondition := endCondition this.step := step } _NewEnum() { return this } ...
by Capn Odin
28 Jan 2018, 17:56
Forum: Ask for Help (v1)
Topic: Key input not working as expected in ActiveX IE Topic is solved
Replies: 3
Views: 1531

Re: Key input not working as expected in ActiveX IE Topic is solved

Thank you it is working now Gui, 1:New, +Resize, ActiveX Example Gui, Margin, 0, 0 Gui, Add, ActiveX, vIE w500 h500, Shell.Explorer FuncObj := Func("gui_KeyDown").Bind(IE) OnMessage(0x100, FuncObj, 2) IE.Navigate(A_ScriptDir "\page.html") While(IE.ReadyState != 4 || this.IE.Busy) { Sleep, 20 } Gui, ...
by Capn Odin
28 Jan 2018, 16:26
Forum: Ask for Help (v1)
Topic: Key input not working as expected in ActiveX IE Topic is solved
Replies: 3
Views: 1531

Key input not working as expected in ActiveX IE Topic is solved

I am making a gui for an ahk application using IE to display a html document through an ActiveX control. My problem is that when I display the page in my gui Tab does not navigate the page and both Ctrl+C and Ctrl+V does not work in the input fields, I can still use the context menu to copy paste, I...
by Capn Odin
25 Jan 2018, 20:37
Forum: Other Utilities & Resources
Topic: Random.org - Get random number(s) using atmospheric noise [CMD]
Replies: 2
Views: 2072

Re: Random.org - Get random number(s) using atmospheric noise [CMD]

I don't know how random it is, but calling it truly random is a bit much.
by Capn Odin
07 Jan 2018, 13:19
Forum: Ask for Help (v1)
Topic: Reading keyboard inputs and inverting them
Replies: 2
Views: 748

Re: Reading keyboard inputs and inverting them

This should get you started, you only need to make the logic for the multiple recording sessions. opposite := {"Down" : "Up", "Up" : "Down", "Right" : "Left", "Left" : "Right"} F1::keys := Record() p::Play(keys) r::Reverse(keys) Play(keys) { for i, key in keys { Send, % "{" key "}" Sleep, 200 } } Re...
by Capn Odin
19 Dec 2017, 10:36
Forum: Forum Issues
Topic: Lost User Data
Replies: 4
Views: 1903

Re: Lost User Data

I had one of these that disappeared Image, at the same time as all threads was marked as read.

I am fairly sure that I did not click this notification and mark all threads as read, in a drunken stupor, or while unconscious.
by Capn Odin
18 Dec 2017, 18:34
Forum: Forum Issues
Topic: Lost User Data
Replies: 4
Views: 1903

Lost User Data

It seems that the user date have been purged, as all topics appear as read and my notification icon disappeared, for a notification I have not read yet. Is this because of the planned downtime ?
by Capn Odin
15 Dec 2017, 11:24
Forum: Ask for Help (v1)
Topic: FF.ahk not working for me
Replies: 4
Views: 1149

Re: FF.ahk not working for me

You can use selenium, try this tutorial https://autohotkey.com/boards/viewtopic.php?f=7&t=32323
by Capn Odin
12 Dec 2017, 13:49
Forum: Ask for Help (v1)
Topic: Can't find script
Replies: 24
Views: 8524

Re: Can't find script

It sounds like the hotkey.exe is the script in "compiled" form, try opening it in a text editor and scroll to the bottom, you may just find it there.

Go to advanced search