Search found 201 matches

by Vh_
30 Aug 2018, 09:57
Forum: Ask For Help
Topic: FileCopy, Multiple Topic is solved
Replies: 2
Views: 747

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: 1360

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: 1360

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: 1360

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: 1360

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: 579

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: 551

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: 561

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: 395

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: 503

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 Topic is solved
Replies: 2
Views: 793

Re: please help on loop issue Topic is solved

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
by Vh_
02 Aug 2018, 20:29
Forum: Ask For Help
Topic: Single Key stroke sequence Topic is solved
Replies: 1
Views: 468

Re: Single Key stroke sequence Topic is solved

Read the tutorial. The answer is within. Learn how to bind a key, then look into the 'Send' command. Good luck!

https://autohotkey.com/docs/Tutorial.htm#s12
by Vh_
02 Aug 2018, 20:21
Forum: Ask For Help
Topic: Copy / paste from Excel to multiple fields in browser Topic is solved
Replies: 5
Views: 1228

Re: Copy / paste from Excel to multiple fields in browser Topic is solved

Yes, this is very easy to do using COM with IE and Excel! I highly recommend checking Joe Glines website for excellent COM learning. This is where I learned a lot of COM. He also has some tools on the site that are very helpful, such as iWB2 learner for getting element names in webpages and then als...
by Vh_
13 Jul 2018, 11:43
Forum: Ask For Help
Topic: Leading zeroes for COM values Topic is solved
Replies: 0
Views: 503

Leading zeroes for COM values Topic is solved

Hi All, I discovered leading zeroes are being cut off of variables when using the below method. Unfortunately I don't have the time to create an autohotkey.com example, but this is a mach example of what I am doing to produce these results. Any help on this is appreciated! EDIT: Resolved. Thanks tid...
by Vh_
24 May 2018, 08:52
Forum: Ask For Help
Topic: Delete PDF Pages through Adobe COM
Replies: 16
Views: 2553

Re: Delete PDF Pages through Adobe COM

I'm looking to insert a blank page between each page in a PDF. I have an idea, but not sure on how to specify where the blank page should be placed. The structure of my idea is having a PDF with one blank page and insert that page in the file I want to have blank pages in. Any idea on how to do this...
by Vh_
24 May 2018, 08:49
Forum: Ask For Help
Topic: Excel COM Topic is solved
Replies: 4
Views: 796

Re: Excel COM Topic is solved

Thanks FanaticGuru! Very helpful! I'm trying to find the equivalent of xlToRight for xlToLeft. Does anyone know what number should be defined as xlToLeft, and also where this number comes from? I'm trying to get to column A. Another way is while you are in Excel, you can hit Alt-F11 to open the Visu...
by Vh_
18 May 2018, 12:51
Forum: Ask For Help
Topic: Excel COM Topic is solved
Replies: 4
Views: 796

Re: Excel COM Topic is solved

Fantastic! Thanks jeeswg!
by Vh_
18 May 2018, 12:22
Forum: Ask For Help
Topic: Excel COM Topic is solved
Replies: 4
Views: 796

Excel COM Topic is solved

Hello, I'm trying to find the equivalent of xlToRight for xlToLeft. Does anyone know what number should be defined as xlToLeft, and also where this number comes from? I'm trying to get to column A. XL := ComObjActive("Excel.Application") xlToRight := -4161 ;this works XL.Selection.End(xltoRight).Sel...
by Vh_
14 May 2018, 12:01
Forum: Ask For Help
Topic: Delete PDF Pages through Adobe COM
Replies: 16
Views: 2553

Re: Delete PDF Pages through Adobe COM

FanaticGuru,

That did return results but as you said, the result is not so fast. This is the case with the manual interface search method as well. I think I will stick with that method for the time being.

Thanks again!
Vh
by Vh_
09 May 2018, 16:27
Forum: Ask For Help
Topic: Delete PDF Pages through Adobe COM
Replies: 16
Views: 2553

Re: Delete PDF Pages through Adobe COM

FanaticGuru, I can't thank you enough for this fantastic code. I do want to note that the first example did not work for setting the value, the java method works just fine and not concerned about it. ;) My next goal is to achieve is to do the advanced search and export to CSV. To accomplish this wit...

Go to advanced search