Search found 677 matches

by FanaticGuru
18 Sep 2017, 13:35
Forum: Ask For Help
Topic: How to open Snipping Tool and a new snip when pressing #s
Replies: 2
Views: 53

Re: How to open Snipping Tool and a new snip when pressing #s

Below is a script I use with Snipping Tool to make it quicker and easier to use for me. I tried to accommodate different versions of Windows but not tested but on two computers. Some versions of Windows name the windows differently and the behavior of whether if automatically does "new" wh...
by FanaticGuru
13 Sep 2017, 15:49
Forum: Gaming
Topic: [Path of Exile] Auto Potion
Replies: 35
Views: 7116

Re: [Path of Exile] Auto Potion

Make sure classMemory.ahk is up-to-date (version 2.8). You need to launch the script via the 64 bit AHK exe i.e. run the script as 64 bits to allow 8 byte pointers to work. This works on my computer. f1:: if (A_ptrSize != 8) { msgbox "AHK needs to run as 64 bit!" ExitApp } if (_classmemor...
by FanaticGuru
06 Sep 2017, 15:54
Forum: Ask For Help
Topic: Outlook COM: Setting account to send from
Replies: 26
Views: 528

Re: Outlook COM: Setting account to send from

Do you think this can be converted to AHK code? Public Sub SetCustomFlag() Dim objMsg As Object ' GetCurrent Item function is athttp://slipstick.me/e8mio Set objMsg = GetCurrentItem() With objMsg ' due this week flag .MarkAsTask olMarkThisWeek ' sets a specific due date .TaskDueDate = Now + 3 .Flag...
by FanaticGuru
05 Sep 2017, 16:23
Forum: Ask For Help
Topic: How to keep leading 0s when pasting in excel Topic is solved
Replies: 7
Views: 176

Re: How to keep leading 0s when pasting in excel Topic is solved

Thank you both; just now had the time to try some of this. The first approach does not work for me, unfortunately; I seem to always end up with double apostrophes. The second approach seems a bit beyond me at the moment as I'm an AHK noob, but I will get back to it a bit later. It looks like in ord...
by FanaticGuru
05 Sep 2017, 15:45
Forum: Ask For Help
Topic: Using COM in Excel to Open Hyperlinks
Replies: 3
Views: 51

Re: Using COM in Excel to Open Hyperlinks

When I try hyper.links(1).follow I get the following error message I am not surprised that does not work. No where was hyper.links(1).follow mentioned or discussed. Computer coding is not like hand grenades, rarely is "close enough" going to get the job done. This code works for m...
by FanaticGuru
05 Sep 2017, 14:02
Forum: Ask For Help
Topic: Using COM in Excel to Open Hyperlinks
Replies: 3
Views: 51

Re: Using COM in Excel to Open Hyperlinks

Hi, I am trying to set up a macro that will go down a column of hyperlinks in Excel, run another macro on each hyperlink, and continue until there is nothing in the next row X1.Range("A" . Row).hyperlink.follow Is Hyperlink.follow the wrong way to do this or do I have another problem?? I ...
by FanaticGuru
05 Sep 2017, 13:54
Forum: Ask For Help
Topic: Selecting and numbering lines after specific word in adocument
Replies: 8
Views: 177

Re: Selecting and numbering lines after specific word in adocument

Fantastic. Really sorry for delayed feedback. Finally got a chance to try and it worked like a charm. May I bother you for a script which will only select everything after "conclusion:" instead of numbering it. Thanks. "Selecting" text is more problematic as it requires knowledg...
by FanaticGuru
01 Sep 2017, 12:06
Forum: Ask For Help
Topic: Outlook COM: Setting account to send from
Replies: 26
Views: 528

Re: Outlook COM: Setting account to send from

Could you tell me how to use the AHK to display the value of outlook properties? I think it might be possible to include the reminder property before sending the email. Thanks for taking your time for detailed explanations above. Really appreciate it. This code will let you see the "Subject&qu...
by FanaticGuru
31 Aug 2017, 19:27
Forum: Ask For Help
Topic: Outlook COM: Setting account to send from
Replies: 26
Views: 528

Re: Outlook COM: Setting account to send from

After further review creating and sending an email with follow up and task linked to it is fairly complicated. The problem is that an email cannot really have those properties set until after it is sent. It kind of looks like you are setting them in the email dialog when you are manual clicking thos...
by FanaticGuru
31 Aug 2017, 16:43
Forum: Ask For Help
Topic: [Word COM] Printing document--print more than 1 copy
Replies: 10
Views: 148

Re: [Word COM] Printing document--print more than 1 copy

Well after sending you on a wild goose chase with the ComObject. I actually ran some code and I can confirm on my system the below works as expected and prints 2 copies. printpath := A_Desktop "\Test\Blank.docx" ; blank word document to save toner oWord := ComObjCreate("Word.Applicati...
by FanaticGuru
31 Aug 2017, 14:18
Forum: Ask For Help
Topic: [Word COM] Printing document--print more than 1 copy
Replies: 10
Views: 148

Re: [Word COM] Printing document--print more than 1 copy

Interesting FanaticGuru . So I wonder why I thought this was working before. I am starting to doubt myself. Maybe it wasn't. It could have been working by accident. You were sending it parameters in slots 1 and 2 that were not the right types that were being processed in odd ways combined with it u...
by FanaticGuru
31 Aug 2017, 14:09
Forum: Ask For Help
Topic: [Word COM] Printing document--print more than 1 copy
Replies: 10
Views: 148

Re: [Word COM] Printing document--print more than 1 copy

Hmmm. That did more than just one... It printed 4², 16. Interestingly, this is what happened when I had a custom macro in Word, with the command Application.PrintOut(copies:=4) . This would also print 16. 3 would print 9, etc. So I wrote up this AHK COM code, and it worked, until now it onl...
by FanaticGuru
31 Aug 2017, 13:43
Forum: Ask For Help
Topic: [Word COM] Printing document--print more than 1 copy
Replies: 10
Views: 148

Re: [Word COM] Printing document--print more than 1 copy

What about: oFile.PrintOut(,,,,,,,4) This points out an important consideration when converting VBA to AHK. VBA allows named parameters, while with AHK every parameter has to be in its proper slot in the function call which can make for a lot of blank parameter slots when you only want to use one t...
by FanaticGuru
31 Aug 2017, 12:40
Forum: Ask For Help
Topic: Outlook COM: Setting account to send from
Replies: 26
Views: 528

Re: Outlook COM: Setting account to send from

@derz00: I mean the reminder function of outlook. In outlook it is possible to set a reminder for an email so that you check the status. It can found under Follow Up --> Add Reminder Below is a link to the list of properties of an email item. https://msdn.microsoft.com/en-us/library/microsoft.offic...
by FanaticGuru
30 Aug 2017, 12:33
Forum: Ask For Help
Topic: Outlook COM: Setting account to send from
Replies: 26
Views: 528

Re: Outlook COM: Setting account to send from

oOutlook := ComObjCreate("Outlook.Application") ; create Outlook object oOutlookMsg := oOutlook.CreateItem(0) ; 0 = Outlook Mail Item olNameSpace := oOutlook.GetNamespace("MAPI") oOutlookMsg.SendUsingAccount := olNameSpace.Accounts.Item("info@info.com") ; This does not...
by FanaticGuru
29 Aug 2017, 18:54
Forum: Ask For Help
Topic: Selecting and numbering lines after specific word in adocument
Replies: 8
Views: 177

Re: Selecting and numbering lines after specific word in adocument

The problem is that I don't know how to come up with script even if I was using Microsoft word. Have searched but can't do it myself. Thanks. Here is an example of how it might be done in Notepad using the clipboard: F12:: Send ^a^c ClipWait S := "", Bullets := 0 Loop, Parse, Clipboard, `...
by FanaticGuru
29 Aug 2017, 00:15
Forum: Ask For Help
Topic: Selecting and numbering lines after specific word in adocument
Replies: 8
Views: 177

Re: Selecting and numbering lines after specific word in adocument

Voice recognition program called Powerscribe 360. That is a piece of software that few people are going to have access to so it is unlikely that someone is going to be able to give you a completely working script that works for that software with out more information. You could get lucky though. Ca...
by FanaticGuru
28 Aug 2017, 19:51
Forum: Ask For Help
Topic: Selecting and numbering lines after specific word in adocument
Replies: 8
Views: 177

Re: Selecting and numbering lines after specific word in adocument

The solution depends on the software in which you are viewing the document.

For example, the code would be very different in MS Word as opposed to Notepad.

What program are you using to view and edit?

FG
by FanaticGuru
18 Aug 2017, 17:51
Forum: Ask For Help
Topic: Scan PDF and then OpenFile
Replies: 9
Views: 248

Re: Scan PDF and then OpenFile

Hi FG, Since your COM code has already combined the multiple Word documents into a single Word document, you can use Word COM to do a Save As to PDF (so there's no need for Acrobat COM). For example: wdApp.ActiveDocument.SaveAs2(OutputFile,17) Regards, Joe Yea, I knew that of course. But I was sayi...
by FanaticGuru
18 Aug 2017, 17:31
Forum: Ask For Help
Topic: Outlook contact mobile number link
Replies: 1
Views: 40

Re: Outlook contact mobile number link

You can create an Outlook contact completely programmatically through COM which is much faster and more reliable. Plus it can happen entirely in the background if you so choose. olApp := ComObjCreate("Outlook.Application") olContact := olApp.CreateItem(2) ; olContactItem := 2 olContact.Fir...

Go to advanced search