Search found 1100 matches

by FanaticGuru
09 May 2018, 12:07
Forum: Ask For Help
Topic: Get a Path of an active item
Replies: 3
Views: 94

Re: Get a Path of an active item

maybe you know why I cannot save Outlook email? It gives me an error on SaveAs part.. objOL := ComObjActive("Outlook.Application").ActiveInspector.CurrentItem objOL.SaveAs("C:\Users\Desktop\scale_temp",3) ; 3 means .msg type objOL := "" Even though the 3 tells it to sa...
by FanaticGuru
09 May 2018, 11:59
Forum: Ask For Help
Topic: Outlook 2016 save the email
Replies: 3
Views: 79

Re: Outlook 2016 save the email

Below is an example of how to save an email as a msg file in Outlook. F12:: olApp := ComObjActive("Outlook.Application") try olItem := olApp.ActiveWindow.CurrentItem catch olItem := olApp.ActiveExplorer.Selection.Item(1) if (olItem.Class = 43) olMailItem := olItem else { MsgBox Mail Item N...
by FanaticGuru
08 May 2018, 18:52
Forum: Ask For Help
Topic: Delete PDF Pages through Adobe COM
Replies: 15
Views: 317

Re: Delete PDF Pages through Adobe COM

The last thing i'd like to look into is setting the value of a fillable field on a PDF, perhaps better suited for another thread but I thought i'd ask anyway :) Here are two ways to go about working with fields in a PDF. F12:: AFormAut := ComObjCreate("AFormAut.App") for Field in AFormAut...
by FanaticGuru
07 May 2018, 14:33
Forum: Ask For Help
Topic: Help with arrays
Replies: 1
Views: 52

Re: Help with arrays

This is not barcodes but it displays the data in an array in a MsgBox. Array := ["one","two","three"] for k, v in Array Display .= v "`n" MsgBox % Display If the data is too much to fit in a standard MsgBox, you will need to create a Gui for the task. FG
by FanaticGuru
07 May 2018, 14:22
Forum: Ask For Help
Topic: any good autohotkey script to calculate SHA-256 ?
Replies: 6
Views: 218

Re: any good autohotkey script to calculate SHA-256 ?

I use this for all my encrypting and hashing needs: https://github.com/jwhipple/Autohotkey-Scripts/blob/master/Crypt.ahk I searched around and it was the most full featured and professional looking code I could find. I have no idea if the code is actually implementing all the things it does correctl...
by FanaticGuru
07 May 2018, 13:51
Forum: Ask For Help
Topic: How to set the font size of the words written in Times New Roman, from 20 to 16 in M S Word? Topic is solved
Replies: 8
Views: 166

Re: How to set the font size of the words written in Times New Roman, from 20 to 16 in M S Word? Topic is solved

I modified codes provided by you and these codes are working as i want....-- f1:: wdApp := ComObjActive("Word.Application") wdApp.Selection.Find.ClearFormatting wdApp.Selection.Find.Font.Name := "Times New Roman" wdApp.Selection.Find.Replacement.ClearFormatting wdApp.Selection.F...
by FanaticGuru
07 May 2018, 12:36
Forum: Ask For Help
Topic: Getting a GUI to move with another window?
Replies: 11
Views: 314

Re: Getting a GUI to move with another window?

I tried to use this but it appears that sometimes it misses if window was opened. I think it happens when I open different windows close to each other. I'm using all of your script except DisableCloseButton() function, I have Gosub, Label . Then I have wId set as global, subroutine starts with reas...
by FanaticGuru
04 May 2018, 13:33
Forum: Ask For Help
Topic: How to do a list and auto match
Replies: 5
Views: 90

Re: How to do a list and auto match

problem is with the url, I tried all kinds of combos but had no luck end url is something like http://www.abc.com/32445/item (or other formats) so how would i get the url? usually its easy, just do http://www.abc.com/%var%/whatever Parts := {"Tires":32445, "Brakes":55468, "...
by FanaticGuru
04 May 2018, 12:54
Forum: Ask For Help
Topic: How to do a list and auto match
Replies: 5
Views: 90

Re: How to do a list and auto match

You can store the number that goes with each item in an array object. Parts := {"Tires":32445, "Brakes":55468, "Other Stuff":99999} Gui, Add, DropDownList, vChoice, Tires|Brakes|Other Stuff Gui, Add, Button, Default, OK Gui, Show return GuiClose: ButtonOK: Gui, Submit M...
by FanaticGuru
04 May 2018, 12:16
Forum: Ask For Help
Topic: How to set the font size of the words written in Times New Roman, from 20 to 16 in M S Word? Topic is solved
Replies: 8
Views: 166

Re: How to set the font size of the words written in Times New Roman, from 20 to 16 in M S Word? Topic is solved

I have a long text matter in M S Word document. I use two types of fonts in that m s word document and they are- Times New Roman and Calibri. The font size of the words which are in Calibri font, is 20 and the font size of the words which are in New times roman font, is 16. I want that first it sho...
by FanaticGuru
03 May 2018, 19:15
Forum: Ask For Help
Topic: Delete PDF Pages through Adobe COM
Replies: 15
Views: 317

Re: Delete PDF Pages through Adobe COM

Can you post an example of the Excel sheet? An actual xls file, picture, whatever so I can see the page data to better understand. Is your Excel just something like this: R/C A B 1 4 6 2 8 13 3 15 15 Where you would want to build a new PDF from pages 4-6, 8-13, 15? Constructing a new PDF from pages ...
by FanaticGuru
03 May 2018, 17:46
Forum: Ask For Help
Topic: add and Alignment Buttons at Gui Topic is solved
Replies: 9
Views: 270

Re: add and Alignment Buttons at Gui Topic is solved

I have a bunch of similar events, I used the previous 3 hotkeys: one, two, three My question is How to dedicate the button 1 for event 1 If you look at my code you can see an example of how to use A_GuiControl to have all the buttons trigger the same subroutine and then sort out from there which bu...
by FanaticGuru
03 May 2018, 14:02
Forum: Ask For Help
Topic: add and Alignment Buttons at Gui Topic is solved
Replies: 9
Views: 270

Re: add and Alignment Buttons at Gui Topic is solved

Gui Add, ListBox, w950 r20 vfiles1, % "Dir1 = " dir1 "| |" list1 Gui Add, ListBox, w950 r20 vfiles2, % "Dir2 = " dir2 "| |" list2 Gui Add, Button, w75 gGuiOK default, Exit Gui,Add, Text, yp+5 x200,Dir1 Gui,Add, Edit, yp-3 x230 w300 vDir1,%dir1% Gui,Add, Text,...
by FanaticGuru
03 May 2018, 13:44
Forum: Ask For Help
Topic: How to Detect When a Window is Resized
Replies: 7
Views: 1784

Re: How to Detect When a Window is Resized

is the "GuiSize:" label is used anywhere in your script then any time a gui is created or changer size, it will be invoked. you can execute any script command you like then "return" normally just like a timer or hotkey GuiSize: soundbeep, 10000,1 ;tie a bell around it's neck so ...
by FanaticGuru
03 May 2018, 13:22
Forum: Ask For Help
Topic: Read and forward mail in an IMAP inbox
Replies: 22
Views: 369

Re: Read and forward mail in an IMAP inbox

Right now I'm fighting what I believe is a problem actually recognizing items in the root of the inbox. Worked through errors that told me I didn't have the account referenced correctly, no more errors, so I think it's just not hitting the inbox folder. The script seems to run okay, just never goes...
by FanaticGuru
03 May 2018, 13:06
Forum: Ask For Help
Topic: Getting a GUI to move with another window?
Replies: 11
Views: 314

Re: Getting a GUI to move with another window?

I have one program that I monitor for with a hook and any time it is opened I haven't bothered looking at anything to do with "hooks", thought they had to do with keyboard keys or some other thing i'm not interested in. The way you said the line I quoted suggests something other than some...
by FanaticGuru
03 May 2018, 12:34
Forum: Ask For Help
Topic: Getting a GUI to move with another window?
Replies: 11
Views: 314

Re: Getting a GUI to move with another window?

Win_Hwnd := WinExist("ahk_exe excel.exe ahk_class XLMAIN") DllCall("SetParent", "uint", Gui_Hwnd, "uint", Win_Hwnd) is there difference between DllCall("SetParent", "uint", Gui_Hwnd, "uint", Win_Hwnd) and Gui, +LastFound +ToolWin...
by FanaticGuru
02 May 2018, 18:13
Forum: Ask For Help
Topic: Getting a GUI to move with another window?
Replies: 11
Views: 314

Re: Getting a GUI to move with another window?

I want to put my GUI ontop of another window and rest it there. ... Ideally it should look like it exists natively in the window. You might want to make the GUI a child window of a parent window. Here is an example using Excel. Win_Hwnd := WinExist("ahk_exe excel.exe ahk_class XLMAIN") ; ...
by FanaticGuru
02 May 2018, 17:10
Forum: Ask For Help
Topic: Trying to create a table in Outlook e-mail
Replies: 4
Views: 94

Re: Trying to create a table in Outlook e-mail

I'm trying to use AutoHotkey to create a single-cell table in an Outlook email. I'm not using COM - I've laboriously worked out all necessary keyboard commands to create the table and format it a particular way. I know you said you are not using COM but for those that might want to, this script, wh...
by FanaticGuru
02 May 2018, 16:48
Forum: Ask For Help
Topic: Delete PDF Pages through Adobe COM
Replies: 15
Views: 317

Re: Delete PDF Pages through Adobe COM

Hi FG, That's a nice piece of code...works perfectly! Is there a similar COM call that extracts pages? I'm hoping for something like PDDoc.ExtractPages(first,last) . I know that's not right, but have been unable to find an ExtractPages object in AVDoc, PDDoc, or PDPage, and am hoping you kn...

Go to advanced search