Search found 1286 matches

by Capn Odin
02 Feb 2018, 09:18
Forum: Ask For Help
Topic: Store multiple values then invoke them 1by1
Replies: 5
Views: 98

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, ...
by Capn Odin
01 Feb 2018, 12:15
Forum: Ask For Help
Topic: Store multiple values then invoke them 1by1
Replies: 5
Views: 98

Re: Store multiple values then invoke them 1by1

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

Code: [Select all]GeSHi © Codebox Plus

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

Code: [Select all]GeSHi © Codebox Plus

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

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
Topic: Check VARs from template files (READLINE txt >>> EVAL etc)
Replies: 2
Views: 57

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
Topic: traditional for loop: for i = a to b (step c) possibilities
Replies: 8
Views: 194

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() { retu...
by Capn Odin
28 Jan 2018, 17:56
Forum: Ask For Help
Topic: Key input not working as expected in ActiveX IE Topic is solved
Replies: 3
Views: 77

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)...
by Capn Odin
28 Jan 2018, 16:26
Forum: Ask For Help
Topic: Key input not working as expected in ActiveX IE Topic is solved
Replies: 3
Views: 77

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

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
Topic: Reading keyboard inputs and inverting them
Replies: 2
Views: 68

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::Rever...
by Capn Odin
19 Dec 2017, 10:36
Forum: Forum Issues
Topic: Lost User Data
Replies: 4
Views: 213

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

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
Topic: FF.ahk not working for me
Replies: 4
Views: 117

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
Topic: Can't find script
Replies: 24
Views: 473

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.
by Capn Odin
12 Dec 2017, 11:34
Forum: Ask For Help
Topic: Press Alt Command and then digits Y01 and next Y14
Replies: 2
Views: 88

Re: Press Alt Command and then digits Y01 and next Y14

As far as I know send, {y14} is not a valid key. If you mean the sequence of key presses y followed by 1 followed by 4 the you need to remove the {}.

And this is not the right place to ask for help, we have a dedicated sub-forum for this.
by Capn Odin
11 Dec 2017, 08:21
Forum: Ask For Help
Topic: Can't find script
Replies: 24
Views: 473

Re: Can't find script

I am sorry, but I can't understand how you are able to run a script, that you don't know the location of, on a new computer when it doesn't run at startup.

How do you run it is it a shortcut or an executable on the desktop ?
by Capn Odin
10 Dec 2017, 20:11
Forum: Ask For Help
Topic: Can't find script
Replies: 24
Views: 473

Re: Can't find script

Try opening the task manager, then choose startup and right click your script and click "Open file location".

Edit: are you talking about a "compiled" script ?
are you ruining a .exe to start your hotstrings ?
by Capn Odin
10 Dec 2017, 18:55
Forum: Ask For Help
Topic: Can't find script
Replies: 24
Views: 473

Re: Can't find script

if it has a tray icon you can right click it and choose "Edit This Script" then "Save As".
Edit: But I don't know how the script would start on its own on a new computer.
by Capn Odin
09 Dec 2017, 12:08
Forum: Offtopic
Topic: AHKathon! [AHK Hackathon] 12/17
Replies: 80
Views: 5899

Re: AHKathon! [AHK Hackathon] 12/17

I pronounce the AHK as the individual characters in danish and the rest as athon. The name of the char H in english feel unnatural to me, so I guess I unconsciously avoid it.
by Capn Odin
08 Dec 2017, 18:56
Forum: Offtopic
Topic: AHKathon! [AHK Hackathon] 12/17
Replies: 80
Views: 5899

Re: AHKathon! [AHK Hackathon] 12/17

For my entry, I took the liberty to deviate quite a bit from the task. Instead of auto-click, for which I have not felt a need so far, I wrote CheeseCrumbs, a recorder that looks around the place where you click, records the bitmap, and creates code to insert that into any script you're writing. By...

Go to advanced search