Search found 160 matches
- 14 Sep 2017, 12:33
- Forum: Ask for Help (v1)
- Topic: How to dispose of a class instance?
- Replies: 2
- Views: 1370
How to dispose of a class instance?
I have a class that will be instantiated many times where those instantiations may become unused but continue to pile up new ones thus wasting resources. What is the proper way to dispose of an instance? Do you use a method in the class to destroy an instance by simply calling it via that instance? ...
- 24 Aug 2017, 10:04
- Forum: Scripts and Functions (v1)
- Topic: Edit Numbers With . [AHK_L 1.1]
- Replies: 7
- Views: 2115
Re: Edit Numbers With . [AHK_L 1.1]
It might be useful to replace the parameter 'Negative' with "Allow" or "Disallow" to let the caller decide which characters to accept and reject. It could be a list to be parsed or a regex expression. This way it would be easy to allow, say "$" for currency. It would need a new class name but it wou...
- 04 Aug 2017, 09:37
- Forum: Scripts and Functions (v1)
- Topic: Mouse And Keyboard Macro Recorder
- Replies: 147
- Views: 229916
Re: Mouse And Keyboard Macro Recorder v3.5
A couple of suggestions: I find that I want to save macros for future use. I name my macros with the extension ".ahm". It would be nice if your program had an open/save/saveas feature for creating/using/editing macros. The user could name therm whatever they wanted. The user can associate the .ahm w...
- 13 Jul 2017, 15:54
- Forum: Scripts and Functions (v1)
- Topic: Mouse And Keyboard Macro Recorder
- Replies: 147
- Views: 229916
Re: Macro Record of Mouse and Keyboard v1.5
Hi,
I needed to comment out the line 282
Appending the ahk_class name to the window title did not work for me. In my scripts I usually use one or the other but not both.
Relayer
I needed to comment out the line 282
Code: Select all
. (class ? " ahk_class " . class : "")
Relayer
- 26 Jun 2017, 09:08
- Forum: Ask for Help (v1)
- Topic: "Things" triggered by docking??
- Replies: 0
- Views: 416
"Things" triggered by docking??
Hi, Windows 7 64 ahk v.1.1.25.02 I've noticed something strange lately that I thought I'd put up for comment. I use dual monitors when my notebook is on the docking station. I recently had one of them go on the fritz. After replacing it with another Dell of the same type I noticed that whenever I go...
- 08 May 2017, 08:23
- Forum: Scripts and Functions (v1)
- Topic: Dock - Attach a window to another
- Replies: 29
- Views: 16370
Re: Dock - Attach a window to another
Soft,
I would just like to check on what is expected behavior. I notice that if I move the Notepad window it undocks. It then JUMPS to re-dock when I go to move the parent window. Can you confirm that is intended.
Relayer
I would just like to check on what is expected behavior. I notice that if I move the Notepad window it undocks. It then JUMPS to re-dock when I go to move the parent window. Can you confirm that is intended.
Relayer
- 09 Mar 2017, 17:47
- Forum: Scripts and Functions (v1)
- Topic: alphabet icons
- Replies: 8
- Views: 12505
Re: alphabet icons
Thank you! It would be real nice if the icons were in a single file for downloading!
Relayer
Relayer
- 17 Feb 2017, 11:51
- Forum: Scripts and Functions (v1)
- Topic: A collection of small ahk functions
- Replies: 78
- Views: 59050
Re: A collection of small ahk functions
jNizM,
So I assume it will not reload a script that had a sub-component change like a library or an included file? Seems that one would need to pass the function an argument containing the names of all used files but that is not easy to keep up to date.
Relayer
So I assume it will not reload a script that had a sub-component change like a library or an included file? Seems that one would need to pass the function an argument containing the names of all used files but that is not easy to keep up to date.
Relayer
- 07 Feb 2017, 14:14
- Forum: Editors
- Topic: [Hotstrings] Expand parameters for AHK's functions, commands and directives.
- Replies: 25
- Views: 38553
Re: [Hotstrings] Expand parameters for AHK's functions, commands and directives.
Helgef,
Small bug... example is 'loop' does not toggle through all of the defined hotkeys because some of them are typed with an alphanumeric preceding them as opposed to a space. The :O: in that case needs to be :O?: in order for the next one to trigger.
Relayer
Small bug... example is 'loop' does not toggle through all of the defined hotkeys because some of them are typed with an alphanumeric preceding them as opposed to a space. The :O: in that case needs to be :O?: in order for the next one to trigger.
Relayer
- 17 Jan 2017, 16:31
- Forum: Other Utilities & Resources
- Topic: forum/threaded discussion software
- Replies: 3
- Views: 4617
forum/threaded discussion software
I need some advice. I have been chosen to lead a project and get very frustrated with email (Outlook) as a project management tool. It is chaos and it excludes many team members from contributing. I like the idea of a threaded discussion tool so that everyone can get involved and have access to proj...
- 12 Jan 2017, 20:57
- Forum: Ask for Help (v1)
- Topic: Is "callback" a restricted word?
- Replies: 2
- Views: 638
Re: Is "callback" a restricted word?
Never mind... silly me, I had a class variable named the same thing. I make that mistake a lot. I mistakenly give a method the same name as a variable in the class and it chokes.
- 12 Jan 2017, 18:06
- Forum: Ask for Help (v1)
- Topic: Is "callback" a restricted word?
- Replies: 2
- Views: 638
Is "callback" a restricted word?
Hi, I noticed if I name a method in a class object 'callback()' that it will not run when invoked but it will run if I change it to 'setCallback()'. I couldn't find in the documentation a set of restricted names for variables/functions besides the obvious ones that are built in. I don't suppose ther...
- 24 Dec 2016, 09:48
- Forum: Ask for Help (v1)
- Topic: Error creating GUI edit control with large string
- Replies: 2
- Views: 1032
Re: Error creating GUI edit control with large string
Thanks for the explanation!
Relayer
Relayer
- 23 Dec 2016, 15:49
- Forum: Ask for Help (v1)
- Topic: Error creating GUI edit control with large string
- Replies: 2
- Views: 1032
Error creating GUI edit control with large string
Hi, This is just an observation and not a request for help... I use a function that creates a GUI with an edit control for viewing the contents of variables for simple debugging. My function creates the edit control and then populates it by making the last parameter "% text" where 'text' contains th...
- 06 Dec 2016, 10:14
- Forum: Ask for Help (v1)
- Topic: ComObjActive is not working as expected...
- Replies: 22
- Views: 6637
Re: ComObjActive is not working as expected...
I use the com interface of Excel extensively using AHK. I recently had the need to duplicate a computer with all the same functionality that I have on my main machine. I specifically selected a machine that best matches the original machine with some small differences: windows 7 professional vs. win...
- 24 Nov 2016, 10:43
- Forum: Ask for Help (v1)
- Topic: ScreenClip2Win FileSelectFile crashing problem
- Replies: 2
- Views: 774
Re: ScreenClip2Win FileSelectFile crashing problem
Looks like this slipped off the first page without any replies. It is an interesting failure. A search of crashes during a file select dialog suggests that there may be something in windows. There is also a submission to the AHK forums mentioning something similar with a confirmation made by Tank. h...
- 23 Nov 2016, 11:25
- Forum: Ask for Help (v1)
- Topic: ScreenClip2Win FileSelectFile crashing problem
- Replies: 2
- Views: 774
ScreenClip2Win FileSelectFile crashing problem
I have modified a great script posted by Joe Glines that takes screen clips and places them on the desktop as a gui. The modification I made was to add a context menu that would allow me to operate on any one of the multiple open clips. One of the features I was going to add was a way to save it to ...
- 09 Nov 2016, 16:33
- Forum: Ask for Help (v1)
- Topic: Confused by copy of object vs. clone()
- Replies: 4
- Views: 1817
Re: Confused by copy of object vs. clone()
Thanks guys.
- 09 Nov 2016, 16:06
- Forum: Ask for Help (v1)
- Topic: Confused by copy of object vs. clone()
- Replies: 4
- Views: 1817
Confused by copy of object vs. clone()
I have been writing a lot scripts to do various things in Excel lately. I often save data in case of a desire to undo something that was done. SafeArrays and objects make for a convenient way to handle blocks of data. The documentation clearly says that a copy of an object, say objB made from anothe...
- 01 Nov 2016, 14:09
- Forum: Scripts and Functions (v1)
- Topic: ToolTipFont / ToolTipColor - options for the ToolTip command
- Replies: 92
- Views: 52199
Re: ToolTipFont / ToolTipColor - options for the ToolTip command
I have been using the Fnt library for this. It has functions that return size given the text you want to display. https://autohotkey.com/boards/viewtopic.php?t=4379Yes, this is after displaying! What about beforehand?
Relayer