Search the web
Sign In
New User? Sign Up
AutoHotkey
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 393 - 528 of 528   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#528 From: "AHK" <ahk@...>
Date: Sat Sep 26, 2009 12:17 am
Subject: AutoHotkey v1.0.48.05: Mostly bugfixes (mostly minor except StringSplit in compiled scripts)
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Fixed StringSplit to work properly inside functions of compiled scripts
(broken by 1.0.35.01). [thanks engunneer & Lexikos]

Fixed SendPlay not to wait for the release of the Windows key prior to
sending an "L" keystroke (broken by 1.0.48.01). [thanks Lexikos]

Fixed A_EndChar to be valid when the B0 option is present, and to be empty
when there is no ending character (broken by 1.0.44.09). [thanks Al2000]

Fixed FormatTime to yield a valid time of day even when the specified month
is out-of-range (broken by 1.0.48.00). [thanks silveredge78]

Fixed FileCreateDir to support a leading backslash even when it is the only
backslash; e.g. \dir. [thanks jaco0646]

Fixed GuiControl/GuiControlGet/Gui/SendMessage to work reliably even when
they trigger a callback or OnMessage function. [thanks Lexikos]

Fixed RegExMatch() not to produce too few replacements when an empty-string
match is followed by a non-empty-string match.

Changed "While()" to be recognized as a loop rather than a function. [thanks
Crash&Burn]

Improved UrlDownloadToFile to support FTP and Gopher. [thanks Lexikos]

Improved the stdout/asterisk mode of FileAppend to write immediately rather
than lazily to standard output. [thanks Lexikos]

Added full support for "if % expression". [thanks kenomby]


Download it at http://www.autohotkey.com/download/

#527 From: "AHK" <ahk@...>
Date: Mon May 4, 2009 4:09 pm
Subject: AutoHotkey v1.0.48.03: Minor fixes
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Fixed "ListLines On" not to erase the most recent log entry in the line
history. [thanks Lexikos]

Fixed ListView to respond properly to mouse dragging when timers are
running. [thanks Solar]

Fixed key-up hotkeys so that if one is created while its key is being held
down, the release of the key doesn't trigger the wrong hotkey. [thanks Peter
& engunneer]


Download it at http://www.autohotkey.com/download/

#526 From: "AHK" <ahk@...>
Date: Mon Apr 20, 2009 3:45 pm
Subject: AutoHotkey v1.0.48.02: Minor changes
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Changed and fixed Gosub and GroupActivate so that when a function calls an
external/public subroutine, that subroutine will treat all dynamic variables
as globals, and will have outside-of-function GUI behavior. [thanks kenomby
& Lexikos]

Improved performance of True/False/A_EventInfo in expressions by treating
them as integers vs. strings.


Download it at http://www.autohotkey.com/download/

#525 From: "AHK" <ahk@...>
Date: Thu Apr 16, 2009 11:21 pm
Subject: AutoHotkey v1.0.48.01: Win-hotkeys like #a that send "L" keystrokes wait for LWin/Rwin to be released before sending
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Changed: For Windows Vista and later, hotkeys that include the Windows key
(e.g. #a) will wait for LWin and RWin to be released before sending any text
containing an "L" keystroke. This prevents such a hotkey from locking the
PC. This behavior applies to all sending modes except SendPlay (which
doesn't need it) and blind mode.

Fixed A_LoopFileExt to be blank for any filename having no extension but a
period in its pathname. [thanks Yek-Toho-Tua].

Fixed the assignment of integers that are 19 or 20 characters long to work
as they did prior to v1.0.48. [thanks Laszlo & Lexikos]

Fixed function definitions to work properly inside a block. [thanks rmarko]

Improved performance of A_Index in expressions by treating it as an integer
rather than a string.

Improved performance of "if var [not] in/contains". [developed by Lexikos]

Improved ListLines with an option to turn line-logging Off or On. [thanks
kenomby & ruespe]


Download it at http://www.autohotkey.com/download/

#524 From: "Chris Mallett" <ahk@...>
Date: Thu Feb 26, 2009 9:13 pm
Subject: AutoHotkey v1.0.48: Runs up to 3x as fast. Adds while-loop.
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Compatibility: The change most likely to affect backward compatibility is
that floating point numbers stored in variables now have higher precision.
Scripts that rely on tiny differences in precision would either need to be
reviewed and updated, or have their compatibility improved by using
"SetFormat Float" (e.g. SetFormat, Float, 0.6) anywhere in the script.
"SetFormat Float" disables the higher precision, but gives up some of the
new, faster floating point performance.

Performance: The main theme of this release is faster performance. Almost
all scripts should run faster -- especially those that make heavy use of
expressions and integer math/comparisons (which may run up to three times as
fast). To achieve the full benefit, a script either should avoid using
SetFormat or should use SetFormat's fast mode:
http://www.autohotkey.com/docs/commands/SetFormat.htm#Fast

===

Performance improvements

Expressions and function calls are compiled more heavily, making them much
faster (especially complex integer expressions, including those with
commas).

Binary numbers are cached for variables to avoid conversions to/from
strings. This makes numerical operations involving variables much faster.

Literal integers in expressions and math/comparison commands are replaced
with binary integers, which makes them faster; e.g. X+5 and "if x > 5".

LOOPs, IFs, and ELSEs that have blocks (braces) are faster due to skipping
the opening '{'. A side-effect is that the '{' is omitted from ListLines.

Thread-creation performance is improved, which should help rapid-fire
threads in OnMessage(), RegisterCallback(), and GUI events.

===

Changes that might affect existing scripts (other than higher-precision
floating point described at the top)

When "SetFormat, Integer, Hex" is in effect, assigning a literal decimal
integer to a variable also converts it to hex. Usually this is only a
display issue.

For OnMessage() performance, the message number and HWND arrive as standard
numbers rather than appearing unconditionally as hex. Usually this is only a
display issue.

To achieve various improvements in performance, scripts now use slightly
more memory (proportionate to the number of variables and expressions).

Changed and fixed "if var is time" and other uses of YYYYMMDDHHMISS
date-time stamps to recognize that months outside the range 1-12 are
invalid. [thanks Nick]

Changed and improved dynamic function calling to allow passing more
parameters than defined by a function, in which case the parameters are
evaluated but discarded. [developed by Lexikos]

===

Other improvements

Added function IsFunc(), which indicates whether a function may be called
dynamically. [developed by Lexikos]:

Added the while-loop, which repeats its commands until its expression
evaluates to false. [developed by Lexikos]:
http://www.autohotkey.com/docs/commands/While.htm

Added an assume-static mode for functions. [developed by Lexikos]

Added built-in variables A_IsPaused and A_IsCritical. [developed by Lexikos]

Improved NumPut() to support UInt64 like DllCall(). [thanks Sean]

Improved mouse wheel support by adding WheelLeft and WheelRight as hotkeys
and supporting them in Send, Click, and related commands. However,
WheelLeft/Right has no effect on operating systems older than Windows Vista.
[developed by Lexikos]: http://www.autohotkey.com/docs/Hotkeys.htm#Wheel

Upgraded compiled script compressor from UPX 3.00 to 3.03.


Fixes

Fixed inability to use MsgBox's timeout parameter when the "Text" parameter
had an expression containing commas.

Fixed "Menu, Delete, Item-that's-a-submenu" not to disrupt the associated
submenu. [thanks animeaime & Lexikos]

Fixed the GUI Hotkey control to return usable hotkey names even for dead
keys (e.g. "^" instead of Zircumflex). [thanks DerRaphael]

Fixed RegDelete so that it won't delete an entire root key when SubKey is
blank. [thanks Icarus]

Fixed registry loops to support subkey names longer than 259 (rare). In
prior versions, such subkeys would either be skipped or cause a crash.
[thanks Krzysztof Sliwinski & Eggi]

Fixed FileSelectFolder by providing an option to make it compatible with
BartPE/WinPE. [thanks markreflex]

Fixed window/control IDs (HWNDs), which in rare cases wrongly started with
0xFFFFFFFF instead of just 0x. [thanks Micahs]

Fixed inability of Send commands to use the Down/Up modifiers with the "}"
character. [thanks neovars]


Download it at http://www.autohotkey.com/download/

#523 From: Guillaume <courrielliste@...>
Date: Thu Nov 13, 2008 8:40 pm
Subject: AHK and MS Access
gui_chareyron
Offline Offline
Send Email Send Email
 
Hi everybody,
 
I am totally new to AHK and I'd like to use it to create a window (with a Gui-tool) permitting me to search in an Access table or query, to view the results of the search, to edit or delete them or even to add new entries in the database.
Is it possible? and if so, how? Can I use DAO for example?

Thank you very much in advance for any help.

Cheers
 
Guillaume

 
 

#522 From: Nilson Pena <nilsonpena@...>
Date: Wed Jun 25, 2008 8:28 pm
Subject: RE: What line do I add to my ahk file to disable warning messages?
nilsonpena
Offline Offline
Send Email Send Email
 
Are you using windows Vista?
I think there is nothing to do in your script. I believe it is windows problem.

Nilson
==================
Mensagem enviada do PDA

-----Original Message-----
From: "nholdcroft" <nholdcroft@...>
To: AutoHotkey@yahoogroups.com
Sent: 23/06/08 12:10
Subject: [AutoHotkey] What line do I add to my ahk file to disable warning
messages?

Hi.

I have one quick question. When I run my converted exe file (coverted
from ahk file) I get a warning message pop up talking about unverified
publisher and do I want to run the software. I have to click a "Run"
button in this pop up window to continue to run the exe.

What do I add to the ahk file to disable this message i.e. just run the
exe without having to click anything?

Thanks.

#521 From: "nholdcroft" <nholdcroft@...>
Date: Mon Jun 23, 2008 3:10 pm
Subject: What line do I add to my ahk file to disable warning messages?
nholdcroft
Offline Offline
Send Email Send Email
 
Hi.

I have one quick question. When I run my converted exe file (coverted
from ahk file) I get a warning message pop up talking about unverified
publisher and do I want to run the software. I have to click a "Run"
button in this pop up window to continue to run the exe.

What do I add to the ahk file to disable this message i.e. just run the
exe without having to click anything?

Thanks.

#520 From: "David Dan Adrian" <ady2n@...>
Date: Tue Jun 17, 2008 9:37 am
Subject: How can I attache an application to a window
ady2n
Offline Offline
Send Email Send Email
 
Hello,

   I tried to make an application witch must contain a window with
more tabs and in evry tab  I need to open a telnet session. This all
i've done until now :
"
Gui, Add, Tab2,, R140 - Cen|R141 - Bv
Gui, +Resize
Gui + OwnDialogs
Gui, Show,, R140
run, telnet 130.xxx.0.1
WinWaitActive, telnet 130.xxx.0.1,,1
Sleep, 300
send command{ENTER}
Sleep, 100
send logon user{ENTER}
Sleep, 100
send password{ENTER}

Gui, Tab, 2
Gui + OwnDialogs
Gui, Show,, R141
run, telnet 130.xxy.0.1
WinWaitActive, telnet 130.xxy.0.1,,1
Sleep, 300
send command{ENTER}
Sleep, 100
send logon user{ENTER}
Sleep, 100
send password{ENTER}
"

My problem is that telnet is launched in another windows and not
inside the tab from my window. If you can help me by giving me some
directions at least, i'll be very happy. Thanks

#519 From: "Ven. S. Upatissa" <sadhu44@...>
Date: Tue Jun 17, 2008 4:36 am
Subject: 1) Hibernating; 2) testing the value of a checkbox
sadhu44
Offline Offline
Send Email Send Email
 
1) What is the Windows command line or rundll command that invokes windows (XP) hibernation?  (I have implemented a series of keystrokes in an ahk script, but there should be a more elegant way...)
 
2) After the winwaitactive command, I would like my hotkey script to branch depending on the state of a checkbox in the window. How can I test the value of a checkbox, i.e., checked or not?
 
Thanks for your help.
 
-Sadhu
 

#518 From: "Steven Marzuola" <marzolian@...>
Date: Wed Jun 11, 2008 3:38 am
Subject: AutoHotKey and Word 2007?
steven.marzuola
Offline Offline
Send Email Send Email
 
Hi, I just joined but I have been using AutoHotKey for a year or so,
and can hardly work without it.  Any time I have a repetitive task I
fire it up.

While working at a client's office I am forced to use Microsoft Word
2007.  For a power user, this program is three giant steps backward
from previous versions of Word.

What I'm interested in, right now, is attempting to replicate the
biggest missing feature in Word 2007: Multiple customizable floating
toolbars.  I would like to click on a button that I can customize -
icon or text - and have it execute a VBA macro.

Has anyone thought about this?

Thanks,
Steven

#510 From: "Jay Wind" <Jay.Wind@...>
Date: Fri May 23, 2008 6:07 pm
Subject: Has anyone out there used AHK to interact between Excel and Active.com?
wind.jay
Offline Offline
Send Email Send Email
 
Has anyone out there used AHK to interact between Excel and Active.com?

-- Thank you
-- Jay Jacob Wind, new subscriber to AutoHotkey@yahoogroups.com

#507 From: "hew_r3" <hew_r3@...>
Date: Fri May 16, 2008 1:31 am
Subject: Re: How to get the text info. from the popup dialog
hew_r3
Offline Offline
Send Email Send Email
 
Hi Trau Con,

I'm glad I could help.  It was my first time answering and I just
thought it's about time I tried to give some help because I know I've
needed it myself plenty of times.

Have fun,

Hew

--- In AutoHotkey@yahoogroups.com, "traucon" <traucon@...> wrote:
>
> Hi Hew,
> Got your suggestion and implemented last night...and it works
> beautifully. Thank you for such a great idea. My daughter loves the
> automation tasks that autohotkey script delivers.
> Again, greatly appreciated for your precious time and advice.
> Trau Con

#504 From: "traucon" <traucon@...>
Date: Mon May 12, 2008 1:40 am
Subject: Re: How to get the text info. from the popup dialog
traucon
Offline Offline
Send Email Send Email
 
Hi Hew,
Got your suggestion and implemented last night...and it works
beautifully. Thank you for such a great idea. My daughter loves the
automation tasks that autohotkey script delivers.
Again, greatly appreciated for your precious time and advice.
Trau Con
--- In AutoHotkey@yahoogroups.com, "hew_r3" <hew_r3@...> wrote:
>
> Hey,
>
> No worries.  Not sure about a flash error.  I can see how it's a
problem.
>
> You could possibly try using PixelGetColor (or PixelSearch).  If
> there's a specific color on the screen at a specific part of the
> screen when the error pops up, the script could search for it.  EG.
If
> the error is in red and it should be at pixel number x100 y246 you
> would put:
>
> Loop, ??             ;Would you want it to keep looking a few times?
> {
> PixelGetColor, IsItRed, x100 y250
> If IsItRed = 3300FF
> goto ErrorMessage
> sleep, 1500          ;Sleep 1.5 seconds
> }
>
> ErrorMessage:
> MsgBox, There's a Flash Error.
>
>
>
> Please note that you use "AutoIT3 Window Spy" to find out what the
> hexadecimal numbers are for the color you would want and put the
mouse
> over that part of the screen to get the x,y positions (from the
Mouse
> Position).  "AutoIT3 Window Spy" is also found in the AutoHotKey
> folder in the Start Menu.
>
> Sorry if it doesn't help.  Good luck.
>
> Hew.
>
>
> --- In AutoHotkey@yahoogroups.com, "traucon" <traucon@> wrote:
> >
> > Hi hew_r3,
> > I tried it on my script and it does work fine as long as I'm in
the
> > regular internet explorer window. However, once the Internet
explorer
> > load the Macromedia Flash 9 as in my case, the script failed to
find
> > the text of the popup window created by Flash. If you have any
> > suggestion, please let me know. Again thank you for your time.
> >
> > Trau Con
> >
> > --- In AutoHotkey@yahoogroups.com, "hew_r3" <hew_r3@> wrote:
> > >
> > > Try using WinGetText  and/or WinGetTitle
> > >
> > > See the AHK help file in the start menu >> autohotkey >>
autohotkey
> > > help file for usage information:
> > >
> > >
> > > Example
> > > Run, Calc.exe
> > > WinWait, Calculator
> > > WinGetText, text  ; The window found above will be used.
> > > MsgBox, The text is:`n%text%
> > >
> >
>

#501 From: "hew_r3" <hew_r3@...>
Date: Sat May 10, 2008 12:26 pm
Subject: Re: How to get the text info. from the popup dialog
hew_r3
Offline Offline
Send Email Send Email
 
Hey,

No worries.  Not sure about a flash error.  I can see how it's a problem.

You could possibly try using PixelGetColor (or PixelSearch).  If
there's a specific color on the screen at a specific part of the
screen when the error pops up, the script could search for it.  EG. If
the error is in red and it should be at pixel number x100 y246 you
would put:

Loop, ??             ;Would you want it to keep looking a few times?
{
PixelGetColor, IsItRed, x100 y250
If IsItRed = 3300FF
goto ErrorMessage
sleep, 1500          ;Sleep 1.5 seconds
}

ErrorMessage:
MsgBox, There's a Flash Error.



Please note that you use "AutoIT3 Window Spy" to find out what the
hexadecimal numbers are for the color you would want and put the mouse
over that part of the screen to get the x,y positions (from the Mouse
Position).  "AutoIT3 Window Spy" is also found in the AutoHotKey
folder in the Start Menu.

Sorry if it doesn't help.  Good luck.

Hew.


--- In AutoHotkey@yahoogroups.com, "traucon" <traucon@...> wrote:
>
> Hi hew_r3,
> I tried it on my script and it does work fine as long as I'm in the
> regular internet explorer window. However, once the Internet explorer
> load the Macromedia Flash 9 as in my case, the script failed to find
> the text of the popup window created by Flash. If you have any
> suggestion, please let me know. Again thank you for your time.
>
> Trau Con
>
> --- In AutoHotkey@yahoogroups.com, "hew_r3" <hew_r3@> wrote:
> >
> > Try using WinGetText  and/or WinGetTitle
> >
> > See the AHK help file in the start menu >> autohotkey >> autohotkey
> > help file for usage information:
> >
> >
> > Example
> > Run, Calc.exe
> > WinWait, Calculator
> > WinGetText, text  ; The window found above will be used.
> > MsgBox, The text is:`n%text%
> >
>

#500 From: "traucon" <traucon@...>
Date: Sat May 10, 2008 1:31 am
Subject: Re: How to get the text info. from the popup dialog
traucon
Offline Offline
Send Email Send Email
 
Hi hew_r3,
I tried it on my script and it does work fine as long as I'm in the
regular internet explorer window. However, once the Internet explorer
load the Macromedia Flash 9 as in my case, the script failed to find
the text of the popup window created by Flash. If you have any
suggestion, please let me know. Again thank you for your time.

Trau Con

--- In AutoHotkey@yahoogroups.com, "hew_r3" <hew_r3@...> wrote:
>
> Try using WinGetText  and/or WinGetTitle
>
> See the AHK help file in the start menu >> autohotkey >> autohotkey
> help file for usage information:
>
>
> Example
> Run, Calc.exe
> WinWait, Calculator
> WinGetText, text  ; The window found above will be used.
> MsgBox, The text is:`n%text%
>

#499 From: "traucon" <traucon@...>
Date: Fri May 9, 2008 2:24 pm
Subject: Re: How to get the text info. from the popup dialog
traucon
Offline Offline
Send Email Send Email
 
Hew_r3,
Thank you for taking your time to response to my request. I tried
out your script and I think that is what I've been looking for. I
will try to use your suggestion in my script later tonight. Again,
THANK YOU.
Trau
--- In AutoHotkey@yahoogroups.com, "hew_r3" <hew_r3@...> wrote:
>
> Try using WinGetText  and/or WinGetTitle
>
> See the AHK help file in the start menu >> autohotkey >>
autohotkey
> help file for usage information:
>
>
> Example
> Run, Calc.exe
> WinWait, Calculator
> WinGetText, text  ; The window found above will be used.
> MsgBox, The text is:`n%text%
>

#498 From: "hew_r3" <hew_r3@...>
Date: Fri May 9, 2008 1:03 am
Subject: Re: How to get the text info. from the popup dialog
hew_r3
Offline Offline
Send Email Send Email
 
Try using WinGetText  and/or WinGetTitle

See the AHK help file in the start menu >> autohotkey >> autohotkey
help file for usage information:


Example
Run, Calc.exe
WinWait, Calculator
WinGetText, text  ; The window found above will be used.
MsgBox, The text is:`n%text%

#497 From: "traucon" <traucon@...>
Date: Thu May 8, 2008 6:41 am
Subject: How to get the text info. from the popup dialog
traucon
Offline Offline
Send Email Send Email
 
Hi,
Can anyone tell me how to get the text displayed on the popup dialog
from a program using Autohotkey?

These are the steps that I need to do with my autohotkey script:
1. From an existing internet explorer, I first enter a URL of a site.
2. When connected to the site, I have to click on a button to enter.
3. From there, I would click on another button.
4. If there is nothing wrong, the program would allow me to go forward.
5. If there is something wrong, the program would popup a dialog with
message in the dialog.


This is where I need to get the text off from the popup dialog. How can
I do that?  Thanks for any suggestions or comments.

Traucon

#491 From: "Ven. S. Upatissa" <sadhu44@...>
Date: Wed Apr 30, 2008 2:50 am
Subject: transform (unicode) giving strange results
sadhu44
Offline Offline
Send Email Send Email
 
I wish to paste Unicode characters into *any* application. (Of course, one gets strange results if the application is not Unicode-compliant.) I finally got the transform method to work (intermittently) with the following code snippets:
 
!a:: ; {asc 0256} Alt a - simple long-a (amacron)
 UTF8 := chr(0xc4) . chr(0x81)
 gosub PostKey
 return
 
^!s::  ;  {asc 7779}  Ctl-alt s - simple dot under s (sdotbelow)
 UTF8 := chr(0xE1) . chr(0xB9) . chr(0xA3)
 gosub PostKey
 return

;========= subroutine ==========
PostKey:
     Transform, Clipboard, Unicode, %UTF8%
     send, ^v
     return
 
In Word 97 when I type Alt-a I get the amacron character. But if I type Alt-a twice in a row, I get a {space} before subsequent amacron. I get the space when any two Unicode characters are typed side by side. Repeated presses soon produce the “out of memory or disk space” error.  In Word itself, repeatedly pressing ^v pastes the Unicode character properly with no problems.
 
When I type Ctrl-alt-s in Word and OOo writer, I get *two* sdotbelow characters! (This only happens with sdotbelow!) If I press^v afterwards I get a single sdotbelow.
 
When I add the line Clipboard :="" before the transform statement, I get a single sdotbelow characters in word, but still get two of them in OOo. And Word still produces the memory error after repeated keystrokes.
 
Putting a Sleep, 50 or Sleep, 100 statements here and there doesn’t seem to make any appreciable difference. Except for making things worse, somehow. Same with using the “clipsaved” code you suggested on the “Clipboard, ClipboardAll, and OnClipboardChange” help pages. Which is why I settled on the simplest code, as in the snippets above.
 
Perhaps there is a postmessage command that causes a paste in the receiving program? However, I tried
 
 PostMessage, 0x302 —— gives errorlevel=1 in both apps, and nothing happens
 PostMessage, 0x302, 0 —— gives errorlevel = 1 in OOo only, but nothing happens in either app.
 
Thank you for  the help.
 
-Sadhu
 
 

#465 From: "Chris Mallett" <ahk@...>
Date: Mon Mar 10, 2008 1:20 pm
Subject: AutoHotkey v1.0.47.06: Call functions dynamically
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Fixed crash when a function was called concurrently with an optional ByRef
parameter omitted by one thread but not omitted by the other. (thanks
DeathByNukes)

Fixed "Menu, Tray, MainWindow" to enable the menu items in the main window's
View menu. (thanks lexiKos)

Added dynamic function calling. (developed by lexiKos)
Description: A function (even a built-in function) may be called dynamically
via percent signs. For example, %Var%(x, "fox") would call the function
whose name is contained in Var. Similarly, Func%A_Index%() would call
Func1() or Func2(), etc., depending on the current value of A_Index. The
called function's definition must exist explicitly in the script by means
such as #Include or a non-dynamic call to a library containing the function.
If the function does not exist -- or if the wrong number or type of
parameters is passed to it -- the expression containing the call produces an
empty string.


Download it at http://www.autohotkey.com/download/

#445 From: "Mike" <mrmikevet@...>
Date: Mon Feb 4, 2008 4:45 am
Subject: Run prog. if checkbox is checked
mrmikevet
Offline Offline
Send Email Send Email
 
After button is pressed I would like to run only progs. that have
their checkboxes checked. Having a little noobie prob.

======= START CODE ==== WATCH LINEWRAP =====

Gui, Add, CheckBox, vclipboardinsert x22 y22 w130 h30 Checked,
Clipboard Insert Key
Gui, Add, CheckBox, x22 y72 w100 h30 , CheckBox
Gui, Add, CheckBox, x22 y122 w100 h30 , CheckBox
Gui, Add, CheckBox, x22 y172 w100 h30 , CheckBox
Gui, Add, CheckBox, x22 y222 w100 h30 , CheckBox
Gui, Show, x127 y87 h379 w479, New GUI Window
Return

ButtonDONE:
clipboaedinsert:
If (clipboaedinsert)

; Somehow run clipboaedinsert.exe

GuiClose:
ExitApp

======== END CODE ===========
Thanks,

#425 From: "Aleksey Tsalolikhin" <atsaloli.tech@...>
Date: Fri Jan 11, 2008 5:46 am
Subject: Re: how to remap alt-tab when capslock is remapped?
atsaloli
Offline Offline
Send Email Send Email
 
Thanks, Chris!

Alex

#423 From: "Aleksey Tsalolikhin" <atsaloli.tech@...>
Date: Mon Jan 7, 2008 1:06 am
Subject: how to remap alt-tab when capslock is remapped?
atsaloli
Offline Offline
Send Email Send Email
 
Hi.  I have the following config to save my body some wear and tear:

; remap Caps Lock key to Control
Capslock::Control

; left-control and k is our new alt-tab.  press j instead to go
backwards.
Capslock & k::AltTab
Capslock & j::ShiftAltTab

but only the 2nd rule is in effect.  it seems to overwrite the first
rule.

if I remove the 2nd ruleset, the capslock::control takes affect.

How can I have both, please?

Alex

#422 From: "Aleksey Tsalolikhin" <atsaloli.tech@...>
Date: Mon Jan 7, 2008 12:13 am
Subject: AutoHotKey is locking my "Start" key
atsaloli
Offline Offline
Send Email Send Email
 
Hi.  AutoHotKey is locking up my Start key.

so when I press "h", this engages my #h macro.

any suggestions for debugging this?

  this usually happens after I lock the screen and come back.

Alex.

#420 From: "Aleksey Tsalolikhin" <Aleksey.Tsalolikhin@...>
Date: Sat Jan 5, 2008 7:50 am
Subject: new to AutoHotKey; I seem to be experienceing Start lock or Control lock
atsaloli
Offline Offline
Send Email Send Email
 
Hi.  I am new to AutoHotKey and I am absolutely loving it, but
sometimes it seems to go into "Windows Start key" lock or Control
lock, so that when I press "h", for example, let's say while typing in
an email window, my Start-H shortcut is activate, which launches
another application...

it's very annoying and makes AutoHotKey unuseable for me.

this usually tends to happen after I lock my computer and then come
back to it.

I noticed that pressing Alt and Windows key several times, (and then
the other, several times)  usually makes this behavior stop...

what's could be causing it and how can I fix it, please?

Sincerely,
Aleksey

#407 From: "Chris Mallett" <ahk@...>
Date: Wed Nov 21, 2007 9:37 pm
Subject: AutoHotkey v1.0.47.05: Minor fixes and updated RegEx/PCRE
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Fixed the Sort command: 1) fixed the "function" option not to misbehave when
it's the last option in the list; 2) fixed the "unique" option so that when
the delimiter is CRLF, the last item can be detected as a duplicate even
when it doesn't end in CRLF; 3) fixed the "unique" option not to append a
trailing delimiter when the last item is a duplicate. [thanks Roland]

Fixed RegExMatch() and RegExReplace() to yield correct results even when
Haystack and OutputVar are both the same variable. [thanks Superfraggle]

Fixed inability to pass a parameter that is "a variable to which
ClipboardAll has been assigned". [thanks Joy2DWorld & Lexikos]

Updated RegEx/PCRE from 7.0 to 7.4. For a summary of the major changes, see
http://www.pcre.org/news.txt. For full details of every change and fix, see
http://www.pcre.org/changelog.txt.

Added GUI control "Tab2" that fixes rare redrawing problems in the original
"Tab" control (e.g. activating a GUI window by clicking on a control's
scrollbar). The original Tab control is retained for backward compatibility
because "Tab2" puts its tab control after its contained controls in the
tab-key navigation order. [thanks Xander]


Download it at http://www.autohotkey.com/download/

#405 From: "mgildiner" <mgildiner@...>
Date: Wed Nov 14, 2007 4:53 am
Subject: newbie
mgildiner
Offline Offline
Send Email Send Email
 
a button is in a window (is that called a control?, a radio button?)
I need to click on it, and then need to wait until it pops back up and
is no longer grey.
how do I do that?

#395 From: "Chris Mallett" <ahk@...>
Date: Wed Aug 29, 2007 12:55 am
Subject: AutoHotkey v1.0.47.04: Minor fixes and changes
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Fixed key-up hotkeys like "a up::" not to block the pressing of the "a" key
unless the hotkey's #IfWin criteria are met. [thanks Roland]

Fixed Round(Var, NegativeNumber), which in rare cases was off by 1. [thanks
Icarus]

Fixed crash of scripts that end in a syntax error consisting of an orphaned
IF-statement (broken by 1.0.47.00). [thanks msgbox of the German forum]

Eliminated the "GetClipboardData" error dialog. Instead, an empty string is
retrieved when the data cannot be accessed within the #ClipboardTimeout
period. [thanks ManaUser & Sean]

Changed GUI checkboxes and radio buttons to default to "no word-wrap" when
no width, height, or CR/LF characters are specified. This solves display
issues under certain unusual DPI settings. [thanks Boskoop]


Download it at http://www.autohotkey.com/download/

#393 From: "john.wernicke" <john.wernicke@...>
Date: Sun Aug 26, 2007 1:56 pm
Subject: Re: New user
john.wernicke
Offline Offline
Send Email Send Email
 
--- In AutoHotkey@yahoogroups.com, "aewenos" <awenos@...> wrote:
>
> I am trying to clear an input box (is this called a control?).
>
> Can someone point me in the right direction?
>
> Thanks all
>
> aew
>

GuiControl, , ControlID

John.

Messages 393 - 528 of 528   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help