Search found 190 matches

by Vh_
21 Feb 2019, 23:37
Forum: Ask For Help
Topic: Alternative to iniread
Replies: 5
Views: 171

Re: Alternative to iniread

Thanks all for the responses! I'll give this a test tomorrow and let you know how it turns out.
by Vh_
20 Feb 2019, 18:51
Forum: Ask For Help
Topic: Alternative to iniread
Replies: 5
Views: 171

Alternative to iniread

Hello, I've got a script that gets an index from a website, and then utilizes a .ini file to convert that number 1-50 into a US state code. I'd like to put it into the script to avoid an external file, however it seems a little tedious to do 50 If statements..such as this: If (Number = 1) State = AK...
by Vh_
14 Feb 2019, 19:31
Forum: Gaming
Topic: CoinSino
Replies: 2
Views: 278

Re: CoinSino

AHKStudent wrote:
14 Feb 2019, 12:12
looks good

add ControlFocus, Edit1, CoinSino on line 98
Enter key is set to work with the button, I hadn't thought about anyone using it with a click.I'll add it for users who choose the button method. Thanks! :)
by Vh_
13 Feb 2019, 18:45
Forum: Ask For Help
Topic: My Bluetooth Microphone will not Mute.
Replies: 1
Views: 83

Re: My Bluetooth Microphone will not Mute.

This should be moved to the "Ask for help" section rather than working scripts and functions. Likely to find more help there. Cheers! :)
by Vh_
13 Feb 2019, 18:41
Forum: Gaming
Topic: CoinSino
Replies: 2
Views: 278

CoinSino

Here's a little game that I made inspired by the #ahk freenode IRC channel. I thought i'd share it with the community. feel free to modify and post your versions, and or high scores! ;) #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings ...
by Vh_
27 Sep 2018, 10:04
Forum: Ask For Help
Topic: Maximum INI file before corruption concerns?
Replies: 1
Views: 94

Maximum INI file before corruption concerns?

Hello, I'm working on building a few databases with INI files to quickly retrieve a PDF. I haven't fully populated one yet, but after running a loop for 12 hours creating one, its over 400K lines, and 59MB. One question I'm being asked is the reliability at that size, and larger. Are there concerns ...
by Vh_
06 Sep 2018, 12:08
Forum: Ask For Help
Topic: Loop, Files
Replies: 1
Views: 103

Loop, Files

Hi, I'm wanting to get a full list of folder names within a folder, then loop through those and read the files within them. To retrieve the list of folders, I tried this example with no luck: Loop, Files, C:\Users\%_UserName%\Desktop, D { Msgbox, %A_LoopFileName% ;only brings back "Desktop" } ExitAp...
by Vh_
30 Aug 2018, 13:46
Forum: Ask For Help
Topic: Wildcard in Loop, Files
Replies: 1
Views: 98

Wildcard in Loop, Files

Hello, I'm trying to open a file that is generated every 2 weeks. The path changes each time, stored in a folder named by current time down to seconds. I was hoping to use wildcards to get this, but it appears wildcard only works at the end for filename.extention The last folder name format was crea...
by Vh_
30 Aug 2018, 12:37
Forum: Ask For Help
Topic: FileCopy, Multiple Topic is solved
Replies: 2
Views: 214

Re: FileCopy, Multiple Topic is solved

Thank you, garry!
by Vh_
30 Aug 2018, 09:57
Forum: Ask For Help
Topic: FileCopy, Multiple Topic is solved
Replies: 2
Views: 214

FileCopy, Multiple Topic is solved

Hello, I'm trying to copy multiple files over with a File Dialogue. I'm thinking StringSplit & some math *would work* but is likely not the proper method and probably an easier way out there. Objective: User selects multiple files and then they will be moved to another destination. FileSelectFile, F...
by Vh_
21 Aug 2018, 16:16
Forum: Ask For Help
Topic: COM, Outlook, ClipboardAll
Replies: 8
Views: 313

Re: COM, Outlook, ClipboardAll

I'm not sure where to begin on writing some HTML.. so I looked into a normal paste. The one thing is, when I use window spy I can't seem to 'see' the body messsage. The only control name I can find is "_WwG1" and setting text has no effect. I can however use ControlFocus to activate the body. The o...
by Vh_
21 Aug 2018, 15:22
Forum: Ask For Help
Topic: COM, Outlook, ClipboardAll
Replies: 8
Views: 313

Re: COM, Outlook, ClipboardAll

When you hit control+v to paste something Windows is doing a lot of heavy lifting to make that happen. First email.Body is plain text only. You would need to use email.HTMLBody but that alone will not solve the problem. You would need to set HTMLBody to the HTML code that you want for the effect yo...
by Vh_
21 Aug 2018, 14:43
Forum: Ask For Help
Topic: COM, Outlook, ClipboardAll
Replies: 8
Views: 313

Re: COM, Outlook, ClipboardAll

The Help for ClipboardAll explains it pretty well. ClipboardAll returns the binary formatted information of the clipboard and is rarely what you want. Clipboard is what you would normally use in situations like this. FG Thanks for the reply. The only thing is, when I use Clipboard it just behaves a...
by Vh_
21 Aug 2018, 10:18
Forum: Ask For Help
Topic: COM, Outlook, ClipboardAll
Replies: 8
Views: 313

COM, Outlook, ClipboardAll

Hello, In the code below, ClipboardAll does not appear to be working. I'm copying a range of cells from Excel and then wanting that data to be in the message body, with the formatting and cell colors as a manual paste result. Does anyone know how I can accomplish this? Thanks in advance! Outlook := ...
by Vh_
03 Aug 2018, 23:51
Forum: Ask For Help
Topic: Find window by its task bar comment
Replies: 1
Views: 236

Re: Find window by its task bar comment

Are there any consistencies with the titles they do have? Also, what does active window info/window spy tell you about the windows? Another though, if there are any consistent headers or some criteria per each company, you make integrate COM to then make a decision on what window to activate.
by Vh_
03 Aug 2018, 23:46
Forum: Ask For Help
Topic: If WinTitle = and Focused Control Text = ?
Replies: 1
Views: 144

Re: If WinTitle = and Focused Control Text = ?

If you are assigning this to a key, you might check out the ControlGetFocus command in conjunction with ControlGetText. If not, you could put in a loop maybe. ;Untested, theoretical code Loop { WinGetTitle, WinTitleVar, a ; a=active ControlGetFocus, OutVarControlName...etc ControlGetText, OutVarText...
by Vh_
03 Aug 2018, 23:36
Forum: Ask For Help
Topic: Compliled scripts using COM
Replies: 2
Views: 182

Compliled scripts using COM

Hello, I've noticed that compiled scripts that have use of COM, will not work without the "autohotkey.exe" file present on a computer that don't have AHK installed. I'm sure there is something within it, but out of curiosity, does anyone know if there is a substitute for this, or just the detailed a...
by Vh_
03 Aug 2018, 11:17
Forum: Ask For Help
Topic: Photoshop small code
Replies: 1
Views: 121

Re: Photoshop small code

by Vh_
02 Aug 2018, 21:32
Forum: Ask For Help
Topic: Please help me fix this loop
Replies: 1
Views: 191

Re: Please help me fix this loop

Grayline, I'm not sure I fully understand your code, however I get your intention I believe. You may look into the 'until' loop. I had a script where I needed a continuous loop to behave on certain conditions, and then it would bounce back and forth. You can also set vars to 1 and 0 and use multiple...
by Vh_
02 Aug 2018, 21:14
Forum: Ask For Help
Topic: please help on loop issue
Replies: 2
Views: 243

Re: please help on loop issue

Loop ;5 specify an amount, or just let it be an infinite loop.
{
Msgbox, Check the loop command in the tutorial. Also, press escape to exit this script. :)
}

Escape::ExitApp

Go to advanced search