Search found 1194 matches

by TheDewd
Yesterday, 09:16
Forum: Ask For Help
Topic: GUI to crop images?
Replies: 5
Views: 83

Re: GUI to crop images?

These are the functions you'll need to crop an image using GDIP. I've extracted only the required GDIP functions from the GDIP library to include with this code. Hopefully this will help you get started. #SingleInstance, Force pToken := Gdip_Startup() pBitmap := Gdip_CreateBitmapFromFile("InputImage...
by TheDewd
Yesterday, 08:54
Forum: Scripts and Functions
Topic: [GAME] REGEX FROGGER
Replies: 17
Views: 1305

Re: [GAME] REGEX FROGGER

WM_KEYDOWN() works but I couldn't get rid of the default windows "ding" sound alert (for WAZD keys). :think: I had the same issue. The solution is to add a read-only edit control to your GUI with the width and height both set to 0px to make it "hidden". Then, in WM_KEYDOWN(), use GuiControl to set ...
by TheDewd
24 Apr 2019, 10:11
Forum: Scripts and Functions
Topic: [GAME] REGEX FROGGER
Replies: 17
Views: 1305

Re: [GAME] REGEX FROGGER

Nice improvements! Suggestion: Only activate the hotkeys while the game window is active in the foreground. I noticed while the game window was in the background, and I was typing into another application, I still heard the midi sound effects triggering. Look at how I capture hotkeys in my game (you...
by TheDewd
28 Mar 2019, 16:04
Forum: Scripts and Functions
Topic: [Game] Bulldozer
Replies: 50
Views: 6329

Re: [Game] Bulldozer

Updated: Revision 16 (2019-03-28) Added option to toggle tile layering for custom themes using transparency Added hotkey F12 to save screenshot as PNG Added documentation for game INI Validation to ignore invalid settings Check out the GitHub! Updating information and adding additional files there!...
by TheDewd
13 Mar 2019, 16:17
Forum: Offtopic
Topic: Zelda Game Demo
Replies: 0
Views: 167

Zelda Game Demo

I had another attempt at creating a tile-based game engine using AutoHotkey. I used the "Legend of Zelda" NES game tiles and sprites as a template. I don't want to continue this project anymore, so I thought I'd post the unfinished script here in case anyone else wants to finish it. I just don't hav...
by TheDewd
01 Mar 2019, 17:15
Forum: Scripts and Functions
Topic: [Game] Bulldozer
Replies: 50
Views: 6329

Re: [Game] Bulldozer

Updated: Revision 15 (2019-03-01) Fixed background color chooser not saving custom color selections Fixed bugs with MidiSound() function Added sound effects for "Undo Last Move" Fixed tile layering issue for custom themes ( Thanks, SpeedMaster! ) Added menu icons Changed "Level Select" layout Added...
by TheDewd
28 Feb 2019, 12:07
Forum: Ask For Help
Topic: A* Pathfinding
Replies: 5
Views: 282

Re: A* Pathfinding

@Helgef,

Perfect! This is exactly what I needed. You're a lifesaver!

I don't know how I missed that in my Google search.

Edit: Actually, the one issue I find is that if the start and end positions are next to each other, there is no path.
by TheDewd
28 Feb 2019, 11:37
Forum: Ask For Help
Topic: A* Pathfinding
Replies: 5
Views: 282

A* Pathfinding

I'm trying to implement A* Pathfinding into a tile-based game script I've been developing, however all of the examples I can find for AutoHotkey are dead links. Does anyone have any examples, or backups of scripts like the one linked below?: https://autohotkey.com/board/topic/36169-pathfinder-04-aal...
by TheDewd
22 Feb 2019, 17:15
Forum: Other Programming Languages
Topic: Excel VBA Macro
Replies: 3
Views: 355

Re: Excel VBA Macro

Here's a try. Cheers. Excellent! It definitely helped me get closer to where I wanted to be. My issue now is how to make this code work when there is no values entered for a group. For example, if the user only inputs values for Group 1 & Group 2, but Group 3 & Group 4 are empty, how do I avoid the...
by TheDewd
22 Feb 2019, 15:47
Forum: Other Programming Languages
Topic: Excel VBA Macro
Replies: 3
Views: 355

Excel VBA Macro

I want to create an Excel VBA Macro, but I need some help. I could make an AutoHotkey script easily, but I'm afraid to admit that I'm a novice at VBA. I have several cells on the worksheet that contain a "start" and "end" number value. They are in groups. Group 1 Start & End, Group 2 Start & End, Gr...
by TheDewd
21 Feb 2019, 16:00
Forum: Ask For Help
Topic: WinHttpRequest (An error occurred in the secure channel support)
Replies: 16
Views: 743

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

@teadrinker,

Thanks! Unfortunately, I'm using a laptop provided by my workplace, and installing that application requires Administrator privileges that I don't have.

I'm due for a new laptop soon, so hopefully that issue will already be patches on the new machine.
by TheDewd
21 Feb 2019, 14:16
Forum: Ask For Help
Topic: WinHttpRequest (An error occurred in the secure channel support)
Replies: 16
Views: 743

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

tank wrote:What OS / Browser are you using
Windows 7 Enterprise Service Pack 1 64-bit

Internet Explorer 11.0.9600.19236
Update Versions: 11.0.105 (KB4480965)
by TheDewd
21 Feb 2019, 12:22
Forum: Ask For Help
Topic: WinHttpRequest (An error occurred in the secure channel support)
Replies: 16
Views: 743

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: 13
Views: 3585

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

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

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

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

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: 276
Views: 88234

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.

Go to advanced search