Search found 1390 matches

by TheDewd
26 Dec 2019, 17:10
Forum: Ask For Help
Topic: Notepad++ Debugger
Replies: 14
Views: 829

Re: Notepad++ Debugger

AutoHotkey 1.1.32.00 (32-bit)
DBGp 0.0.13.27
Notepad++ 7.7.1 (32-bit)

Code: Select all

#SingleInstance, Force
#Persistent

OutputDebug, Testing...
by TheDewd
26 Dec 2019, 16:55
Forum: Ask For Help
Topic: Notepad++ Debugger
Replies: 14
Views: 829

Re: Notepad++ Debugger

That shows the AutoHotkey icon in the tray/notification area. It refuses to show a menu on right-click. Reloading the script with #SingleInstance, Force results in error Could not close the previous instance of this script. Keep waiting? I have to close the process from the task manager. No luck. :(...
by TheDewd
26 Dec 2019, 16:40
Forum: Ask For Help
Topic: Notepad++ Debugger
Replies: 14
Views: 829

Re: Notepad++ Debugger

When I try to launch AutoHotkey.exe /Debug the AutoHotkey.chm file is launched and the debugger is still not connecting.
by TheDewd
26 Dec 2019, 16:05
Forum: Ask For Help
Topic: Notepad++ Debugger
Replies: 14
Views: 829

Notepad++ Debugger

I'm trying to setup a debugger for Notepad++/AutoHotkey on my work computer. I use AutoHotkey at work, however I am not permitted to run any commands that require administrator privileges. I use a lot of portable apps to bypass this restriction. I have AutoHotkey and Notepad++ both extracted to sepa...
by TheDewd
26 Dec 2019, 10:42
Forum: Ask For Help
Topic: running outlook from whereever it is (32bit or 64)
Replies: 2
Views: 267

Re: running outlook from whereever it is (32bit or 64)

Try removing the path C:\Program Files (x86)\Microsoft Office\root\Office16\, and only use Outlook.exe.

This works on my computer.
by TheDewd
23 Dec 2019, 15:03
Forum: Ask For Help
Topic: Fn Key as Modifier
Replies: 1
Views: 452

Fn Key as Modifier

I recently switched to a USB keyboard that includes an "Fn" key. There are several keys which can use the Fn keys (media buttons, search, sleep, etc.). How can I use the Fn key as a modifier with ANY key? For example, if I want to use FN & Q or FN & Up Arrow , etc.? I tried using #InstallKeybdHook a...
by TheDewd
23 Dec 2019, 09:52
Forum: Ask For Help
Topic: better way to make a pdf from a Word docx Topic is solved
Replies: 11
Views: 1050

Re: better way to make a pdf from a Word docx Topic is solved

This code should create a PDF from the active word document, saving the PDF in the same directory as the opened doc.

Code: Select all

#SingleInstance, Force

oWord := ComObjActive("Word.Application")
oWord.ActiveDocument.SaveAs2("Document.pdf", 17)
by TheDewd
16 Dec 2019, 15:05
Forum: Ask For Help
Topic: Storing ini data online. Options?
Replies: 5
Views: 422

Re: Storing ini data online. Options?

There's an application which allows you to use Google Drive as an FTP. You could use this also... https://github.com/andresoviedo/google-drive-ftp-adapter
by TheDewd
16 Dec 2019, 12:18
Forum: Bug Reports
Topic: Disabling/enabling menu bar item - BackgroundTrans
Replies: 3
Views: 1291

Re: Disabling/enabling menu bar item - BackgroundTrans

I'm running Windows 10 Enterprise (64-bit) using AutoHotkey 1.1.32.00 (32-bit). I have the same issue when using your test script. The text begins to show a pink-ish outline with each iteration of the loop, until the window is forced redrawn by moving the window off screen and then back on again. Th...
by TheDewd
11 Dec 2019, 16:47
Forum: Ask For Help
Topic: FileAppend: Appending to multiple files on one directory at once Topic is solved
Replies: 2
Views: 270

Re: FileAppend: Appending to multiple files on one directory at once Topic is solved

Code: Select all

Loop, Files, %A_Desktop%\*.*, F
{
	FileAppend, Hello`nThis is some text, % A_LoopFileLongPath
}
by TheDewd
11 Dec 2019, 09:27
Forum: Ask For Help
Topic: Parsing a label Topic is solved
Replies: 13
Views: 763

Re: Parsing a label Topic is solved

Code: Select all

#SingleInstance, Force

Try, GoSub, % (InpurVar = "1NE" ? "2NE" : "")
return

2NE:
	MsgBox, Test
return
by TheDewd
11 Dec 2019, 09:15
Forum: Ask For Help
Topic: FileCopyDir - overwrite every sub-folder except one
Replies: 4
Views: 356

Re: FileCopyDir - overwrite every sub-folder except one

I'm not sure which you want... The first script uses ternary to switch the "Overwrite" flag between 1 or 0 depending on if the folder name is "INI" or not. The second script will just skip copying the INI folder completely, and copy the other folders only. Hope that helps! #SingleInstance, Force Nam...
by TheDewd
10 Dec 2019, 16:56
Forum: Ask For Help
Topic: Create button with arrow Topic is solved
Replies: 2
Views: 229

Re: Create button with arrow Topic is solved

Did you want a menu? See below: #SingleInstance, Force Menu, ButtonMenu, Add, Option 1, MenuHandler Menu, ButtonMenu, Add, Option 2, MenuHandler Menu, ButtonMenu, Add, Option 3, MenuHandler Menu, ButtonMenu, Add, Option 4, MenuHandler Menu, ButtonMenu, Add, Option 5, MenuHandler Menu, ButtonMenu, Ad...
by TheDewd
10 Dec 2019, 16:08
Forum: Ask For Help
Topic: Query String Splitter (Web URL) Topic is solved
Replies: 6
Views: 477

Re: Query String Splitter (Web URL) Topic is solved

teadrinker wrote:
10 Dec 2019, 15:59
Why not like this:

Code: Select all

URL := "http://www.website.com/folder1/folder2/site.aspx?ABC=xxxxxxx&DEF=xxxxxxx&GHI=&JKL=&MNO=&PQR=xxxxxxx&STU=xxxxxxx&VWX="
MsgBox, % RegExReplace(URL, "s).+?(\w+)=([^&]*)", "'$1': $2`n")
Haha! Awesome! :D
by TheDewd
10 Dec 2019, 15:31
Forum: Ask For Help
Topic: Query String Splitter (Web URL) Topic is solved
Replies: 6
Views: 477

Re: Query String Splitter (Web URL) Topic is solved

Perfect! Thank you very much!
by TheDewd
10 Dec 2019, 15:13
Forum: Ask For Help
Topic: Query String Splitter (Web URL) Topic is solved
Replies: 6
Views: 477

Re: Query String Splitter (Web URL) Topic is solved

boiler , Thanks! That works for the example URL, however the actual URL does not use "Param" as the parameter names. Example : http://www.website.com/folder1/folder2/site.aspx?ABC=xxxxxxx&DEF=xxxxxxx&GHI=&JKL=&MNO=&PQR=xxxxxxx&STU=xxxxxxx&VWX= The parameter names could be anything, and the paramete...
by TheDewd
10 Dec 2019, 14:38
Forum: Ask For Help
Topic: Query String Splitter (Web URL) Topic is solved
Replies: 6
Views: 477

Query String Splitter (Web URL) Topic is solved

I have long URLs that contain multiple parameters, sometimes with no value. Example: http://www.website.com/folder1/folder2/site.aspx?Param1=xxxxxxx&Param2=xxxxxxx&Param3=&Param4=&Param5=&Param6=xxxxxxx&Param7=xxxxxxx I want to be able to split each parameter and receive its value. Example: 'Param1'...
by TheDewd
10 Dec 2019, 13:42
Forum: Scripts and Functions
Topic: NotesTREE - Notes manage script
Replies: 2
Views: 595

Re: NotesTREE - fast temporary Notes manage script

FYI -- The unicode emoji characters display differently on different versions of Windows.

https://i.imgur.com/ReCRupD.png

Edition: Windows 10 Enterprise (64-bit)
Version: 1803
OS build: 17134.1069
by TheDewd
19 Nov 2019, 15:23
Forum: Scripts and Functions
Topic: Yet another IP changer
Replies: 1
Views: 663

Re: Yet another IP changer

As a fun exercise, I attempted to make a few improvements to the Gui. 1. Sort the adapters alphabetically. 2. Make the fields ReadOnly unless "Custom" is selected from the preset DropDownList. 3. Show the Gui before getting the adapter names. 4. Add "Status" text. 5. Add preset data to array. I didn...
by TheDewd
19 Nov 2019, 09:37
Forum: Scripts and Functions
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 303
Views: 135909

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

Can you share the code that you use for making the comments (like the line 1 and 125 of your code for example) if you don't do it manually. ozzii , I have the following code added to the "New AutoHotkey Script.ahk" template file. This is the code used when I use " Right-click > New > New AutoHotkey...

Go to advanced search