AutoHotkey Community

It is currently May 27th, 2012, 2:45 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 192 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8, 9 ... 13  Next
Author Message
 Post subject:
PostPosted: September 24th, 2009, 1:32 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 30th, 2009, 11:42 pm 
Offline

Joined: October 7th, 2006, 4:50 pm
Posts: 3157
Location: MN, USA
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 7th, 2009, 12:58 am 
Offline

Joined: July 9th, 2009, 9:25 pm
Posts: 120
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 21st, 2009, 5:41 pm 
Offline
User avatar

Joined: March 19th, 2008, 12:43 am
Posts: 5480
Location: the tunnel(?=light)
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:

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

_________________
Image
Try Quick Search for Autohotkey or see the tutorial for newbies.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 5th, 2009, 8:04 am 
Offline

Joined: October 9th, 2006, 8:19 pm
Posts: 236
Location: Finland
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Suspend
PostPosted: November 24th, 2009, 11:48 am 
Offline

Joined: February 2nd, 2008, 4:35 am
Posts: 643
http://www.autohotkey.com/docs/commands/Suspend.htm
(& in help file of course)

Off: Re-enables the hotkeys and hotstrings that were disabled above.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Addition fo FAQ
PostPosted: December 9th, 2009, 9:46 pm 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
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/viewtop ... 590#316590

_________________
AHK FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
PostPosted: December 16th, 2009, 9:36 am 
Offline

Joined: February 2nd, 2008, 4:35 am
Posts: 643
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 January 14th, 2010, 6:26 am, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 24th, 2009, 12:03 am 
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


Report this post
Top
  
Reply with quote  
PostPosted: December 27th, 2009, 8:40 am 
Offline

Joined: August 24th, 2005, 5:29 pm
Posts: 549
Location: Berlin / Germany
Wouldn't it be nice to have a "CommandSyntax" line for the Click command too?

_________________
nick :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 8th, 2010, 11:00 pm 
Offline

Joined: July 9th, 2009, 1:13 am
Posts: 140
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 11th, 2010, 11:29 pm 
Offline

Joined: October 9th, 2006, 8:19 pm
Posts: 236
Location: Finland
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 29th, 2010, 9:55 am 
Offline

Joined: May 27th, 2007, 9:41 am
Posts: 4999
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 FAQ
TF : Text files & strings lib, TF Forum


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 2nd, 2010, 3:10 pm 
Offline

Joined: August 28th, 2009, 3:00 pm
Posts: 275
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 3rd, 2010, 8:25 pm 
Offline
User avatar

Joined: March 19th, 2008, 12:43 am
Posts: 5480
Location: the tunnel(?=light)
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.

_________________
Image
Try Quick Search for Autohotkey or see the tutorial for newbies.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 192 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7, 8, 9 ... 13  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group