Search found 980 matches

by TheDewd
17 Aug 2018, 14:35
Forum: Ask For Help
Topic: need help with something that im sure is fairly simple
Replies: 3
Views: 61

Re: need help with something that im sure is fairly simple

I over-complicated the entire thing.... but it's working with your sample data: #SingleInstance, Force ; List of words Words = ( apple orange banana apple orange apple banana orange orange orange orange orange ) ; Copy list of words to another variable WordsUnique := Words ; Sort the copied list to ...
by TheDewd
14 Aug 2018, 18:58
Forum: Ask For Help
Topic: Detect if a web page has completed loading via IE COM calls with check for ReadyState=4 and Busy=False
Replies: 8
Views: 91

Re: Detect if a web page has completed loading via IE COM calls with check for ReadyState=4 and Busy=False

I think he means "Static". Anyway, the other content may be loading dynamically through JavaScript. So, the page itself might actually be 100% complete with main HTML and scripts, then the scripts begin loading the other content afterwards? Just something to consider.
by TheDewd
14 Aug 2018, 16:06
Forum: Ask For Help
Topic: Detect if a web page has completed loading via IE COM calls with check for ReadyState=4 and Busy=False
Replies: 8
Views: 91

Re: Detect if a web page has completed loading via IE COM calls with check for ReadyState=4 and Busy=False

This works for me: IE := ComObjCreate("InternetExplorer.Application") IE.Visible := 1 IE.Navigate("https://www.mlb.com/") While (IE.ReadyState <> 4) || (IE.Busy) { Sleep, 100 } MsgBox, 4096, Page Loaded, % "ReadyState=" IE.ReadyState " Busy=" IE.Busy IE.Quit E...
by TheDewd
14 Aug 2018, 14:19
Forum: Scripts and Functions
Topic: [GAME] Bulldozer
Replies: 43
Views: 2401

Re: [GAME] Bulldozer

Updated: Revision 12 (2018-08-14) ⋅ Fixed 'Undo Last Move' not working for map strings containing only digits A comparison check is performed in the MapUpdate function to determine if the Bulldozer has moved. This is done to avoid populating the 'UndoArray' array when the user moves the B...
by TheDewd
14 Aug 2018, 08:24
Forum: Gaming
Topic: Simon - Automatic Playing
Replies: 1
Views: 34

Re: Simon - Automatic Playing

Simon is an electronic toy with a speaker and lights -- not a computer game, correct?

I know what Simon is... I just want to know what form of the game you are using.
by TheDewd
13 Aug 2018, 16:06
Forum: Scripts and Functions
Topic: Random Number String Generator
Replies: 1
Views: 80

Re: Random Number String Generator

I think this is what you are trying to do... Wanted to give you another example. #SingleInstance, Force ; Allow only one running instance of script N := 10 ; How many random numbers to generate RandStr := "" ; Initialize variable to store combined random number string Loop, % N { ; Loop [N...
by TheDewd
10 Aug 2018, 12:53
Forum: Ask For Help
Topic: Help in testing a script for me
Replies: 1
Views: 50

Re: Help in testing a script for me

Did not work. Windows 7 x64.

Video source window appeared, and I chose my webcam, and then Windows Photo Viewer opened with the message "Windows Photo Viewer can't display this picture because the file is empty."
by TheDewd
07 Aug 2018, 17:51
Forum: Scripts and Functions
Topic: [GAME] Bulldozer
Replies: 43
Views: 2401

Re: [GAME] Bulldozer

@SpeedMaster,

Which Sokoban solver did you use? I'm interested in which is the best. I was going to create solution for all levels but the solvers I tried couldn't find solutions for many of the levels.
by TheDewd
07 Aug 2018, 12:39
Forum: Ask For Help
Topic: How to use QT5?
Replies: 2
Views: 93

Re: How to use QT5?

What about using ActiveX control in AutoHotkey to embed an Internet Explorer window, and then write the image location to the HTML source and refresh the embedded browser? Examples on the forum.
by TheDewd
06 Aug 2018, 16:11
Forum: Scripts and Functions
Topic: [GAME] Bulldozer
Replies: 43
Views: 2401

Re: [GAME] Bulldozer

Updated: Revision 10 (2018-08-06) ⋅ Fixed levels 64 & 127 not showing a target due to bulldozer start location (Bulldozer starts on top of target) ⋅ Added level completed status to the Level Select screen Thanks, SpeedMaster ! Note: Please let me know if any issues with late...
by TheDewd
03 Aug 2018, 22:01
Forum: Ask For Help
Topic: Download file from link with redirect Topic is solved
Replies: 7
Views: 129

Re: Download file from link with redirect Topic is solved

Example: #SingleInstance, Force MyLink := "https://www.bleepingcomputer.com/download/junkware-removal-tool/dl/293/" DownloadLink := BleepingComputerDL(MyLink) MsgBox, % DownloadLink BleepingComputerDL(URL) { WebRequest := ComObjCreate("WinHttp.WinHttpRequest.5.1") WebRequest.Opti...
by TheDewd
02 Aug 2018, 15:34
Forum: Scripts and Functions
Topic: [GAME] Bulldozer
Replies: 43
Views: 2401

Re: [GAME] Bulldozer

I used Run-length encoding from Rosetta to store resolved levels in the ini file. Excellent! I had planned to add this feature in a future release. The original author included this in his 2008 release of the game. I may borrow your code if you don't mind! :) Levels 64 and 127 are unplayable :cry: ...
by TheDewd
02 Aug 2018, 08:40
Forum: Ask For Help
Topic: Download file from link with redirect Topic is solved
Replies: 7
Views: 129

Re: Download file from link with redirect Topic is solved

Cool, but it doesn't work for bleepingcomputer redirect link... any clues how to get that going? bleepingcomputer mirrors are way faster... #SingleInstance, Force WebRequest := ComObjCreate("WinHttp.WinHttpRequest.5.1") WebRequest.Option(6) := False ; No redirects WebRequest.Open("GE...
by TheDewd
02 Aug 2018, 08:25
Forum: Ask For Help
Topic: Suspending a key for a set time.
Replies: 3
Views: 62

Re: Suspending a key for a set time.

My attempt: #SingleInstance, Force EnableToggle := 1 KeyToggle := 1 F6:: EnableToggle := !EnableToggle return $4:: If (EnableToggle = 0) { Send, 4 return } If (KeyToggle = 0) { return } Send, 4 KeyToggle := 0 SetTimer, KeyCheck, -10000 return KeyCheck: KeyToggle := 1 MsgBox, Toggled! return
by TheDewd
02 Aug 2018, 08:06
Forum: Ask For Help
Topic: Download file from link with redirect Topic is solved
Replies: 7
Views: 129

Re: Download file from link with redirect Topic is solved

Example to get redirect URL: #SingleInstance, Force WebRequest := ComObjCreate("WinHttp.WinHttpRequest.5.1") WebRequest.Option(6) := False ; No redirects WebRequest.Open("GET", "https://downloads.malwarebytes.com/file/adwcleaner", false) WebRequest.Send() MsgBox, % WebR...
by TheDewd
01 Aug 2018, 15:24
Forum: Ask For Help
Topic: Problem UrlDownloadToFile Topic is solved
Replies: 1
Views: 42

Re: Problem UrlDownloadToFile Topic is solved

You might not have permission to write the file directly to the root of the C:\ drive.

Try downloading the file to another location, or use the example included in the documentation to save the file to a variable instead of a file.
by TheDewd
31 Jul 2018, 23:28
Forum: Scripts and Functions
Topic: [GAME] Bulldozer
Replies: 43
Views: 2401

Re: [GAME] Bulldozer

Updated.

Made some drastic changes. Removed a lot of "bloat" features I no longer felt belonged in this game.

See main post.
by TheDewd
27 Jul 2018, 22:23
Forum: Ask For Help
Topic: Scrollable GUI (Recent?)
Replies: 1
Views: 79

Scrollable GUI (Recent?)

I've seen a few posts related to scrollable GUI. Most links go to the old forum, and the examples were still very much a proof of concept. Does anyone have any more recent examples that work well? I'm worried that the older examples may contain many errors or not fully support all of the scrolling f...
by TheDewd
26 Jul 2018, 16:17
Forum: Scripts and Functions
Topic: [GAME] Bulldozer
Replies: 43
Views: 2401

Re: [GAME] Bulldozer

Updated:

Revision 8 (2018-07-26)

  • Fixed issue where arrow keys were changing tabs
  • Added additional options to menus
  • Save/Load game states

Hope you enjoy it!
by TheDewd
24 Jul 2018, 07:20
Forum: Scripts and Functions
Topic: [GAME] Bulldozer
Replies: 43
Views: 2401

Re: [GAME] Bulldozer

this could be part of the ini file infinite_undo = 1 Thanks for the suggestion! I'll consider it for the next release. Debug mode ... (Skips the levels correctly, but the script displays the "Level Select" when you try to play.) :cry: Did you make any modifications to the script? Do you h...

Go to advanced search