Search found 1169 matches

by TheDewd
41 minutes ago
Forum: Scripts and Functions
Topic: [Concept] Platform for Interative AHK Tutorials
Replies: 10
Views: 174

Re: [Concept] Platform for Interative AHK Tutorials

--------------------------- New AutoHotkey Script.ahk --------------------------- Error: Failed to start debugger Specifically: WSAE:10013 Line# 017: DBGp_OnBreak("DebugBreak") 018: DBGp_OnEnd("DebugEnd") 019: While,(!StartListening(, startPort)) 020: { 021: if (ErrorLevel == "WSAE:10048") 022: sta...
by TheDewd
Today, 12:57
Forum: Ask For Help
Topic: Autohotkey to AirTable API (read and write data to cloud)
Replies: 1
Views: 36

Re: Autohotkey to AirTable API (read and write data to cloud)

This should help you retrieve data: #SingleInstance, Force ; API_Key: Your personal API key generated from the account page (https://airtable.com/account) ; API_Base: The ID of your Base. Try hovering your mouse cursor over the Base name from the AirTables homepage to see the Base ID in the statusba...
by TheDewd
18 Jan 2019, 08:30
Forum: Ask For Help
Topic: How to remove the border of Tab3?
Replies: 1
Views: 55

Re: How to remove the border of Tab3?

Is this acceptable? Create the tab control, and then add a few white filled rectangles over the tab control to cover the outlines. #SingleInstance, Force Gui, Margin, 0, 0 Gui, Add, Tab3, w400 h400, General|View|Settings Gui, Tab ; Place future controls outside of tab control Gui, Add, Text, x0 y20 ...
by TheDewd
15 Jan 2019, 17:00
Forum: Scripts and Functions
Topic: I was a bit bored so I created a simple script for replacing insert key with virtual desktop switch
Replies: 2
Views: 99

Re: I was a bit bored so I created a simple script for replacing insert key with virtual desktop switch

You can minimize the code a bit:

Code: Select all

#SingleInstance, Force

CurrentDesktop := 1

*Ins::
	Send, % (CurrentDesktop = 1 ? "^#{Right}" : "^#{Left}")
	CurrentDesktop := (CurrentDesktop = 1 ? 2 : 1)
return
by TheDewd
15 Jan 2019, 13:18
Forum: Ask For Help
Topic: automatic file uploader to drivehq
Replies: 1
Views: 63

Re: automatic file uploader to drivehq

Try activating the WebDAV feature, and then map the URL to your computer as a drive.

Then all you have to do is use AutoHotkey to copy the file to the drive, in theory.
by TheDewd
14 Jan 2019, 10:17
Forum: Ask For Help
Topic: Web Form [Radio Button]
Replies: 1
Views: 39

Re: Web Form [Radio Button]

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starti...
by TheDewd
14 Jan 2019, 09:53
Forum: Ask For Help
Topic: t9 script: speed on key input vs lookup table
Replies: 1
Views: 54

Re: t9 script: speed on key input vs lookup table

I don't have a solution for your problem yet, but I wanted to share my attempt at a T9 system. Doesn't use a word dictionary. Single keys, one at a time... #SingleInstance, Force KeyCount := 0 ; Initialize variable Numpad0:: Numpad1:: Numpad2:: Numpad3:: Numpad4:: Numpad5:: Numpad6:: Numpad7:: Numpa...
by TheDewd
14 Jan 2019, 08:56
Forum: Ask For Help
Topic: How to implement an arrow down button?
Replies: 2
Views: 69

Re: How to implement an arrow down button?

#SingleInstance, Force Menu, FileMenu, Add, &Open`tCtrl+O, MenuHandler Menu, FileMenu, Add, E&xit, MenuHandler Menu, HelpMenu, Add, &About, MenuHandler Menu, MyMenu, Add, &File, :FileMenu Menu, MyMenu, Add, &Help, :HelpMenu Gui, Margin, 0, 0 Gui, Add, Button, w80 h23 vBack, Back Gui, Add, Button, x...
by TheDewd
14 Jan 2019, 08:39
Forum: Ask For Help
Topic: loop files Recurse limit levels Topic is solved
Replies: 2
Views: 73

Re: loop files Recurse limit levels Topic is solved

#SingleInstance, Force Loop, Files, *.*, FR { StrReplace(A_LoopFileFullPath, "\", "\", DirCount) If (DirCount = 3) { Continue } MsgBox, % A_LoopFileLongPath } Assuming that your files and directories are setup similar to the list below: <DIR> 1\ <FILE> 1\1.txt <DIR> 1\a\ <FILE> 1\a\a.txt <DIR> 1\b\...
by TheDewd
14 Jan 2019, 08:32
Forum: Ask For Help
Topic: .7z files
Replies: 1
Views: 78

Re: .7z files

You should be able to find many examples here:

https://www.google.com/search?q=site:au ... tract 7zip
by TheDewd
10 Jan 2019, 16:11
Forum: Ask For Help
Topic: Condense a part of a script to be referred to later as a shortcut?
Replies: 5
Views: 124

Re: Condense a part of a script to be referred to later as a shortcut?

#SingleInstance, Force F10:: Loop { Suspend GoSub, Chunk1 Sleep 2000 WinActivate, Google Chrome Sleep 1000 Send, ^f Sleep 1000 SendRaw, Status Sleep 1000 Send, {Escape} Sleep 1000 Send, {Tab} Sleep 1000 Send, {Up 2} Sleep 1000 Send, ^f Sleep 1000 SendRaw, Search by: Sleep 1000 Send, {Escape} Sleep ...
by TheDewd
10 Jan 2019, 14:41
Forum: Ask For Help
Topic: Condense a part of a script to be referred to later as a shortcut?
Replies: 5
Views: 124

Re: Condense a part of a script to be referred to later as a shortcut?

Are you referring to a Label ? #SingleInstance, Force NumCount := 0 Loop, 10 { GoSub, Label1 NumCount++ } Label1: MsgBox, % NumCount return Or Function ? #SingleInstance, Force NumCount := 0 Loop, 10 { Function1(5) } Function1(Num) { Global NumCount NumCount := NumCount + Num MsgBox, % NumCount }
by TheDewd
07 Jan 2019, 14:25
Forum: Ask For Help
Topic: Firefox close tab if there is no more history
Replies: 1
Views: 80

Re: Firefox close tab if there is no more history

You could try using the ACC library. I don't have a lot of experience with ACC, but I attempted to create an example for you. Try using the hotkey Alt+Left Arrow in Mozilla Firefox. It should navigate backwards until there is no more history, then it will close. Tested on Firefox 64.0 (64-bit) on Wi...
by TheDewd
07 Jan 2019, 12:19
Forum: Ask For Help
Topic: Add an additional item to a gui combobox
Replies: 3
Views: 79

Re: Add an additional item to a gui combobox

Here's one way to do it... #SingleInstance, Force ListArray := ["apple", "banana", "orange", "strawberry"] For K, V In ListArray { List .= V "|" } Gui, +AlwaysOnTop Gui, Add, Combobox, vNew_Fruit w150 Sort Choose1, % List Gui, Add, Button, x+10 Default gAdd, Submit Gui, Show return Add: Gui, Submit,...
by TheDewd
04 Jan 2019, 16:28
Forum: Ask For Help
Topic: FileSelectFile - hide files from being selected
Replies: 2
Views: 82

Re: FileSelectFile - hide files from being selected

If the selected filename matches, the SelectedFile variable will be blank, otherwise it will contain the path to the selected file. So, it's not "hidden", but if you select it the filename will not be saved to variable. This is for single-file select only as per your example. #SingleInstance, Force ...
by TheDewd
04 Jan 2019, 14:04
Forum: Ask For Help
Topic: Batch printing SWF to PDF
Replies: 4
Views: 204

Re: Batch printing SWF to PDF

As earlier suggested, use a Loop to find the files from a specified directory. You could then Navigate() to the file using ActiveX Shell.Explorer and automatically print to the default printer, assuming that you have a virtual PDF printer driver installed. If you can configure the printer to just pr...
by TheDewd
04 Jan 2019, 12:07
Forum: Ask For Help
Topic: What do i need to do to save my hotkey and on off status for next startup Topic is solved
Replies: 5
Views: 135

Re: What do i need to do to save my hotkey and on off status for next startup Topic is solved

hi i seam to have jumped the gun, i had not noticed my copy label is gone and that is where i would add the code for one of the hotkeys (in this case copy) where do i add my code now? edit: got it noob in action Look at the HotkeyAction label. See where I've added the ToolTip similar to your earlie...
by TheDewd
04 Jan 2019, 11:48
Forum: Ask For Help
Topic: Escape character error in RegExMatch Topic is solved
Replies: 2
Views: 87

Re: Escape character error in RegExMatch Topic is solved

Put quotes around your needle, and escape the last forward-slash by adding a back-slash before it. If "string" is a variable, you should remove the quotes around it, otherwise the match will be performed on "string" literally. RegExMatch("string", "[a-zA-Z0-9-_\.~!\(\)\/]") ; Show characters matchin...

Go to advanced search