Search found 921 matches

by TheDewd
Today, 14:23
Forum: Ask For Help
Topic: More than one ampersand
Replies: 2
Views: 31

Re: More than one ampersand

Try this:

Hold down LButton & RButton, then press MButton.

Code: [Select all]GeSHi © Codebox Plus

MButton::
If (GetKeyState("LButton", "P"))
&& (GetKeyState("RButton", "P")) {
Send, Test
}
return


EDIT: Fixed Copy/Paste error.
by TheDewd
Today, 11:27
Forum: Ask For Help
Topic: Prevent/disable text selection in Edit control?
Replies: 9
Views: 85

Re: Prevent/disable text selection in Edit control?

maybe just use disabled ? Disabling an edit control will change its appearance which I don't want. The edit is ReadOnly, but I've customized the background color and text color to look like a normal edit control. I'm not sure how I would make a disabled control look normal. One option I've consider...
by TheDewd
Today, 11:03
Forum: Ask For Help
Topic: Prevent/disable text selection in Edit control?
Replies: 9
Views: 85

Prevent/disable text selection in Edit control?

Is it possible to prevent a user from selecting the text (highlighting) in a ReadOnly edit control?

I'm having trouble finding an answer. It seems that most people want to select text -- not prevent selection.

Any ideas? Thanks!
by TheDewd
Today, 09:13
Forum: Ask For Help
Topic: Help to extract value from HTML
Replies: 5
Views: 88

Re: Help to extract value from HTML

I don't understand how separate lines will be any different. My previous solution will work exactly the same. Can you be more specific about the formatting of the HTML? #SingleInstance, Force HTML = (LTrim <div class="field_81"><div class="kn-detail-label"><span>ICD C</span></div...
by TheDewd
Yesterday, 16:22
Forum: Offtopic
Topic: Simple game creation competition?
Replies: 4
Views: 80

Re: Simple game creation competition?

I think the first project should be simple to understand. What about a text adventure like ZORK? Create an array of acceptable verbs, nouns, locations, etc.
by TheDewd
Yesterday, 12:36
Forum: Ask For Help
Topic: Reading special characters from file.
Replies: 1
Views: 42

Re: Reading special characters from file.

Instead of using Send, %Clipboard%, try sending the hotkey for paste Send, ^v (Ctrl + V)

AutoHotkey is likely thinking that # is a hotkey and attempting to send the hotkey instead of the copied text.
by TheDewd
Yesterday, 12:31
Forum: Ask For Help
Topic: Radio Options for Web Search
Replies: 4
Views: 55

Re: Radio Options for Web Search

#SingleInstance, Force Gui, Margin, 10, 10 Gui, Add, Text,, Search what? Gui, Add, Radio, Section gCheck vRadioGroup Checked, All Gui, Add, Radio, gCheck, Activies Gui, Add, Radio, gCheck, Agreements Gui, Add, Radio, gCheck, Companies Gui, Add, Radio, Section xs+120 ys gCheck, Configurations Gui, A...
by TheDewd
Yesterday, 12:04
Forum: Ask For Help
Topic: Radio Options for Web Search
Replies: 4
Views: 55

Re: Radio Options for Web Search

If the URL has the percent symbol, you must escape it by appending " ` " before the percent. See below: VarURL = "https://portal.my-domain.com/v4_6_release/connectwise.aspx?fullscreen=false&locale=en_US#startscreen=navigationsearch&state={`%22p`%22:`%22navigationsearch`%22,`%2...
by TheDewd
Yesterday, 12:01
Forum: Ask For Help
Topic: Middle mouse button alternation help please
Replies: 2
Views: 41

Re: Middle mouse button alternation help please

Code: [Select all]GeSHi © Codebox Plus

#SingleInstance, Force

NumVar := 0

MButton::
NumVar := !NumVar
MsgBox, % (NumVar ? 2 : 3)
return
by TheDewd
Yesterday, 11:57
Forum: Ask For Help
Topic: Return Yesterdays date
Replies: 2
Views: 52

Re: Return Yesterdays date

Yes. https://www.google.com/search?q=site:autohotkey.com+yesterday's+date

Code: [Select all]GeSHi © Codebox Plus

EnvAdd, Yesterday, -1, days
FormatTime, Yesterday, %Yesterday%, yyyyMMdd
MsgBox, %Yesterday%
by TheDewd
Yesterday, 11:54
Forum: Ask For Help
Topic: Help to extract value from HTML
Replies: 5
Views: 88

Re: Help to extract value from HTML

#SingleInstance, Force HTML = (LTrim <div class="field_81"> <div class="kn-detail-label"> <span>ICD C</span> </div> </div> <div class="field_81"> <div class="kn-detail-body"> <span>H25.13</span> </div> </div> </div> </div> </div> </div> <div class="kn-de...
by TheDewd
Yesterday, 11:18
Forum: Ask For Help
Topic: If Var is upper exhibiting weird behaviour
Replies: 2
Views: 45

Re: If Var is upper exhibiting weird behaviour

Am I correctly understanding the purpose of your script? #SingleInstance, Force MyText := "this is A tEst" MsgBox, % MyFunction(MyText) MyFunction(String) { If (RegExMatch(String, "([A-Z])")) { ; If text contains capital letter --> convert all to lowercase and apply sentence-case...
by TheDewd
Yesterday, 10:58
Forum: Ask For Help
Topic: Delete list function for 2 listview in GUI**Need Help Topic is solved
Replies: 2
Views: 56

Re: Delete list function for 2 listview in GUI**Need Help Topic is solved

Example: #SingleInstance, Force Menu, MyContextMenu, Add, Delete, Delete Gui, Margin, 10, 10 Gui, Add, ListView, w600 r10 vList1, Name|Date Created Gui, Add, ListView, y+10 wp hp vList2, Name|Date Created Gui, Show, AutoSize, Example ; Add items to ListView 1 ========================================...
by TheDewd
Yesterday, 10:03
Forum: Offtopic
Topic: Simple game creation competition?
Replies: 4
Views: 80

Re: Simple game creation competition?

I don't yet know about enforcing any conditions other than having to use AutoHotkey to create the game. I also don't know that "competition" is the best word to use to describe this project. It probably doesn't have to be a contest, or have a specific end date. We could just decide on an i...
by TheDewd
Yesterday, 09:45
Forum: Offtopic
Topic: Simple game creation competition?
Replies: 4
Views: 80

Simple game creation competition?

Would anyone be interested in participating in a simple game development project? Users would decide on a specific game idea, and then each user would attempt to create a game based on the chosen idea. The same user could submit multiple version of their project if desired. The goal is that there is...
by TheDewd
Yesterday, 09:20
Forum: Other Utilities & Resources
Topic: mCtrl - Bringing more controls for your Win32API applications
Replies: 1
Views: 70

Re: mCtrl - Bringing more controls for your Win32API applications

I wanted to look at it, but the web filter at my workplace is blocking the download because of "Virus". :(
by TheDewd
19 Jun 2018, 16:13
Forum: Ask For Help
Topic: Script to Find Repeating Words
Replies: 9
Views: 150

Re: Script to Find Repeating Words

You mean like this? #SingleInstance, Force SampleText := "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ips...
by TheDewd
19 Jun 2018, 09:35
Forum: Gaming
Topic: [Game] AHKBAN a Boxxle (Sokoban) clone
Replies: 9
Views: 409

Re: [Game] AHKBAN a Boxxle (Sokoban) clone

Great work! Just for fun, I modified your script to use levels from Bulldozer 1, Bulldozer 2, and Bulldozer 3. :D ; ====================================================================================================================== ; Name: AHKBAN ; Description: a Boxxle (Sokoban) clone ; Topic: h...
by TheDewd
18 Jun 2018, 12:49
Forum: Scripts and Functions
Topic: [GAME] Bulldozer
Replies: 27
Views: 1113

Re: [GAME] Bulldozer

Updated:

Revision 6 (2018-06-18)
  • Added 'Undo Last Move' menu option -- Used only after pushing object
by TheDewd
12 Jun 2018, 15:51
Forum: Scripts and Functions
Topic: [GAME] Bulldozer
Replies: 27
Views: 1113

Re: [GAME] Bulldozer

Updated:

Revision 5 (2018-06-12)
  • Fixed boundary tile being overwritten when pushing boulder into it (Thanks, rommmcek)
  • Added DPI scaling support

Go to advanced search