AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Suggestions on documentation improvements
Goto page Previous  1, 2, 3 ... 5, 6, 7 ... 11, 12, 13  Next
 
Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10716

PostPosted: Thu Sep 24, 2009 12:32 pm    Post subject: Reply with quote

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. Smile
Thanks; I've fixed that.

It seems best not to change its behavior because conceivably it could break existing scripts.
Back to top
View user's profile Send private message Send e-mail
jaco0646



Joined: 07 Oct 2006
Posts: 3113
Location: MN, USA

PostPosted: Wed Sep 30, 2009 10:42 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
temp01



Joined: 09 Jul 2009
Posts: 120

PostPosted: Tue Oct 06, 2009 11:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
sinkfaze



Joined: 18 Mar 2008
Posts: 5044
Location: the tunnel(?=light)

PostPosted: Wed Oct 21, 2009 4:41 pm    Post subject: Reply with quote

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:

FormatTime - Date Formats(ddd) wrote:
Abbreviated name for the day of the week (e.g. Mon) in the current user's language


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
View user's profile Send private message Send e-mail
svi



Joined: 09 Oct 2006
Posts: 236
Location: Finland

PostPosted: Thu Nov 05, 2009 7:04 am    Post subject: Reply with quote

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 Smile

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
View user's profile Send private message
a_h_k



Joined: 02 Feb 2008
Posts: 627

PostPosted: Tue Nov 24, 2009 10:48 am    Post subject: Suspend Reply with quote

http://www.autohotkey.com/docs/commands/Suspend.htm
(& in help file of course)

Off: Re-enables the hotkeys and hotstrings that were disabled above.
Back to top
View user's profile Send private message Visit poster's website
SoLong&Thx4AllTheFish



Joined: 27 May 2007
Posts: 4999

PostPosted: Wed Dec 09, 2009 8:46 pm    Post subject: Addition fo FAQ Reply with quote

I have an addtion for the Frequently Asked Questions (FAQ) page:

A question that popups regularly is

Q: "How can I run my script at a specific time?"
A: Use Windows Taskscheduler or a SetTimer to check the time at regular intervals.

See the "latest" one here:
http://www.autohotkey.com/forum/viewtopic.php?p=316590#316590
_________________
AHK Wiki FAQ
TF : Text files & strings lib, TF Forum
Back to top
View user's profile Send private message
a_h_k



Joined: 02 Feb 2008
Posts: 627

PostPosted: Wed Dec 16, 2009 8:36 am    Post subject: The Asc() and Chr() functions Reply with quote

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
View user's profile Send private message Visit poster's website
MikeC
Guest





PostPosted: Wed Dec 23, 2009 11:03 pm    Post subject: Reply with quote

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

PostPosted: Sun Dec 27, 2009 7:40 am    Post subject: Click command syntax line Reply with quote

Wouldn't it be nice to have a "CommandSyntax" line for the Click command too?
_________________
nick Wink
Back to top
View user's profile Send private message
Tyrsius



Joined: 09 Jul 2009
Posts: 140

PostPosted: Fri Jan 08, 2010 10:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
svi



Joined: 09 Oct 2006
Posts: 236
Location: Finland

PostPosted: Mon Jan 11, 2010 10:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
SoLong&Thx4AllTheFish



Joined: 27 May 2007
Posts: 4999

PostPosted: Fri Jan 29, 2010 8:55 am    Post subject: Reply with quote

Many people confuse IfWinActive with #IfWinActive I suggest some explicit text in http://www.autohotkey.com/docs/commands/IfWinActive.htm noting the difference when it comes to setting up application specific hotkeys,
_________________
AHK Wiki FAQ
TF : Text files & strings lib, TF Forum
Back to top
View user's profile Send private message
maniac



Joined: 28 Aug 2009
Posts: 267

PostPosted: Tue Feb 02, 2010 2:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
sinkfaze



Joined: 18 Mar 2008
Posts: 5044
Location: the tunnel(?=light)

PostPosted: Wed Feb 03, 2010 7:25 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Goto page Previous  1, 2, 3 ... 5, 6, 7 ... 11, 12, 13  Next
Page 6 of 13

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group