Search found 1355 matches

by FanaticGuru
07 Jun 2019, 13:34
Forum: Scripts and Functions
Topic: Hotkey Help - Display Active AHK Hotkeys and Hotstrings
Replies: 67
Views: 21637

Re: Hotkey Help - Display Active AHK Hotkeys and Hotstrings

This is great! Many thanks for sharing I have two wishes: - Support for clickable link - for the usecase that you want to link for a detailed user documentation and be able to open the link right from the GUI - Possibility to add line between hotkeys to be displayed in the GUI to mark for example f...
by FanaticGuru
18 May 2019, 18:27
Forum: Scripts and Functions
Topic: Hotkey Help - Display Active AHK Hotkeys and Hotstrings
Replies: 67
Views: 21637

Re: Hotkey Help Display Active AHK Hotkeys and Hotstrings

Kudos Thanks for that but surely there is a way to create a custom button and script that effectively simulates Ctrl P - so one can go in one step to the Print options box? V There is not currently an option to print althought you can hit Win+Alt+F1 to bring up the settings dialog where you can the...
by FanaticGuru
14 May 2019, 15:39
Forum: Ask For Help
Topic: Sending email using Outlook with variables Topic is solved
Replies: 4
Views: 190

Re: Sending email using Outlook with variables Topic is solved

Hello all, How to use variables into a email message? I'm building a module for an app im using, and i wanted to have a template email system for several types of email. I could use several templates, one for each case, but that is not doable or maintainable on the long run. As such, im building th...
by FanaticGuru
24 Apr 2019, 14:42
Forum: Ask For Help
Topic: how do Paste the text on the clipboard without losing the paragraph marker you just copied? Topic is solved
Replies: 3
Views: 223

Re: how do Paste the text on the clipboard without losing the paragraph marker you just copied? Topic is solved

Excuse me, how can I do this? 1. Copy a paragraph marked text from Microsoft Word. 2. Modify some text on the clipboard by using "Clipboard" or "Clipboard" commands. 3. Paste the text on the clipboard without losing the paragraph marker you just copied. This is what I mean by paragraph markers: 155...
by FanaticGuru
23 Apr 2019, 15:18
Forum: Ask For Help
Topic: Open a Mail item and create a Contact item using Outlook COM calls Topic is solved
Replies: 6
Views: 925

Re: Open a Mail item and create a Contact item using Outlook COM calls Topic is solved

Does anyone have a complete script that pieces these together to make a script to create a contact from an email? I have not been able to combine the pieces above to work. Here is the basics: F12:: olApp := ComObjActive("Outlook.Application") try olItem := olApp.ActiveWindow.CurrentItem catch olIte...
by FanaticGuru
22 Apr 2019, 15:25
Forum: Ask For Help
Topic: How to simply encrypt a piece of text without using a password? Topic is solved
Replies: 11
Views: 562

Re: How to simply encrypt a piece of text without using a password? Topic is solved

How high is XOR encryption security? Is this related to the length of the string used? For example, the string used for XOR is very long, then it will not be easy to crack, is this the case? XOR encryption is mathimatically perfect if the key string is at least as long as the string to be encrypted...
by FanaticGuru
18 Apr 2019, 16:05
Forum: Ask For Help
Topic: Object Move (Quickly and Soft) Topic is solved
Replies: 3
Views: 393

Re: Object Move (Quickly and Soft) Topic is solved

swagfag wrote:
18 Apr 2019, 10:17
setbatchlines -1
setwindelay -1

The main thing is the SetWinDelay.

Most window commands have a significant default delay built-in.

FG
by FanaticGuru
17 Apr 2019, 15:33
Forum: Ask For Help
Topic: Multithread - using all CPU cores
Replies: 13
Views: 635

Re: Multithread - using all CPU cores

Hi FG, I imagine in your case, there could still be timing problems with having 5 scripts all trying to start 5 copies of Explorer and download things at the same time. It seems doable though. Just got to make sure each script keeps track of its version of Explorer and communicates with its version...
by FanaticGuru
16 Apr 2019, 13:15
Forum: Ask For Help
Topic: Excel COM Range suddenly stopped working
Replies: 6
Views: 299

Re: Excel COM Range suddenly stopped working

ComObjActive() just emits error. I have no idea why In my experience this is most commonly caused by permission issues. Script is running as Admin but Excel is not or viceversa. It could also have to do with Excel running in compatibility mode or if you are in Edit mode within Excel. If things were...
by FanaticGuru
16 Apr 2019, 13:04
Forum: Ask For Help
Topic: AHK exporting value to excel
Replies: 4
Views: 178

Re: AHK exporting value to excel

Question: how do I go about making a code that counts the number of times I press a hotkey and then exports that value to excel. Description: I would like to have, hotkey 1 from AHK (example ^s) shown on the first column of the excel worksheet with the sum of how any times I pressed it within a cer...
by FanaticGuru
16 Apr 2019, 12:42
Forum: Ask For Help
Topic: Script was working Friday, not working Monday
Replies: 16
Views: 589

Re: Script was working Friday, not working Monday

On line 338 you are missing the opening { for your if statement (which is throwing stuff off). I would fix that and see if the error continues. I don't think that is the problem. I admit without indenting it can be hard to follow the blocks. Here is an indented version: ; ; AutoHotkey Version: 1.1....
by FanaticGuru
15 Apr 2019, 21:03
Forum: Ask For Help
Topic: Brute Force 4-digit Password using AHK Topic is solved
Replies: 20
Views: 840

Re: Brute Force 4-digit Password using AHK Topic is solved

More streamline version: SetBatchLines, -1 ; ask Windows for maximum processor time allocation OnExit, SavePosition ; Init Constants FileName_Save := "Password_SavePosition.txt" String_Item_Max := 4 ; Max Items of String ; Any Set of Items, Do Not Have to Be Single Characters Items := ["0","1","2","...
by FanaticGuru
15 Apr 2019, 20:19
Forum: Ask For Help
Topic: Brute Force 4-digit Password using AHK Topic is solved
Replies: 20
Views: 840

Re: Brute Force 4-digit Password using AHK Topic is solved

I'll look into that OnExit routine tonight, @FanaticGuru . The fact that it can save progress and pick up where it left off would be great, and it also makes me think that it's definitely possible to have multiple computers running the script on different virtual machines at different starting poin...
by FanaticGuru
15 Apr 2019, 14:12
Forum: Ask For Help
Topic: Multithread - using all CPU cores
Replies: 13
Views: 635

Re: Multithread - using all CPU cores

Hi Greg, Thanks for your help. The problem was that I need to add %A_AhkPath% to the Run script: Run %A_AhkPath% F:\AHK\thread_1.ahk I found it here: https://autohotkey.com/board/topic/54296-script-for-people-who-like-to-run-portable/ So now, the master script is running but I got too many problems...
by FanaticGuru
15 Apr 2019, 13:44
Forum: Ask For Help
Topic: Issues working with two Excel files
Replies: 8
Views: 396

Re: Issues working with two Excel files

What is the COM table and how would one access it? The COM table is basically a list of applications that register with Windows saying that they want to let other applications communicate with them and here is their number to call them. In short it is a dating site for applications that Windows run...
by FanaticGuru
15 Apr 2019, 12:59
Forum: Ask For Help
Topic: Script performance splits in half when 2 scripts are running Topic is solved
Replies: 10
Views: 410

Re: Script performance splits in half when 2 scripts are running Topic is solved

I modified the script so that I could see the actual time required and noticed no difference in the time to complete 100 cycles. XButton1:: X := 1 S := A_TickCount While GetKeyState("XButton1","P") { Send h Sleep 33 Send {LButton} Sleep 33 X++ if X>100 MsgBox % A_TickCount - S } return Assuming the ...
by FanaticGuru
12 Apr 2019, 13:54
Forum: Ask For Help
Topic: Issues working with two Excel files
Replies: 8
Views: 396

Re: Issues working with two Excel files

You are letting Excel default to Workbooks and Sheets but you can specify what Workbook and Sheet you want to use like this: ItemTDV := oExcel.Workbooks("Book1").ActiveSheet.Cells(Row, 1).text ; Workbook named "Book1", Active Sheet ItemTDV := oExcel.Workbooks(2).Sheets(3).Cells(Row, 1).text ; Second...
by FanaticGuru
12 Apr 2019, 13:38
Forum: Ask For Help
Topic: Multithread - using all CPU cores
Replies: 13
Views: 635

Re: Multithread - using all CPU cores

I'm running a AHK script which opens an IE window, click on some buttons and download a file. The script downloads in this way hundred of files. I want to run it in multi-thread manner, meaning use all my 8 CPU cores, then the time to download all files will be shorter. I'm putting here only a part...
by FanaticGuru
12 Apr 2019, 13:26
Forum: Ask For Help
Topic: Script performance splits in half when 2 scripts are running Topic is solved
Replies: 10
Views: 410

Re: Script performance splits in half when 2 scripts are running Topic is solved

I have many Hotkeys, so I like to have them organized in multiple .ahk-files, that run at the same time. But I noticed, the script performance splits in half, when a second script is running. The 2 scripts could be very small, and the script performance splits in half. I noticed that through one of...
by FanaticGuru
11 Apr 2019, 20:06
Forum: Ask For Help
Topic: Brute Force 4-digit Password using AHK Topic is solved
Replies: 20
Views: 840

Re: Brute Force 4-digit Password using AHK Topic is solved

Thanks, @FanaticGuru ! That's pretty cool, actually. Your example of "red" made me have a scary realization, that there's no guarantee that all four digits are actually used for the password. I had just assumed that since it allowed for four, and that's not really that many, that it would require f...

Go to advanced search