| View previous topic :: View next topic |
| Author |
Message |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10716
|
Posted: Thu Sep 24, 2009 12:32 pm Post subject: |
|
|
| jaco0646 wrote: | The documentation for A_EndChar notes that it only applies to non-auto-replace hotstrings. For consistency, A_ThisHotkey should have the same note.
EDIT: ...unless it's an easy fix to make, but that's an item for the Wish List.  | Thanks; I've fixed that.
It seems best not to change its behavior because conceivably it could break existing scripts. |
|
| Back to top |
|
 |
jaco0646
Joined: 07 Oct 2006 Posts: 3113 Location: MN, USA
|
Posted: Wed Sep 30, 2009 10:42 pm Post subject: |
|
|
| AHK Help File wrote: | | ...the status bar's background color may be changed by specifying in Options the word Background followed immediately by a color name... | It should be noted that a StatusBar's color can only be changed if it has no theme.
| Code: | | Gui, Add, StatusBar, BackgroundRed -Theme ;will not work without "-Theme" |
Edit:
I guess the problem was reported a couple years ago: StatusBar Background Problem [Solved-Windows Bug].
Edit2:
Similar to the above, a StatusBar's theme must be removed for it to accomodate different font sizes, else the control will not resize.
In addition, none of the options under Positioning and Sizing of Controls apply to the StatusBar control. This should probably just be documented as, "StatusBars cannot be positioned or sized." Furthermore, controls cannot be positioned or sized relative to a StatusBar. |
|
| Back to top |
|
 |
temp01
Joined: 09 Jul 2009 Posts: 120
|
Posted: Tue Oct 06, 2009 11:58 pm Post subject: |
|
|
WinSetTitle, WinTitle, WinText, NewTitle [, ExcludeTitle, ExcludeText]
| WinTitle wrote: | | The title or partial title of the target window (the matching behavior is determined by SetTitleMatchMode). If this and the next 3 parameters are omitted, the Last Found Window will be used. If this is the letter A and the next 3 parameters are omitted, the active window will be used. |
The "next 3 parameters are omitted" part doesn't really apply to WinSetTitle because of the NewTitle parameter. |
|
| Back to top |
|
 |
sinkfaze
Joined: 18 Mar 2008 Posts: 5044 Location: the tunnel(?=light)
|
Posted: Wed Oct 21, 2009 4:41 pm Post subject: |
|
|
A slightly vague portion of the manual under the 'ddd' option for FormatTime, it doesn't specifically state that the 'ddd' option produces a 3-letter abbreviation (although it is implied). The information available for this option should be at least the equivalent of the similar A_DDD variable. Original:
Proposed:
| Quote: | | Day of the week's 3-letter abbreviation in the current user's language, e.g. Sun |
_________________ Try Quick Search for Autohotkey or see the tutorial for newbies. |
|
| Back to top |
|
 |
svi
Joined: 09 Oct 2006 Posts: 236 Location: Finland
|
Posted: Thu Nov 05, 2009 7:04 am Post subject: |
|
|
I agree, the information should be the equivalent of the similar A_DDD variable, so the phrase "3-letter" should be removed from "Variables and Expressions->Built-in Variables->A_DDD" description, because the abbreviation is not three letters in every language.
In finnish it's ony two letters
There's also an error in the A_DDD link: | decompiled AutoHotkey.chm (Index.hhk) wrote: | | Code: | <LI> <OBJECT type="text/sitemap">
<param name="Name" value="A_DDD">
<param name="Local" value="docs/Variables.htm#DDDD">
</OBJECT> |
|
_________________ Pekka Vartto |
|
| Back to top |
|
 |
a_h_k
Joined: 02 Feb 2008 Posts: 627
|
|
| Back to top |
|
 |
SoLong&Thx4AllTheFish
Joined: 27 May 2007 Posts: 4999
|
|
| Back to top |
|
 |
a_h_k
Joined: 02 Feb 2008 Posts: 627
|
Posted: Wed Dec 16, 2009 8:36 am Post subject: The Asc() and Chr() functions |
|
|
Should the functions Asc() (& maybe Chr() also) be under "String Management" in the Help?
Edit: Have just found that they are within "Functions" node (which i never look in)
Last edited by a_h_k on Thu Jan 14, 2010 5:26 am; edited 1 time in total |
|
| Back to top |
|
 |
MikeC Guest
|
Posted: Wed Dec 23, 2009 11:03 pm Post subject: |
|
|
Please add something to the GuiControl page about how to change a control on a 2nd Gui window.
Just something like this would be fine:
GuiControl, 2:Disable, example
Idea from here: http://www.autohotkey.com/forum/post-319673.html |
|
| Back to top |
|
 |
nick
Joined: 24 Aug 2005 Posts: 549 Location: Berlin / Germany
|
Posted: Sun Dec 27, 2009 7:40 am Post subject: Click command syntax line |
|
|
Wouldn't it be nice to have a "CommandSyntax" line for the Click command too? _________________ nick  |
|
| Back to top |
|
 |
Tyrsius
Joined: 09 Jul 2009 Posts: 140
|
Posted: Fri Jan 08, 2010 10:00 pm Post subject: |
|
|
Not sure if this is the right place to say this, but there is an error in the documentation for the IniDelete function.
It says it deletes a value, but it deletes the entire key. |
|
| Back to top |
|
 |
svi
Joined: 09 Oct 2006 Posts: 236 Location: Finland
|
Posted: Mon Jan 11, 2010 10:29 pm Post subject: |
|
|
A minimal error?:
| Menu - Remarks wrote: | | To underline one of the letters in a menu item's name... |
the "a" is in italic font. I can't imagine why, but maybe there is a reason? _________________ Pekka Vartto |
|
| Back to top |
|
 |
SoLong&Thx4AllTheFish
Joined: 27 May 2007 Posts: 4999
|
|
| Back to top |
|
 |
maniac
Joined: 28 Aug 2009 Posts: 267
|
Posted: Tue Feb 02, 2010 2:10 pm Post subject: |
|
|
| I found it very confusing that much of the SendPlay documentation is located under the SendMode section. I totally missed a serious limitation of SendPlay that I was not aware of since it was not listed under the SendPlay documentation. I think rather than listing SendPlay's limitations under SendMode and linking to them, it should be listed under SendPlay and linked to from SendMode. |
|
| Back to top |
|
 |
sinkfaze
Joined: 18 Mar 2008 Posts: 5044 Location: the tunnel(?=light)
|
Posted: Wed Feb 03, 2010 7:25 pm Post subject: |
|
|
Based on a discussion I was in involved in today I think it might be good to amend the manual regarding forcing an expression and the Click command. You cannot force an expression for individual parameters but you can force an expression for the entire line of parameters:
| Code: | x := 256,y := 1188
Click, %x%, % y ; does not work
Click % x, %y% ; does not work
Click, % x "," y ; works |
Documentation is where it gets tricky since it will require clarification on the Click command page and may require clarification under the Forcing an Expression sub-topic on the Variables and Expressions page. Here's my suggestion if such an amendment to the manual is reasonable. On the Click page:
| Quote: | | Click does not support parameter expressions since it has no explicit parameters, but you can force an expression in the Click command (see Remarks). Otherwise, variables should be enclosed in percent signs. |
Under the Remarks sub-topic for Click:
| Quote: | To force an expression using the Click command, the entire command line must be forced as an expression:
| Code: | Click %x%, %y%
Click % x "," y ; equivalent to the above command |
| Code: | Click right %x% %y%
Click % "right " x " " y ; equivalent to the above command |
|
And under the Forcing an Expression sub-topic of Variables and Expressions:
| Quote: | Force an expression: An expression can be used in a parameter that does not directly support it (except an OutputVar or InputVar parameter such as those of StringLen) by preceding the expression with a percent sign and a space or tab. This technique is often used to access arrays. For example:
| Code: | FileAppend, % MyArray%i%, My File.txt
MsgBox % "The variable MyVar contains " . MyVar . "."
Loop % Iterations + 1
WinSet, Transparent, % X + 100
Control, Choose, % CurrentSelection - 1 |
The Click command is an exception to the typical method of forcing an expression, see the Remarks sub-topic of the Click command for information. |
Credit goes to answer4u. _________________ Try Quick Search for Autohotkey or see the tutorial for newbies. |
|
| Back to top |
|
 |
|