Search found 843 matches

by GeekDude
20 Oct 2018, 09:22
Forum: Scripts and Functions
Topic: [Script] CodeQuickTester - Write and run code without saving to a temporary file
Replies: 169
Views: 34774

Re: [Script] CodeQuickTester - Write and run code without saving to a temporary file

hotkeyguy wrote:
17 Oct 2018, 14:44
on my desktop PC, CodeQuickTester_v2.7.exe doesn't start. The tray icon is only shortly shown. Notebook no problems. Win 7 64-bit on both machines. No AV issues.
Does the uncompiled version of the script work on both systems?
by GeekDude
16 Oct 2018, 19:52
Forum: Scripts and Functions
Topic: [Script] CodeQuickTester - Write and run code without saving to a temporary file
Replies: 169
Views: 34774

Re: [Script] CodeQuickTester - Write and run code without saving to a temporary file

CyL0N wrote:
16 Oct 2018, 01:08
So..... forum update broke GreaseMonkey it seems.... :problem:
The forum is supposed to return to more or less normal some time soon(TM). Once it does I'll take a look at updating the script.
by GeekDude
10 Oct 2018, 15:58
Forum: Scripts and Functions
Topic: [Script] CodeQuickTester - Write and run code without saving to a temporary file
Replies: 169
Views: 34774

Re: CodeQuickTester

CyL0N When large ammounts of text, quite sluggish & autocomplete doesn't work as expected. To be expected, i suppose... >Additionally incosistent input,where input doesn't appear in order of input,when large amounts of text are in page... CodeQuickTester is not designed to be used for scripts more ...
by GeekDude
04 Oct 2018, 12:21
Forum: Scripts and Functions
Topic: Socket.ahk
Replies: 4
Views: 1877

Re: Socket.ahk

hello. I am an old fart programmer but rusty. I am new to AHK and I need to listen on a socket for an acknowledge from the server before I terminate the client process. how would I do that? also is there a script that listens on a socket and returns everything it "sees"? Hello txiah, welcome to the...
by GeekDude
04 Oct 2018, 11:58
Forum: Scripts and Functions
Topic: [Script] Markdown to BBCode Converter
Replies: 5
Views: 444

Re: [Script] Markdown to BBCode Converter

There are some things I use that the script doesn't seem to support: code blocks which aren't marked except by identation, and lists with indentation and - . Code follows: MsgBox, This is code. List follows: - Item 1 - Item 2 Seems odd to write * at the start of the line for list items. I only wrot...
by GeekDude
24 Aug 2018, 09:59
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 122
Views: 18986

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Can Chrome.ahk be compiled into a stand alone DLL & called from 3rd party software? No, that's what Selenium is. There are other tutorials on this forum for using Selenium with AHK as the 3rd party software, but you can use it with any programming language. How to wait until all elements visible? I...
by GeekDude
24 Aug 2018, 09:41
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 122
Views: 18986

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

Hi, I'm new to automating Chrome with Autohotkey. If I run this script (see below), I get the error "Websocket.ahk cannot be opened" Anybody able to assist me? Make sure you're downloading the release file "Chrome.ahk_vX.Y.zip" from the releases page, not the source code. As you have noticed, GitHu...
by GeekDude
04 Aug 2018, 22:21
Forum: Wish List
Topic: A_ListLines not compatible with ListLines.
Replies: 3
Views: 285

Re: A_ListLines not compatible with ListLines.

VismundCygnus wrote:I think booleans are the better option as well, and I think changing commands which accept On/Off to also accept booleans would be perfect.
I agree :thumbup:
by GeekDude
28 Jul 2018, 22:32
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 122
Views: 18986

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

teadrinker https://github.com/G33kDude/Chrome.ahk/commit/3527616713e19d789d54ba4b8e0de72ef9258164 The fix has been applied and will be present in the next release. Everyone else I've seen your posts but haven't yet gotten to replying. I'll get there eventually, please be patient :thumbup:.
by GeekDude
28 Jul 2018, 12:17
Forum: Ask For Help
Topic: objects: enumerator object queries
Replies: 14
Views: 487

Re: objects: enumerator object queries

- Note: It seems that you can't use a custom enumerator with a for loop For loops expect an object that has a method to return the enumerator, like how I show in this example from my tutorial that you linked further up in this thread. You don't pass the enumerator to the for loop directly. for a, b...
by GeekDude
26 Jul 2018, 21:00
Forum: Scripts and Functions
Topic: [Script] CodeQuickTester - Write and run code without saving to a temporary file
Replies: 169
Views: 34774

Re: [Script] CodeQuickTester - Write and run code without saving to a temporary file

In my opinion, you shouldn’t even support such a small window size. Make the GUI have a minimum size and call it a day. The problem is that the length of the syntax tip is variable, and sometimes very large. Maximizing the amount of space in the status bar for it is my goal and it will be beneficia...
by GeekDude
26 Jul 2018, 14:15
Forum: Scripts and Functions
Topic: [Script] CodeQuickTester - Write and run code without saving to a temporary file
Replies: 169
Views: 34774

Re: [Script] CodeQuickTester - Write and run code without saving to a temporary file

I'm testing out some options for combining them. I tried putting the syntax tip on the left and right-aligning the document info, but the text overlaps when the bar gets too short.

I think the approach shown in this gif makes sense even if it's not "pretty".

Image
by GeekDude
26 Jul 2018, 12:53
Forum: Scripts and Functions
Topic: [Script] CodeQuickTester - Write and run code without saving to a temporary file
Replies: 169
Views: 34774

Re: [Script] CodeQuickTester - Write and run code without saving to a temporary file

Looks good. Now just get rid of the horizontal scrollbar on the gutter. The reason that is there is to keep the vertical dimensions of the gutter the same size as the main body. If it wasn't then the vertical scroll synchronization wouldn't work. Though now that I've typed that out I went to double...
by GeekDude
26 Jul 2018, 10:13
Forum: Scripts and Functions
Topic: [Script] CodeQuickTester - Write and run code without saving to a temporary file
Replies: 169
Views: 34774

Re: [Script] CodeQuickTester - Write and run code without saving to a temporary file

I meant like saving the scripts when you open them from a codebox. So you don't need to download/save them too. A "Get" buttom next to "Open" could do that so you would still have a regular "Open" button as well. A snippet manager could indeed be overkill - a companion app would be nice but maybe t...
by GeekDude
24 Jul 2018, 21:23
Forum: Scripts and Functions
Topic: [Script] CodeQuickTester - Write and run code without saving to a temporary file
Replies: 169
Views: 34774

Re: [Script] CodeQuickTester - Write and run code without saving to a temporary file

Would love to see an auto-saving feature (on load) You mean when you hit run? Should be possible, perhaps even easy, to implement. I'll add it to my list of things to do. snippets manager, optionally with a link to the thread it came from maybe ? This way one can easily load already opened scripts ...
by GeekDude
23 Jul 2018, 17:32
Forum: Scripts and Functions
Topic: [Script] CodeQuickTester - Write and run code without saving to a temporary file
Replies: 169
Views: 34774

Re: [Script] CodeQuickTester - Write and run code without saving to a temporary file

Hi Everyone Love this tool so much... I was wondering if there is a way to 'autosave' your code in the event of something going wrong. AHK Studio has this feature / Sublime too -- some kind of autosave would be brilliant. Many thanks R There's no built in way to auto-save, but I'm working on making...
by GeekDude
14 Jul 2018, 22:29
Forum: Ask For Help
Topic: How can i convert my autohotkey.exe file back to .ahk file?
Replies: 1
Views: 79

Re: How can i convert my autohotkey.exe file back to .ahk file?

Typically you can open the script with an archive tool like 7-Zip or ResourceHacker to extract the AHK source. Another method I've heard people use is to open the exe file in notepad/some other text editor and scroll up from the bottom until you see the AHK source. If there is any distinctive part o...
by GeekDude
14 Jul 2018, 22:21
Forum: Ask For Help
Topic: Negative coordinates result in weird mouse behavior
Replies: 2
Views: 64

Re: Negative coordinates result in weird mouse behavior

There are two ways to write a hotkey. The first is to put a single line of code on the same line as the hotkey definition. This will run the single line of code and then stop. The second way is to put one or more lines of code below the hotkey definition. When you do that it will keep executing line...
by GeekDude
13 Jul 2018, 09:57
Forum: Tips and Tricks
Topic: GeekDude's Tips, Tricks, and Standalones
Replies: 34
Views: 15037

Re: GeekDude's Tips, Tricks, and Standalones

How do you "check/Uncheck" an item in the custom menu bar ? :think: When the function builds your menu out of your array structure, it creates an array and places the name of each menu into it. The indices of the array are in linear order according to where your sub-menus are placed into the array....
by GeekDude
09 Jul 2018, 14:45
Forum: Scripts and Functions
Topic: Extremely irritating MsgBox (bored ...)
Replies: 5
Views: 334

Re: Extremely irritating MsgBox (bored ...)

*&L gets the address of variable L using & then the value of the byte at that address (which is the character code) using * . So, replacing that with Asc(L) for clarity, Asc(L) & 1 is checking whether the last binary digit is 1 or 0 . Even numbers end in binary 0 while odd numbers end in binary 1 ....

Go to advanced search