Search found 1182 matches

by TheDewd
22 minutes ago
Forum: Ask For Help
Topic: WinHttpRequest (An error occurred in the secure channel support)
Replies: 6
Views: 255

Re: WinHttpRequest (An error occurred in the secure channel support)

You could try this: oHTTP := ComObjCreate("MSXML2.XMLHTTP.6.0") Error: 0x80070005 - Access is denied. Source: msxml6.dll Description: Access is denied. HelpFile: (null) HelpContext: 0 Specifically: Send Line# 017: WebRequest.SetRequestHeader("X-Requested-With", "XMLHttpRequest") 018: WebRequest.Set...
by TheDewd
13 Feb 2019, 15:14
Forum: Ask For Help
Topic: Internet Explorer Save Open Cancel Popup
Replies: 12
Views: 3084

Re: Internet Explorer Save Open Cancel Popup

What you have to do is invoke the down arrow (e.g. via Acc), and then invoke the menu item (e.g. via Acc or via sending keypresses to it). I can't get it to click the "Save" drop down arrow consistently. If I show the MsgBox before sending the click, it works fine. MsgBox, % vIsVisible " " oAcc.acc...
by TheDewd
12 Feb 2019, 09:35
Forum: Ask For Help
Topic: IE COM fire click event
Replies: 16
Views: 692

Re: IE COM fire click event

@euras, Did you ever find a solution? I'm trying to automate the report viewer in my work environment also. I want to script exporting a SQL report to Excel automatically. <a title="Excel" alt="Excel" onclick="$find('ReportViewer1').exportReport('EXCELOPENXML');" href="javascript:void(0)" style="col...
by TheDewd
01 Feb 2019, 12:21
Forum: Ask For Help
Topic: Need a simple GUI that can filter all columns while typing Topic is solved
Replies: 4
Views: 154

Re: Need a simple GUI that can filter all columns while typing Topic is solved

...it didn't have the type of search I wanted. What kind of search did you want? Do you mean because it doesn't include wildcard search? Does the search work on multiple columns? How extensive was your testing? It appears to work for me. what's the difference between words and characters? I don't u...
by TheDewd
01 Feb 2019, 09:29
Forum: Ask For Help
Topic: VBA to Ahk remove duplicates
Replies: 5
Views: 202

Re: VBA to Ahk remove duplicates

Code: Select all

#SingleInstance, Force

xlApp := ComObjActive("Excel.Application")
xlApp.ActiveSheet.Range("A1:G13").RemoveDuplicates(1, 1) ; Columns = 1, xlYes = 1
by TheDewd
29 Jan 2019, 15:16
Forum: Ask For Help
Topic: What's wrong with my capitalise function?
Replies: 7
Views: 317

Re: What's wrong with my capitalise function?

SendInput, % RegExReplace(Format("{:T}", Clipboard), "\r\n?|\n\r?", "`n") We're using Format() to modify the CASE of the Clipboard text, then we pass the formatted returned value to the RegExReplace which is replacing the "carriage return" & "new line feed" combo with just a single "new line" chara...
by TheDewd
25 Jan 2019, 11:42
Forum: Scripts and Functions
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 275
Views: 82103

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

SL5 wrote:
24 Jan 2019, 17:47
what do you think about electron?
https://www.youtube.com/watch?v=mr9Mtm_TRpw&t=893s

Very interesting... A lot of apps made with Electron, including some well-known apps.
https://electronjs.org/apps

The other benefit is that it can create apps that are cross-platform.
by TheDewd
22 Jan 2019, 16:29
Forum: Ask For Help
Topic: Stacking up GUIS
Replies: 2
Views: 147

Re: Stacking up GUIS

I'm not sure if I understood your request... Here's an example that will open PNG images in a folder: #SingleInstance, Force #Persistent ListImages := "" SetTimer, Timer1, 1000 GoSub, Timer1 return Timer1: Loop, Files, C:\Users\User\Downloads\Photos\*.png, F { ListImages .= A_LoopFileLongPath "`n" }...
by TheDewd
22 Jan 2019, 15:47
Forum: Ask For Help
Topic: What's wrong with my capitalise function?
Replies: 7
Views: 317

Re: What's wrong with my capitalise function?

::]up1:: SendInput, % RegExReplace(Format("{:T}", Clipboard), "\r\n?|\n\r?", "`n") return Example to customize formatting options per line: ::]up2:: FormattedText := "" StrReplace(Clipboard, "`n", "`n", LineCount) LineCount := LineCount + 1 Loop, Parse, Clipboard, `n, `r { If (A_Index = LineCount) ...
by TheDewd
22 Jan 2019, 14:16
Forum: Ask For Help
Topic: Autohotkey to AirTable API (read and write data to cloud) Topic is solved
Replies: 5
Views: 241

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

Here's an example to create a new record on an existing Table. In my table, I have a column created using "Name" as the column name. "MySampleText" is the text to be inserted in the "Name" column. #SingleInstance, Force API_Key := "keyXXXXXXXXXXXXXX" API_Base := "appXXXXXXXXXXXXXX" API_Table := "MyT...
by TheDewd
22 Jan 2019, 13:05
Forum: Ask For Help
Topic: On/Off
Replies: 1
Views: 81

Re: On/Off

Here's an example using F12 to toggle the hotkey on/off.

Code: Select all

#SingleInstance, Force

Toggle := 0

F12::
	Toggle := !Toggle
return

#IF (Toggle = 1)
ą::
	Send, t/vartoti {enter}
	Sleep, 100
	Send, {down}
	Sleep, 60
	Send, {enter}
return
#IF
by TheDewd
21 Jan 2019, 16:48
Forum: Ask For Help
Topic: Time in string
Replies: 2
Views: 122

Re: Time in string

Code: Select all

FileCopy, tranceiver0.wav, %myfile%
by TheDewd
21 Jan 2019, 14:08
Forum: Scripts and Functions
Topic: [Concept] Platform for Interative AHK Tutorials
Replies: 10
Views: 459

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
21 Jan 2019, 12:57
Forum: Ask For Help
Topic: Autohotkey to AirTable API (read and write data to cloud) Topic is solved
Replies: 5
Views: 241

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

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: 103

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: 187

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: 108

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: 83

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: 95

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...

Go to advanced search