Search found 1906 matches

by FanaticGuru
24 Jan 2024, 14:17
Forum: Scripts and Functions (v2)
Topic: AHK Startup (Consolidate AHK Scripts' Tray Icons)
Replies: 20
Views: 3455

Re: AHK Startup (Consolidate AHK Scripts' Tray Icons)

@Jasonosaj Even if you can add menus to mainscript How do you make other scripts execute mainscript menu commands Then you may have to modify all the sub scripts. Yes, adding another scripts tray menu to AHK Startup's tray menu is next to impossible. When this script starts another script, the othe...
by FanaticGuru
23 Jan 2024, 19:00
Forum: Ask for Help (v2)
Topic: How to move Word cursor? Topic is solved
Replies: 6
Views: 425

Re: How to move Word cursor? Topic is solved

I've created a hotkey to scroll Word documents. It scrolls the text and the cursor together. After scrolling, if I hit any arrow key, the document is scrolled back to its original location where the cursor was. You can mimic this by turning the mouse wheel, and then hit any arrow key (Word must be ...
by FanaticGuru
22 Jan 2024, 20:22
Forum: Scripts and Functions (v2)
Topic: AHK Startup (Consolidate AHK Scripts' Tray Icons)
Replies: 20
Views: 3455

Re: AHK Startup (Consolidate AHK Scripts' Tray Icons)

help!!! ive been trying for a couple hours to get his lauch. sometimes it will try to lauch the 6 scripts i put in it but everyone one of them is getting an error from AHK. now i cant even get that far it keeps saying ..... Error: Unexpected "]" Text: DetectHiddenWindows true C:\Users\CLxxxEN\Docum...
by FanaticGuru
11 Jan 2024, 21:49
Forum: Ask for Help (v2)
Topic: moving e-mail to different folder help.
Replies: 15
Views: 872

Re: moving e-mail to different folder help.

This code might be useful to some to display all your Outlook folders and paths. olApp := ComObjActive("Outlook.Application") olNameSpace := olApp.GetNamespace("MAPI") List := SubFolders(olNameSpace) MsgBox List ; Function to recursively loop through all folders and subfolders and build List SubFold...
by FanaticGuru
09 Jan 2024, 19:37
Forum: Scripts and Functions (v2)
Topic: Snipper - Window Snipping Tool
Replies: 125
Views: 26536

Re: Snipper - Window Snipping Tool

Kind of sad there is not a rock solid Gdip v2 out there. I have searched and every one I have found has numerous conversion bugs. It is one reason I created the class of select Gdip functions used in Snipper. Maybe the most recently updated version of v2 gdip_all.ahk is this one (updated 5 months a...
by FanaticGuru
09 Jan 2024, 16:39
Forum: Ask for Help (v2)
Topic: moving e-mail to different folder help.
Replies: 15
Views: 872

Re: moving e-mail to different folder help.

THis is my code: WinActivate "RS MST CRM - CVent Alerts - RS MST CRM" olApp := ComObject("Outlook.Application") olNameSpace := olApp.GetNamespace("MAPI") olFolderInbox := olNameSpace.GetDefaultFolder(6) olDestFolder := olFolderInbox.Folders("Alerts").Folders("Done") olEmails := olApp.ActiveExplorer...
by FanaticGuru
09 Jan 2024, 16:09
Forum: Scripts and Functions (v2)
Topic: Snipper - Window Snipping Tool
Replies: 125
Views: 26536

Re: Snipper - Window Snipping Tool

when set Quality in SaveBitmapToFile it will throw error in this line NumPut(Quality, NumGet(NumPut(4, NumPut(1, _p + 0, "UPtr") + 20, "UInt"), "UPtr"), "UInt") Type need put in first I just put type in the first par,but not work I dont know which is Number,Target,Offset Fixed. This bug seems to be...
by FanaticGuru
09 Jan 2024, 15:59
Forum: Scripts and Functions (v2)
Topic: Snipper - Window Snipping Tool
Replies: 125
Views: 26536

Re: Snipper - Window Snipping Tool

@FanaticGuru +ToolWindow can be hidden from the Alt+Tab and Win+Tab menu using the Alt+Tab property. This is how it was in Ahk v1 Version. Is there any reason not to make it default? Would you consider adding it to the settings menu? I like having an icon on the taskbar when I have a Snip created b...
by FanaticGuru
09 Jan 2024, 15:51
Forum: Scripts and Functions (v2)
Topic: Snipper - Window Snipping Tool
Replies: 125
Views: 26536

Re: Snipper - Window Snipping Tool

Updated in First Post Change Log: 2024 01 09 Fixed bug in Gdip SaveBitMapToFile when setting image quality Added Settings_Image_Quality to DEFAULT SETTING - VARIABLES section to set image quality Added Settings_ToolWindow to DEFAULT SETTING - VARIABLES section so Snips can be set to be hidden from ...
by FanaticGuru
03 Jan 2024, 18:16
Forum: Ask for Help (v2)
Topic: Macro Recorder???
Replies: 7
Views: 752

Re: Macro Recorder???

I wish to create a shortcut that will execute the Windows Snipping Tool, get a partial screen image from the second monitor, then print that image to a file in a specific directory - the process involves both mouse and keyboard work, which is why i am looking for an actual recorder. You don't reall...
by FanaticGuru
13 Dec 2023, 20:10
Forum: Ask for Help (v2)
Topic: How do you combine "Send" and "sleep" in one line?
Replies: 5
Views: 413

Re: How do you combine "Send" and "sleep" in one line?

if you are interested you can use ahkv2-H they can do sleep {N} like this send("hello{250}what!!{100}look behind you{50}it's monster") Here is a version for vanilla AHK v2. StutterSend("hello{250}what!!{100}look behind you{50}it's monster") StutterSend(Text) { For Line in StrSplit(Text, '}') { Elem...
by FanaticGuru
04 Dec 2023, 17:06
Forum: Ask for Help (v2)
Topic: COM help
Replies: 5
Views: 476

Re: COM help

You see that line: wdRng.Find.Text := '([^s ])@[^s ]' What kind of RegEx system is that exactly? That is an example of the wildcard system used by Word. Not just for VBA or COM, if you manually do a 'Find' in Word, that is the wildcard system used. A similar wildcard system is used in most MS Offic...
by FanaticGuru
01 Dec 2023, 14:12
Forum: Ask for Help (v2)
Topic: COM help
Replies: 5
Views: 476

Re: COM help

I just realised now that it leaves a lot of double spaces, that were previously to the left and right of the now-deleted segments. Could you help me out one more time and add an extra line to replace all double spaces with single ones? (Actually first replace all triple spaces with double ones.) Yo...
by FanaticGuru
30 Nov 2023, 16:37
Forum: Ask for Help (v2)
Topic: COM help
Replies: 5
Views: 476

Re: COM help

Hi, noob here. Could someone help me write a COM script to delete all single struckthrough characters? I'm using Office Word 2007 if that makes a difference. Oh, also, it needs to only be of the characters selected, because for some reason Word doesn't have the “ only in selection ” feature (at lea...
by FanaticGuru
30 Nov 2023, 13:52
Forum: Visual Studio Code
Topic: JSDoc Comments for Intellisense Help
Replies: 9
Views: 991

Re: JSDoc Comments for Intellisense Help

I have tried saving the comment file as .d.ah2 and .d.ahk but neither worked. Only {file}.d.ahk files are automatically included. Is there somewhere in the code of your extension where that can be manually changed to include {file}.d.ah2 files? Or better yet the associated file extension so Test.d....
by FanaticGuru
29 Nov 2023, 21:47
Forum: Visual Studio Code
Topic: JSDoc Comments for Intellisense Help
Replies: 9
Views: 991

Re: JSDoc Comments for Intellisense Help

Personally, I like seeing the comments in the file itself, whether you have VS code or not. The way I see it: The information itself is useful whether you have VS Code or not, as it gives very useful info about the functions etc. Well, the best of both worlds is to comment the code using all the ca...
by FanaticGuru
29 Nov 2023, 19:21
Forum: Visual Studio Code
Topic: JSDoc Comments for Intellisense Help
Replies: 9
Views: 991

Re: JSDoc Comments for Intellisense Help

Naming the ahk file Test.ah2 and the jsdoc file Test.d.ahk worked for me. This did not work for me initially but after toying around in the settings.json file I got it to work. Added: "files.associations": { "*.ah2": "ahk2" } I already had ah2 recongnizing as v2 handled by AutoHotkey v2 Language Su...
by FanaticGuru
28 Nov 2023, 20:58
Forum: Visual Studio Code
Topic: JSDoc Comments for Intellisense Help
Replies: 9
Views: 991

Re: JSDoc Comments for Intellisense Help

If you want your jsdoc in one place, you can use a separate file. Name it the same as your ahk file with .d.ahk extension. This looks extremely promising as I could then supply a separate file for people that use vscode. But it did not work for me. In my setup I use the extension ah2 for AutoHotkey...
by FanaticGuru
28 Nov 2023, 14:48
Forum: Visual Studio Code
Topic: JSDoc Comments for Intellisense Help
Replies: 9
Views: 991

JSDoc Comments for Intellisense Help

I just discovered that you can use comments to create Intellisense prompts on mouseover and autocomplete. /** * @Class {Object} Manage Paints * @property {String} Color Any Color Under the Sun * @property {String} BaseType Oil, Water, Latex, etc. */ Class Paint { /** @property {String} Color Any Col...
by FanaticGuru
28 Nov 2023, 14:33
Forum: Scripts and Functions (v2)
Topic: [Class] GuiReSizer - Position and Resize Gui Controls
Replies: 27
Views: 5647

Re: [Class] GuiReSizer - Position and Resize Gui Controls

I couldnt consolidate my comments. @FanaticGuru not sure if it matters, but I took your excellent documentation, and formatted in a way that is compatible with programs like vscode sublime text, npp. that way, on mouse over you get the info. if you use, just make sure theres no space above the clas...

Go to advanced search