Search found 78 matches

by 1100++
06 Feb 2019, 15:21
Forum: Ask For Help
Topic: Monitor Power Scheme Changes
Replies: 6
Views: 1164

Re: Monitor Power Scheme Changes

I don't think what I want is listed.
by 1100++
06 Feb 2019, 01:19
Forum: Ask For Help
Topic: Monitor Power Scheme Changes
Replies: 6
Views: 1164

Re: Monitor Power Scheme Changes

I tried your solution, but, unfortunately, it only seems to monitor changes between different power scheme personalities. The solution I need requires that I be able to distinguish between power schemes that share a personality, so yours won't work.
by 1100++
28 Jan 2019, 20:43
Forum: Wish List
Topic: Allow AutoHotkey to Handle Binary Data
Replies: 48
Views: 10475

Allow AutoHotkey to Handle Binary Data

Currently, in AutoHotkey, when binary data containing a null character is copied by the assignment (:=) operator, passed to a function as a parameter, or returned from a function, any data after the null is lost. Similarly, if binary data containing a null is evaluated by one of =/==/</>/<>, any dat...
by 1100++
22 Jan 2019, 15:34
Forum: Ask For Help
Topic: Monitor Power Scheme Changes
Replies: 6
Views: 1164

Monitor Power Scheme Changes

Is there any way for a script to be notified when the power scheme changes?
by 1100++
22 Jan 2019, 13:57
Forum: Ask For Help
Topic: Monitor Tray Icon Right-Click without Blocking other Events Topic is solved
Replies: 2
Views: 515

Monitor Tray Icon Right-Click without Blocking other Events Topic is solved

I have a script that monitors 0x404 messages to detect when the script's tray icon is right-clicked, but I noticed that when I do this, the script's normal responses to tray icon events are disabled. Is there any way to restore the default tray functionality of the script while still monitoring righ...
by 1100++
23 Sep 2018, 20:29
Forum: Ask For Help
Topic: Named Loops
Replies: 5
Views: 957

Re: Named Loops

The documentation says they exist here: https://autohotkey.com/docs/misc/Labels.htm#named-loops
by 1100++
23 Sep 2018, 19:03
Forum: Ask For Help
Topic: Named Loops
Replies: 5
Views: 957

Named Loops

How do you make a named loop?
by 1100++
23 Sep 2018, 15:25
Forum: Ask For Help
Topic: Use Continue in Repeated Code
Replies: 2
Views: 445

Use Continue in Repeated Code

I have a snippet of code that appears in several places inside a loop I'm writing, and this snippet uses Continue to terminate the current loop iteration and start a new one. I tried writing the snippet as a function, but the script gave a warning saying that Continue had to be used inside a loop. I...
by 1100++
01 Sep 2018, 15:18
Forum: Ask For Help
Topic: Call Property Method on Setting Subkey
Replies: 2
Views: 429

Call Property Method on Setting Subkey

In a class named "obj", how would I call a property get/set method for obj.key.subkey?
by 1100++
01 Sep 2018, 13:36
Forum: Ask For Help
Topic: New Objects Issue
Replies: 13
Views: 1424

Re: New Objects Issue

I just did a little more testing, and it seems that you can't change a "new" instance of an object without doing the same things to the object it came from. Doesn't that kind of defeat the purpose of a "new" keyword?
by 1100++
01 Sep 2018, 13:12
Forum: Ask For Help
Topic: New Objects Issue
Replies: 13
Views: 1424

Re: New Objects Issue

I have an object that represents an initial state for a simulation I want to run multiple instances of. In order to do this, I need to be able to copy the object for each instance.
by 1100++
01 Sep 2018, 12:05
Forum: Ask For Help
Topic: New Objects Issue
Replies: 13
Views: 1424

Re: New Objects Issue

Here's my code: obj := {a: 2, b: 3, c: 5} newobj := new obj For key, value in obj String .= key ": " value "`n" For key, value in newobj NewString .= key ": " value "`n" MsgBox % "Obj`n----`n" String "`nNewObj`n---------`n" SubStr(NewString, 1, -1) This is the output: --------------------------- Cod...
by 1100++
01 Sep 2018, 09:08
Forum: Ask For Help
Topic: New Objects Issue
Replies: 13
Views: 1424

New Objects Issue

I just noticed that objects created with the "new" keyword don't work with For-loops (they do nothing). Should this be happening? I don't see anything in the documentation for the For-loop saying that this should be happening.
by 1100++
31 Aug 2018, 16:44
Forum: Wish List
Topic: Objects as Function Parameter Defaults
Replies: 11
Views: 2755

Objects as Function Parameter Defaults

Can AutoHotkey support objects as default values for optional function arguments?
by 1100++
11 Jul 2018, 15:11
Forum: Ask For Help
Topic: Quotient / Mod Function
Replies: 2
Views: 537

Quotient / Mod Function

I remember there being a Windows API function that computes the quotient and remainder of the division of two integers. Does such a function exist, and, if so, can someone tell me what it is?
by 1100++
09 Jul 2018, 15:03
Forum: Ask For Help
Topic: Floor Division
Replies: 3
Views: 802

Re: Floor Division

That seems inconsistent.
by 1100++
09 Jul 2018, 12:00
Forum: Ask For Help
Topic: Floor Division
Replies: 3
Views: 802

Floor Division

Try this:

Code: Select all

MsgBox % "-3//2 = " -3//2 "`n-3.0//2 = " -3.0//2

Go to advanced search