Search found 18 matches

by Ursi
05 Nov 2018, 13:28
Forum: Ask For Help
Topic: AHK2: Send[Mode]Play and Click
Replies: 3
Views: 134

Re: AHK2: Send[Mode]Play and Click

What is the default behaviour? afaik I never did anything regarding UAC.
by Ursi
05 Nov 2018, 13:26
Forum: Ask For Help
Topic: AHK2: #p::Pause Topic is solved
Replies: 2
Views: 119

Re: AHK2: #p::Pause Topic is solved

Helgef wrote:
05 Nov 2018, 13:20
See :arrow: this.

Cheers.
I was just coming back here to say I saw that and didn't need help anymore haha.
by Ursi
05 Nov 2018, 13:22
Forum: AutoHotkey v2 Development
Topic: AHK V2 Bug: Pause toggle not working Topic is solved
Replies: 4
Views: 617

Re: AHK V2 Bug: Pause toggle not working Topic is solved

I was just having this problem and just posted in the help section about it before I saw this. The documentation is pretty misleading and should probably be changed.
by Ursi
05 Nov 2018, 13:20
Forum: Ask For Help
Topic: AHK2: Send[Mode]Play and Click
Replies: 3
Views: 134

AHK2: Send[Mode]Play and Click

Both sendPlay '{click x, y}' and click x, y (when sendMode is play) don't work for me. I haven't see anything in the documentation suggesting this is a thing so I'm wondering what's up.
by Ursi
05 Nov 2018, 13:16
Forum: Ask For Help
Topic: AHK2: #p::Pause Topic is solved
Replies: 2
Views: 119

AHK2: #p::Pause Topic is solved

Documentation says #p::Pause ; Pressing Win+P once will pause the script. Pressing it again will unpause. But when I do this, #p only pauses the script, it will not unpause it.
by Ursi
03 Nov 2018, 17:00
Forum: AutoHotkey v2 Development
Topic: Bug: StrSplit Topic is solved
Replies: 3
Views: 469

Re: Bug: StrSplit Topic is solved

You can also use the Float and Integer functions to convert strings to numbers.
by Ursi
21 Oct 2018, 22:49
Forum: Ask For Help
Topic: Anyone had success with compiling scripts in v2?
Replies: 10
Views: 387

Re: Anyone had success with compiling scripts in v2?

But are you saying that the beginning ( /* ) and ending ( */ ) block comment symbols work in source code and do not work when compiled with Ahk2Exe.exe using a V2 .bin file? Thas is precisely what I'm saying. Looking at the source code , I'm pretty sure I've made a version that works with v2 block ...
by Ursi
21 Oct 2018, 20:17
Forum: Ask For Help
Topic: Anyone had success with compiling scripts in v2?
Replies: 10
Views: 387

Re: Anyone had success with compiling scripts in v2?

Turns out Ahk2Exe doesn't support v2 block comments. Block comments work fine in V2, when running from both source code and compiled code, but only if the /* and */ symbols appear at the beginning of a line (same as in V1). Regards, Joe That's why I meant when I said they don't support v2 block com...
by Ursi
21 Oct 2018, 11:43
Forum: Ask For Help
Topic: Anyone had success with compiling scripts in v2?
Replies: 10
Views: 387

Re: Anyone had success with compiling scripts in v2?

Turns out Ahk2Exe doesn't support v2 block comments.
by Ursi
21 Oct 2018, 01:41
Forum: Ask For Help
Topic: Anyone had success with compiling scripts in v2?
Replies: 10
Views: 387

Anyone had success with compiling scripts in v2?

The website says you can use Ahk2Exe.exe to compile AHK2 scripts, but when I try, I get errors for using v2 syntax. I'm using v2 base files so I'm not sure what's going on.
by Ursi
20 Oct 2018, 22:28
Forum: AutoHotkey v2 Development
Topic: Bug: GuiCtrl.Pos[xyhw]
Replies: 13
Views: 1043

Re: Bug: GuiCtrl.Pos[xyhw]

Best work-around for now is probably to use GuiCtrl.pos.clone()[xywh].
by Ursi
20 Oct 2018, 16:57
Forum: AutoHotkey v2 Development
Topic: Bug: GuiCtrl.Pos[xyhw]
Replies: 13
Views: 1043

Bug: GuiCtrl.Pos[xyhw]

You can only access the values in GuiCtrl.Pos with a ., as in GuiCtrl.Pos.x. GuiCtrl.Pos['x'] gives an error.
by Ursi
18 Oct 2018, 17:43
Forum: AutoHotkey v2 Development
Topic: Bug: SetDefaultMouseSpeed and Send '{Click X Y}'
Replies: 1
Views: 332

Bug: SetDefaultMouseSpeed and Send '{Click X Y}'

From the docs: "SetDefaultMouseSpeed is ignored for SendInput/Play modes; they move the mouse instantaneously" However, send[Input] '{click x y}' does not move the mouse instantaneously unless setDefaultMouseSpeed 0 has been used first. This also applies to click and probably everything else that's ...
by Ursi
16 Oct 2018, 23:35
Forum: AutoHotkey v2 Development
Topic: For Loops in Assume-Global Functions
Replies: 2
Views: 341

Re: For Loops in Assume-Global Functions

Perhaps I'm mistaken and they do perform the same... I thought I tested it and saw that k and v didn't show up on the global variables list when a for loop is used in the main script body, but it looks like I was wrong...
by Ursi
16 Oct 2018, 21:41
Forum: AutoHotkey v2 Development
Topic: For Loops in Assume-Global Functions
Replies: 2
Views: 341

For Loops in Assume-Global Functions

In "for k, v in obj", v2 is supposed to localize k and v, which personally I think is the way to go. I was actually really surprised when I found out v1.1 didn't do this. However, "for" loops in an assume-global function still make k and v global variables. Is this the intended effect? If so, I vote...
by Ursi
16 Oct 2018, 17:24
Forum: AutoHotkey v2 Development
Topic: Suggestion: Binary Integers
Replies: 4
Views: 395

Re: Suggestion: Binary Integers

I do not use it often, but recently something got me looking for it, only to realize it wasn't there (I don't remember what that thing was). But octal is a format type, is octal used more than binary?
by Ursi
16 Oct 2018, 14:18
Forum: AutoHotkey v2 Development
Topic: Suggestion: Binary Integers
Replies: 4
Views: 395

Suggestion: Binary Integers

I was kinda surprised when I realized there was no support for binary integers—not even in format. I think a 0b prefix, or at least a b format type, would be great.

Go to advanced search