Search found 260 matches
- 11 Mar 2016, 02:05
- Forum: Bug Reports
- Topic: SetTimer help on Period wrong
- Replies: 14
- Views: 3623
Re: SetTimer help on Period wrong
" Call " is a good word; you convinced me. My reasoning about precision &c. applies to "call" just the same. Let's use "call" throughout instead of "jump". " Enabled " of course doesn't mean " reset ". But the distinction is imposed by language, not by program logic. From the user's perspective, the...
- 10 Mar 2016, 18:31
- Forum: Ask for Help (v1)
- Topic: SetTimer: Get "time it was last run"
- Replies: 2
- Views: 820
Re: SetTimer: Get "time it was last run"
Thanks! The reason I was asking was that I just submitted a change to SetTimer.htm and wanted to add a note about if it existed. Maybe a link to the discussion and your workaround might be appropriate, too, but that page is a discussion page, and the links out of the help I've seen so far went to so...
- 10 Mar 2016, 17:58
- Forum: Ask for Help (v1)
- Topic: SetTimer: Get "time it was last run"
- Replies: 2
- Views: 820
SetTimer: Get "time it was last run"
SetTimer.htm#Remarks mentions the internal "time it was last run". Is there a way to retrieve that?
- 10 Mar 2016, 15:22
- Forum: Bug Reports
- Topic: SetTimer help on Period wrong
- Replies: 14
- Views: 3623
Re: SetTimer help on Period wrong
OK, I set up a new account (Micromegas2016) and I'm ready to do the change. Thinking about the wording now. Instead of "touched" I will use "enabled", since that term is already used in that sense. --- I now submitted it in the patch-1 branch. Please note that I submitted two versions, the second on...
- 10 Mar 2016, 14:26
- Forum: Ask for Help (v1)
- Topic: Winwait and winwaitactivate
- Replies: 7
- Views: 2383
Re: Winwait and winwaitactivate
Now the content of the topic finally matches its title! What a coincidence!HotKeyIt wrote:I often use ... WinWaitActivate
- 09 Mar 2016, 21:33
- Forum: Bug Reports
- Topic: SetTimer help on Period wrong
- Replies: 14
- Views: 3623
Re: SetTimer help on Period wrong
Thank you for your nice reply. I would like to contribute via GitHub, since I need more practice with that. But I can't log in – I thought I had an account with the same username there, and there is indeed one, but it recognizes neither my password nor e-mail. I'll have to continue this tomorrow. I ...
- 09 Mar 2016, 19:35
- Forum: Bug Reports
- Topic: SetTimer help on Period wrong
- Replies: 14
- Views: 3623
Re: SetTimer help on Period wrong
Thank you for the clarification. Strike "incomplete", then, and replace it with "... uses misleading terminology". Instead of "time it was last run", something like "time it was last touched", would have avoided the confusion for me. (It's OK if the term is less concrete; that prevents people from m...
- 09 Mar 2016, 17:02
- Forum: Ask for Help (v1)
- Topic: Stealing is to compliment
- Replies: 9
- Views: 2053
Re: Stealing is to compliment
See the examples at https://autohotkey.com/docs/Functions.htm.zoverlvx wrote:What does a simple function look like?
- 09 Mar 2016, 16:39
- Forum: Bug Reports
- Topic: SetTimer help on Period wrong
- Replies: 14
- Views: 3623
Re: SetTimer help on Period incomplete
Yes, I was using a negative period. Obviously it can't count from the last time the label subroutine was started if it hasn't ever been started. OK, I see the confusion. So the manual is not wrong, but incomplete, since it leaves this basic case undefined. Because that didn't occur to me, I replaced...
- 09 Mar 2016, 13:02
- Forum: Bug Reports
- Topic: SetTimer help on Period wrong
- Replies: 14
- Views: 3623
SetTimer help on Period wrong
Currently, SetTimer.htm reads: "Period: Creates or updates a timer using this parameter as the approximate number of milliseconds that must pass since the last time the Label subroutine was started." However, in the case of updating a timer, the time must pass since the timer has been updated, not s...
- 09 Mar 2016, 11:21
- Forum: Ask for Help (v1)
- Topic: windowtitle (multiple name?) Topic is solved
- Replies: 5
- Views: 1448
Re: windowtitle (multiple name?) Topic is solved
Why, yes, you can do lots of things that are described in the help page. But please keep in mind that the OP is a beginner; a simple question wants a simple answer.HotKeyIt wrote:You can also use SetTitleMatchMode, RegEx
- 09 Mar 2016, 10:44
- Forum: Ask for Help (v1)
- Topic: windowtitle (multiple name?) Topic is solved
- Replies: 5
- Views: 1448
Re: windowtitle (multiple name?) Topic is solved
Yes. The command you want to use is GroupAdd. Its description at https://autohotkey.com/docs/commands/GroupAdd.htm has the following example:
Code: Select all
SetTitleMatchMode, 2
GroupAdd, mail, Reminder
GroupAdd, mail, - Microsoft Outlook
- 08 Mar 2016, 23:52
- Forum: Ask for Help (v1)
- Topic: Winwait and winwaitactivate
- Replies: 7
- Views: 2383
Re: WinWait and WinWaitActive
Sorry, my bad; you expressed yourself clearly. Maybe it's possible to get data from an inactive form, but I don't see why that makes a big difference to you (since you're activating the window anyway, I can't see any reason other than performance, but the activation should take less than the creatio...
- 08 Mar 2016, 23:44
- Forum: Ask for Help (v1)
- Topic: Get image dimensions from JPEG or PNG file Topic is solved
- Replies: 4
- Views: 5716
Re: Get image dimensions from JPEG or PNG file Topic is solved
Great, thanks! I just tried FileGetProperties and I love it - it's something I can use for other purposes too, and it's fast enough, at roughly 20ms execution time.kon wrote:A function I wrote, FileGetProperties, would do the trick too. Although it's probably slower.
- 08 Mar 2016, 23:18
- Forum: Ask for Help (v1)
- Topic: GIF Fullscreen Background in my Gui
- Replies: 4
- Views: 2036
Re: GIF Fullscreen Background in my Gui
First I was thinking that you could have it easier: I don't see why you need to use the MSHTML tags when AHK already has a Gui, Add, Pic command, with a nice example ("Example: Simple image viewer"). But that one, too doesn't stretch out to the whole canvas: Even if you specify *x0 , there's still a...
- 08 Mar 2016, 22:41
- Forum: Ask for Help (v1)
- Topic: Get image dimensions from JPEG or PNG file Topic is solved
- Replies: 4
- Views: 5716
Get image dimensions from JPEG or PNG file Topic is solved
I'm wondering if there is any code available to retrieve the dimensions of a JPEG or PNG file. Something like this exists for other languages, e.g. VB.NET at http://www.freevbcode.com/ShowCode.asp?ID=9102. I could port that to AHK, but it has over 300 LOC, which is an effort I would like to avoid. (...
- 08 Mar 2016, 21:04
- Forum: Ask for Help (v1)
- Topic: Text
- Replies: 8
- Views: 1724
Re: Text
Not if you recall that the OP spoke of a two-digit amount of seconds. I don't know how long the OP's text is, but even with the Jabberwocky text I got about 7 seconds for SendRaw.SifJar wrote:your timing thing is kinda meaningless to be honest.
- 08 Mar 2016, 21:00
- Forum: Ask for Help (v1)
- Topic: Stealing is to compliment
- Replies: 9
- Views: 2053
Re: Stealing is to compliment
Yup, that looks like what I had in mind.
- 08 Mar 2016, 20:58
- Forum: Ask for Help (v1)
- Topic: GIF Fullscreen Background in my Gui
- Replies: 4
- Views: 2036
Re: GIF Fullscreen Background in my Gui
This is not a question for AHK, but for MSHTML. You need to tell the tag to extend to that size by adding something like width="1080" height="4970".
- 08 Mar 2016, 20:40
- Forum: Ask for Help (v1)
- Topic: Winwait and winwaitactivate
- Replies: 7
- Views: 2383
Re: Winwait and winwaitactivate
Logically, I assume you need WinWaitActivate - what good is clicking on a button when the window isn't active?