Search found 265 matches
- 31 Oct 2016, 14:14
- Forum: Other Programming Languages
- Topic: Why define variables in other languages
- Replies: 8
- Views: 8423
Re: Why define variables in other languages
In basically every other language I've seen I would have to set var1 as either some sort of text or integer or floating point or whatever have you. you must not have seen very many programming languages then :) What's the advantage/disadvantages of that? http://lmgtfy.com/?q=type+system dickwad
- 30 Oct 2016, 16:50
- Forum: Other Programming Languages
- Topic: Why define variables in other languages
- Replies: 8
- Views: 8423
Why define variables in other languages
Why is it that the bulk of other languages require you to define the type of data going into a variable instead of just letting it take whatever you put in? In AHK I can simply say var1 := "Text" or var1 := 2 . In basically every other language I've seen I would have to set var1 as either some sort ...
- 09 Oct 2016, 17:34
- Forum: Ask for Help (v1)
- Topic: FileSelectFile filter Topic is solved
- Replies: 12
- Views: 4535
Re: FileSelectFile filter Topic is solved
Sure, go to https://autohotkey.com/docs/commands/FileSelectFile.htm and look at it.
- 31 Aug 2016, 14:16
- Forum: Ask for Help (v1)
- Topic: AHK: pushing 1, send ALT-W then 1, ends in a loop
- Replies: 3
- Views: 3100
Re: AHK: pushing 1, send ALT-W then 1, ends in a loop
$1:: This is usually only necessary if the script uses the Send command to send the keys that comprise the hotkey itself, which might otherwise cause it to trigger itself. The $ prefix forces the keyboard hook to be used to implement this hotkey, which as a side-effect prevents the Send command from...
- 25 Jul 2016, 12:23
- Forum: Ask for Help (v1)
- Topic: Changing Google Voice Settings via COM
- Replies: 0
- Views: 815
Changing Google Voice Settings via COM
Anybody have any experience working with Google Voice? I want to change the forwarding between 1 of 4 different ones programatically, but I'm having a devil of a time even getting started. I've used COM to manipulate pages before, but I can't get a handle on this one. I'm assuming the page is probab...
- 01 Jun 2016, 01:34
- Forum: Ask for Help (v1)
- Topic: Searching multiple words
- Replies: 4
- Views: 2246
Re: Searching multiple words
Ok, that shouldn't be too difficult to tweak. The help documentation should have everything you need for doing that. At this point it's really just a matter of replicating the keystrokes that you would manually perform to replicate the same task. The hard part I did for you (the array, changing the ...
- 31 May 2016, 23:31
- Forum: Ask for Help (v1)
- Topic: Searching multiple words
- Replies: 4
- Views: 2246
Re: Searching multiple words
Untested, but should do the trick, or at least close to it with a little tweaking. #EscapeChar * wordsToSearch := ["been", "had", "become", "the", "went", "gendy"] `:: increment += 1 if (increment > wordsToSearch.MaxIndex()) increment := 1 searchWord := wordsToSearch[increment] send, ^f sleep 500 se...
- 30 May 2016, 22:03
- Forum: Ask for Help (v1)
- Topic: Please HELP with game script!!!
- Replies: 1
- Views: 924
Re: Please HELP with game script!!!
You can't use the same hotkey twice, either combine the actions or make it two separate hotkeys.
- 25 May 2016, 19:59
- Forum: Ask for Help (v1)
- Topic: Using InStr to find start of string that spans multiple lines
- Replies: 4
- Views: 1872
- 25 May 2016, 19:56
- Forum: Ask for Help (v1)
- Topic: Hide autohotkey processes from view?
- Replies: 10
- Views: 3664
Re: Hide autohotkey processes from view?
COM is what you need. You can do anything and everything to Excel without actually displaying Excel. It's tricky but with some experimentation you'll get it. Here's some links to get you started. https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=ahk+com+excel https://autoh...
- 24 May 2016, 23:40
- Forum: Ask for Help (v1)
- Topic: Insane RegRead Problem
- Replies: 5
- Views: 1888
Re: Insane RegRead Problem
Did you verify that the Reg path is right? I don't have a HKLM\SOFTWARE\Dropbox path in my Registry and I've got Dropbox.
- 24 May 2016, 22:52
- Forum: Ask for Help (v1)
- Topic: Hide autohotkey processes from view?
- Replies: 10
- Views: 3664
Re: Hide autohotkey processes from view?
Bingo, but be forewarned that sending input to a hidden window can be a bit unreliable. Be prepared to be frustrated.
- 24 May 2016, 22:16
- Forum: Ask for Help (v1)
- Topic: Hide autohotkey processes from view?
- Replies: 10
- Views: 3664
Re: Hide autohotkey processes from view?
Try winhide and controlsend, though in all honesty if you're working with excel your probably best of learning how to use COM. Google Mickers AHK COM Excel, you should find some helpful documentation to get started with.
- 24 May 2016, 21:09
- Forum: Ask for Help (v1)
- Topic: Hide autohotkey processes from view?
- Replies: 10
- Views: 3664
Re: Hide autohotkey processes from view?
What kind of windows? Is it generating Command Lines or activating other windows or is it making it's own GUI windows? In general, what you're asking is very very doable, but without any details the best I can tell you is that it's doable.
- 24 May 2016, 19:31
- Forum: Ask for Help (v1)
- Topic: Hide autohotkey processes from view?
- Replies: 10
- Views: 3664
Re: Hide autohotkey processes from view?
Yes and yes.
- 23 May 2016, 21:07
- Forum: Ask for Help (v1)
- Topic: Could you explain what is actually going on
- Replies: 6
- Views: 1971
Re: Could you explain what is actually going on
For SetTimer a negative value means Go once, but first wait however many milliseconds the value is . So in this case, go to the AutoLoop label in 1 millisecond and just do it once (effictevly the same as GoSub ). I'll be honest, I'm not sure why they went that route instead of just doing GoSub, Auto...
- 23 May 2016, 19:17
- Forum: Ask for Help (v1)
- Topic: Could you explain what is actually going on
- Replies: 6
- Views: 1971
Re: Could you explain what is actually going on
With the first code snippet: The Hotkey starts the subroutine ToggleSW . The first line in it changes the value of _EnableSW to the opposite of what is stored. In this case it's a Boolean True/False, which is stored as 0/1 in AHK. The use of the ! after the := signifies Not . So if the value is init...
- 20 May 2016, 10:26
- Forum: Ask for Help (v1)
- Topic: Pulover's Macro Creator Not working - Mouse won't move or click
- Replies: 7
- Views: 12574
Re: Pulover's Macro Creator Not working - Mouse won't move or click
Most of the Click commands are just to move the mouse, which I'm assuming is a quirk of PMC. I've never actually used it, but I imagine it logs literally everything you do. Try this and let me know if it does anything better. ; This script was created using Pulover's Macro Creator ; www.macrocreator...
- 19 May 2016, 23:57
- Forum: Ask for Help (v1)
- Topic: Pulover's Macro Creator Not working - Mouse won't move or click
- Replies: 7
- Views: 12574
Re: Pulover's Macro Creator Not working - Mouse won't move or click
Shot in the dark it's the WinActivate [edited]. Unless the title of the window is actually "[edited]" it's simply not being activated.
Also that is a TON of clicks and sleeps. A rather staggering amount frankly, what are you automating by chance?
Also that is a TON of clicks and sleeps. A rather staggering amount frankly, what are you automating by chance?
- 19 May 2016, 20:45
- Forum: Ask for Help (v1)
- Topic: Pulover's Macro Creator Not working - Mouse won't move or click
- Replies: 7
- Views: 12574
Re: Pulover's Macro Creator Not working - Mouse won't move or click
What's the actual script look like?