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 315 - 393 of 528   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#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.

#392 From: "aewenos" <awenos@...>
Date: Thu Aug 16, 2007 10:34 pm
Subject: New user
aewenos
Offline Offline
Send Email Send Email
 
I am trying to clear an input box (is this called a control?).

Can someone point me in the right direction?

Thanks all

aew

#389 From: "tonyroder" <tony@...>
Date: Sun Aug 5, 2007 2:11 pm
Subject: Hotkey sequence
tonyroder
Offline Offline
Send Email Send Email
 
What is the syntax for assigning a sequence of keys to a single
keyboard key? As in assigning the sequence of ctrl+rightarrow,
followed by leftarrow to f1?

Thanks for any pointers,

T.

#388 From: "Chris Mallett" <ahk@...>
Date: Thu Aug 2, 2007 1:00 am
Subject: AutoHotkey v1.0.47.03: Fixed literal negative hexadecimal numbers that end in "E"
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Fixed expressions to allow literal negative hexadecimal numbers that end in
"E"; e.g. fn(-0xe). [thanks Laszlo]

Fixed block syntax to allow a function-call immediately to the right of a
'}'. [thanks Roland]

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

P.S. If you have an interest in embedding VBScript or JScript into
AutoHotkey scripts, please check out erictheturtle's Windows Scripting for
AutoHotkey at http://www.autohotkey.net/~easycom/ .  Please post any
comments/feedback at http://www.autohotkey.com/forum/topic21674.html

#386 From: "Chris Mallett" <ahk@...>
Date: Fri Jul 20, 2007 12:42 am
Subject: AutoHotkey v1.0.47.02: Fixed balloon tooltips in numeric Edit controls
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Fixed the Number option of Edit controls to properly display a balloon tip
when the user types something other than a digit. [thanks tfcahm]

Fixed WM_TIMER not to be blocked unless it's posted to the script's main
window. [thanks tfcahm]

Fixed wildcard hotkeys not to acquire tilde behavior when the same hotkey
exists in the script with a tilde. [thanks Lexikos]

Fixed declaration initializers not to retain whitespace at the end of
literal numbers. Also, they now allow spaces between a closing quote and the
next comma. [thanks Hardeep]


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

#383 From: "Chris Mallett" <ahk@...>
Date: Tue Jul 10, 2007 12:10 am
Subject: RE: how to repeat hotkey macro?
cmallett2
Offline Offline
Send Email Send Email
 
TH wrote:
> What I'd really like to do is have it repeat every time I press Win+Q.
> [Right now it runs once, but not again.  I have to close the "H"
> green box, and run the compiled script again.]
> In the alternative, I'd like to set the Loop function so it runs 10
> times, but then I'd need to know - what key do I use to break the loop.

Each hotkey should generally end in a "return".  To break out of a loop via
the press of a hotkey, see the FAQ at http://www.autohotkey.com/docs/FAQ.htm

If that isn't enough, you might try asking at the forum because there is a
bigger audience there: http://www.autohotkey.com/forum/

Chris

#382 From: "ticlishhands" <ticlishhands@...>
Date: Mon Jul 9, 2007 9:38 pm
Subject: how to repeat hotkey macro?
ticlishhands
Offline Offline
Send Email Send Email
 
I'm new to AHK, and have the script below assigned to Win-Q.

What I'd really like to do is have it repeat every time I press Win+Q.
  [Right now it runs once, but not again.  I have to close the "H"
green box, and run the compiled script again.]

In the alternative, I'd like to set the Loop function so it runs 10
times, but then I'd need to know - what key do I use to break the loop.

I'm changing the Class in a few hundred QBooks transactions.

TH

#q::
Loop, 10
{
WinWait, Spindrift Inn and Bistro Manzanita - QuickBooks: Premier
Retail Edition 2007,
IfWinNotActive, Spindrift Inn and Bistro Manzanita - QuickBooks:
Premier Retail Edition 2007, , WinActivate, Spindrift Inn and Bistro
Manzanita - QuickBooks: Premier Retail Edition 2007,
WinWaitActive, Spindrift Inn and Bistro Manzanita - QuickBooks:
Premier Retail Edition 2007,
MouseClick, left,  510,  446
MouseClick, left,  510,  446
Sleep, 100
MouseClick, left,  684,  603
Sleep, 100
WinWait, Review Paycheck,
IfWinNotActive, Review Paycheck, , WinActivate, Review Paycheck,
WinWaitActive, Review Paycheck,
MouseClick, left,  814,  78
Sleep, 100
Send, b
MouseClick, left,  82,  568
Sleep, 100
WinWait, Past Transactions,
IfWinNotActive, Past Transactions, , WinActivate, Past Transactions,
WinWaitActive, Past Transactions,
MouseClick, left,  217,  232
Sleep, 100
WinWait, Spindrift Inn and Bistro Manzanita - QuickBooks: Premier
Retail Edition 2007,
IfWinNotActive, Spindrift Inn and Bistro Manzanita - QuickBooks:
Premier Retail Edition 2007, , WinActivate, Spindrift Inn and Bistro
Manzanita - QuickBooks: Premier Retail Edition 2007,
WinWaitActive, Spindrift Inn and Bistro Manzanita - QuickBooks:
Premier Retail Edition 2007,
Send, {ALTDOWN}a{ALTUP}
WinWait, Recording Transaction,
IfWinNotActive, Recording Transaction, , WinActivate, Recording
Transaction,
WinWaitActive, Recording Transaction,
Send, {SPACE}
WinWait, Past Transactions,
IfWinNotActive, Past Transactions, , WinActivate, Past Transactions,
WinWaitActive, Past Transactions,
Send, {SPACE}
WinWait, ,
IfWinNotActive, , , WinActivate, ,
WinWaitActive, ,
MouseClick, left,  298,  792
Sleep, 100
MouseClick, left,  294,  789
Sleep, 100
MouseClick, right,  294,  789
Sleep, 100
MouseClick, left,  305,  789
Sleep, 100
MouseClick, left,  305,  789
MouseClick, left,  305,  789
Sleep, 100
WinWait, Spindrift Inn and Bistro Manzanita - QuickBooks: Premier
Retail Edition 2007,
IfWinNotActive, Spindrift Inn and Bistro Manzanita - QuickBooks:
Premier Retail Edition 2007, , WinActivate, Spindrift Inn and Bistro
Manzanita - QuickBooks: Premier Retail Edition 2007,
WinWaitActive, Spindrift Inn and Bistro Manzanita - QuickBooks:
Premier Retail Edition 2007,
MouseClick, left,  494,  442
Sleep, 100
MouseClick, right,  494,  442
Sleep, 100
MouseClick, left,  522,  447
Sleep, 100
WinWait, ,
IfWinNotActive, , , WinActivate, ,
WinWaitActive, ,
MouseClick, left,  592,  1023
Sleep, 100
MouseClick, left,  593,  1022
Sleep, 100
MouseClick, left,  593,  1022
Sleep, 1000
}
; Return

#381 From: "Chris Mallett" <ahk@...>
Date: Mon Jul 9, 2007 1:11 am
Subject: AutoHotkey v1.0.47.01: Fixed RunAs's domain parameter
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Fixed RunAs not to crash or misbehave when a domain is specified. [thanks
Markus Frohnmaier]

Changed relational operators to yield integers even when the inputs are
floating point; e.g. 1.0 < 2.0 yields 1 vs. 1.0. [thanks Lexikos]


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

#376 From: "Chris Mallett" <ahk@...>
Date: Wed Jun 20, 2007 1:49 am
Subject: AutoHotkey v1.0.47: Added Stdlib, RegisterCallback, NumGet/Put
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Added support for function libraries, which allow a script to call a
function in an external file without having to use #Include.  Details at:
http://www.autohotkey.com/docs/Functions.htm#lib

Added RegisterCallback(), which creates a machine-code address that when
called, redirects the call to a function in the script. [developed by
Jonathan Rennison (JGR)].  Details at:
http://www.autohotkey.com/docs/commands/RegisterCallback.htm

Added NumGet() and NumPut(), which retrieve/store binary numbers with much
greater speed than Extract/InsertInteger. Details at:
http://www.autohotkey.com/docs/Functions.htm#NumGet

Improved Sort with an option to do custom sorting according to the criteria
in a callback function. [thanks Laszlo]

Improved OnMessage() with an option to allow more than one simultaneous
thread. [thanks JGR]

Improved Critical with an option to change the message-check interval, which
may improve reliability for some usages. [thanks Majkinetor and JGR]

Changed Critical to put SetBatchLines -1 into effect.

Changed the error messages produced by #ErrorStdOut to contain a space
before the colon. [thanks Toralf]

Fixed OnMessage() functions that return one of their own local variables to
return the number in that variable, not 0.

Fixed potential crashing of built-in variables that access the registry
(e.g. A_AppData, A_Desktop, A_MyDocuments, A_ProgramFiles). [thanks Tekl]


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

#373 From: "F.D." <fdg001@...>
Date: Sat Jun 2, 2007 6:38 am
Subject: Re: clipboard question
ace_noone
Offline Offline
Send Email Send Email
 
Hi there,

> I have just joined this Autohotkey list but have not seen any
> traffic.

The AHK forums (http://www.autohotkey.com/forum/) are where most people
hang out - and you don't even need to register an account if you don't
want to.

> While in Excel, eventually the macro is to obtain the numeric value
> of the current cell, ask for input and then add these values
> together.  The contents of the cell will then be deleted and the new
> value inserted.

That sounds like a VBA macro would be better suited for the job.
Something like:

      Sub Macro1()
          Dim cellValue, userValue
          cellValue = ActiveCell.Value
          userValue = Application.InputBox("Enter a number.", _
              "New number", , , , , , 1)
          ActiveCell.Value = cellValue + userValue
      End Sub

> The copy command has been used below to obtain the value in the cell
> and this is where the problem begins.  I am unable to add to the
> value in the clipboard because its contents seems to be text.

That's because of the odd way Excel copies values to clipboards (e.g.
there's newline chars in there I believe).
So I've used a RegEx to extract the number from the clipboard contents
(note: valid number formats are "123" and "123.456").
I've also made a few more additions and modifications:

      #SingleInstance Force
      #NoEnv
      OnExit, quit

      ; backup clipboard
      clipboardBak := ClipboardAll

      ; end of auto-execute section
      Return

      quit:
          ; restore clipboard
          Clipboard := clipboardBak
          ; terminate script
          ExitApp
      Return

      ; [WIN]+[8]: get inputs and display inputs & total
      #8::
          ; copy cell value to clipboard
          clipboard = ; Empty the clipboard
          Send, ^c ; copy cell contents to clipboard
          ClipWait, 2
          ; extract number from clipboard contents
          RegExMatch(clipboard, "(?:\d+)(?:\.?)(?:\d*)", currentValue)
          ; prompt for number to add to clipboard value
          InputBox, change, Enter Value Change
          ; calculate new value
          newValue := currentValue + change
          ; displays inputs and result
          MsgBox, old value: %currentValue%
          MsgBox, change: %change%
          MsgBox, new value: %newValue%
      Return

HTH.


-- F.

#372 From: Delta <delta8@...>
Date: Sat Jun 2, 2007 5:32 am
Subject: clipboard question
lancereh2000
Offline Offline
Send Email Send Email
 
Hi,

I have just joined this Autohotkey list but have not seen any
traffic.  Hopefully someone can help with a macro which is giving me trouble.

While in Excel, eventually the macro is to obtain the numeric value
of the current cell, ask for input and then add these values
together.  The contents of the cell will then be deleted and the new
value inserted.

The copy command has been used below to obtain the value in the cell
and this is where the problem begins.  I am unable to add to the
value in the clipboard because its contents seems to be text.

Can someone inform me either how to obtain the cell contents by some
other method or how to convert the contents of the clipboard into a number?

Thanks
Tom.

; simple macro to get inputs and display inputs & total.
#8::
clipboard = ; Empty the clipboard
Send, ^c ; copy cell contents to clipboardc
ClipWait, 2
InputBox, change, Enter Value Change ; allows input to add to  clipboard value
   ttl := clipboard + change ; sumss both inputs
; 3 msg boxes displays inputs and result
   MsgBox, clpbd %clipboard%
   MsgBox, change %change%
   MsgBox, total %ttl% ; total is not displayed

Return

#371 From: "Chris Mallett" <ahk@...>
Date: Fri Jun 1, 2007 12:03 am
Subject: AutoHotkey v1.0.46.17: Fixed A_UserName (broken by previous release).
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Fixed A_UserName (broken by 1.0.46.16).


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

#369 From: "Chris Mallett" <ahk@...>
Date: Wed May 30, 2007 9:58 pm
Subject: AutoHotkey v1.0.46.16: Added A_ThisFunc and A_ThisLabel
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Fixed "Gui, Tab, TabName" when used after a previous "Gui Tab". [thanks
Toralf]

Improved SetTimer to treat negative periods as "run only once". [thanks
Majkinetor]

Added "GuiControlGet Hwnd", which is a more modular/dynamic way to retrieve
a control's HWND. [thanks Majkinetor]

Added built-in variables A_ThisLabel and A_ThisFunc, which contain the names
of the currently-executing label/function. [thanks Titan & Majkinetor]


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

#361 From: "Chris Mallett" <ahk@...>
Date: Thu May 10, 2007 1:28 am
Subject: AutoHotkey v1.0.46.15: Reduced size of compiled scripts by 16 KB
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Fixed GuiControl, GuiControlGet, and "Gui ListView/TreeView" to support
static variables and ByRefs that point to globals/statics. [thanks Peter]

Fixed FileInstall causing the Random command to become non-random in
compiled scripts. [thanks Velocity]

Reduced the size of compiled scripts by about 16 KB due to UPX 3.0. [thanks
to atnbueno for discovering the optimal command-line switches]


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

#358 From: "Chris Mallett" <ahk@...>
Date: Wed May 2, 2007 12:18 am
Subject: AutoHotkey v1.0.46.13: Improved optional parameters in functions
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Fixed hotkeys like *x to fire even when x is also a hotkey that is prevented
from firing due to #IfWin. [thanks Joy2DWorld & Engunneer]

Improved optional parameters to accept quoted/literal strings as default
values.

Improved ByRef parameters with the ability to be optional (i.e. they may
accept default values). [thanks Corrupt]


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

#357 From: "Chris Mallett" <ahk@...>
Date: Mon Apr 23, 2007 11:52 pm
Subject: AutoHotkey v1.0.46.11: Support for scientific notation in floating point numbers
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Fixed inability to have a function-call as the first item in certain
comma-separated expressions. [thanks Majkinetor]

Fixed WinTitles like "ahk_id %ControlHwnd%" in ControlGet's
FindString/Choice/List, and Control's Add/Delete/Choose. [thanks Freighter &
PhiLho]

Improved floating point support to recognize scientific notation; e.g.
1.2e-5 (the decimal point is mandatory). Also improved "SetFormat Float"
with an option to output in scientific notation. [thanks Laszlo]
Specifically, the letter "e" may be appended to produce scientific notation;
e.g. 0.6e or 0.6E (using uppercase produces an uppercase E in each number
instead of lowercase).


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

#352 From: "Chris Mallett" <ahk@...>
Date: Sun Apr 8, 2007 8:34 pm
Subject: Spam on the mailing list
cmallett2
Offline Offline
Send Email Send Email
 
If anyone is bothered by the spam being sent to the mailing list lately, you
might want to unsubscribe from it and instead join the private AutoHotkey
mailing list.  There will never be any spam on it, and your e-mail address
will be kept strictly confidential:

http://www.autohotkey.com/lists/?p=subscribe

Chris

#344 From: "Chris Mallett" <ahk@...>
Date: Sat Mar 24, 2007 5:59 pm
Subject: RE: AutoHotkey v1.0.46.10: Minor improvements to ListView and Ahk2Exe
cmallett2
Offline Offline
Send Email Send Email
 
Casey Mcfarland wrote:
> why do we need a password at-all with the /nodecompile option... it should
> automatically create a maximum sized (64bit should do the trick) password
> on compile.  regardless of what is actually specified otherwise the
> switch is pointless.

It's constrained by the current architecture, part of which is proprietary
and to which I have no access.  Also, you may know that auto-generating
truly random passwords is impossible without a good source of genuine
randomness.

Finally, I didn't want to spend a lot of time on this feature, and this was
the best I could come up with in the time available.

Chris

#343 From: Casey Mcfarland <caseymcf@...>
Date: Sat Mar 24, 2007 4:53 pm
Subject: Re: AutoHotkey v1.0.46.10: Minor improvements to ListView and Ahk2Exe
chameleon_.geo
Offline Offline
Send Email Send Email
 
why do we need a password at-all with the /nodecompile
option... it should automatically create a maximum
sized (64bit should do the trick) password on compile.
regardless of what is actually specified otherwise the
switch is pointless.

--- Chris Mallett <ahk@...> wrote:

> Here are the changes:
>
> Fixed StringSplit inside assume-local functions so
> that it creates a local
> array even when OutputArray0 exists as a global but
> not a local. [thanks KZ]
>
> Improved ListView's item-changed notification ("I")
> to indicate via
> ErrorLevel whether the item has been
> selected/deselected, focused/unfocused,
> and/or checked/unchecked. [thanks foom]
>
> Added an additional layer of protection to compiled
> scripts. It is
> recommended that scripts containing sensitive data
> or source code be
> recompiled with the /NoDecompile switch. Details:
>
http://www.autohotkey.com/docs/Scripts.htm#ahk2exeCmd
>
>
> Download it at http://www.autohotkey.com/download/
>
>
>




________________________________________________________________________________\
____
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

#342 From: Casey Mcfarland <caseymcf@...>
Date: Sat Mar 24, 2007 4:48 pm
Subject: RE: RunWait enhancement: wait for all child processes, too?
chameleon_.geo
Offline Offline
Send Email Send Email
 
it would be ok to do a run-wait on the app and on exit
see if it's child processes exist by doing an ifexist
on the exe's of the child processes which are
typically created since we can't trace (easily) a
child's parent process.

I'm thinking no running in the halls children. please
walk. but someone's gotta watch them to ensure they
comply.
--- Chris Mallett <ahk@...> wrote:

> Hello Dan,
>
> There could be some demand for RunWaitChildren; but
> it might be best to
> first implement it in a script via DllCall (assuming
> it's feasible).  Also,
> since the forum has far more visitors than this
> mailing list, it might be
> best to post your idea in "Wish List" to see if
> anyone else has an interest:
> http://www.autohotkey.com/forum/
>
> Thanks,
> Chris
>
>
> -----Original Message-----
> From: AutoHotkey@yahoogroups.com
> [mailto:AutoHotkey@yahoogroups.com] On
> Behalf Of Dan Kegel
> Sent: Thursday, March 22, 2007 11:25 PM
> To: autohotkey@yahoogroups.com
> Subject: [AutoHotkey] RunWait enhancement: wait for
> all child processes,
> too?
>
> RunWait's doc says
> "Some programs will appear to return immediately
> even though they are
> still running; these programs spawn another
> process."
>
> Would anyone be interested in a new command, e.g.
> RunWaitChildren, that
> waited until the program *and all its children*
> finish?
> Win32 doesn't make it easy to implement this, but we
> have
> a little demo program showing how to do it, and
> since we're
> going to be using autohotkey in the same project, it
> might
> make sense to roll it in to autohotkey.
> - Dan
>
>
>




________________________________________________________________________________\
____
8:00? 8:25? 8:40? Find a flick in no time
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news

#341 From: "Chris Mallett" <ahk@...>
Date: Fri Mar 23, 2007 12:30 pm
Subject: RE: RunWait enhancement: wait for all child processes, too?
cmallett2
Offline Offline
Send Email Send Email
 
Hello Dan,

There could be some demand for RunWaitChildren; but it might be best to
first implement it in a script via DllCall (assuming it's feasible).  Also,
since the forum has far more visitors than this mailing list, it might be
best to post your idea in "Wish List" to see if anyone else has an interest:
http://www.autohotkey.com/forum/

Thanks,
Chris


-----Original Message-----
From: AutoHotkey@yahoogroups.com [mailto:AutoHotkey@yahoogroups.com] On
Behalf Of Dan Kegel
Sent: Thursday, March 22, 2007 11:25 PM
To: autohotkey@yahoogroups.com
Subject: [AutoHotkey] RunWait enhancement: wait for all child processes,
too?

RunWait's doc says
"Some programs will appear to return immediately even though they are
still running; these programs spawn another process."

Would anyone be interested in a new command, e.g. RunWaitChildren, that
waited until the program *and all its children* finish?
Win32 doesn't make it easy to implement this, but we have
a little demo program showing how to do it, and since we're
going to be using autohotkey in the same project, it might
make sense to roll it in to autohotkey.
- Dan

#340 From: "Dan Kegel" <dank@...>
Date: Fri Mar 23, 2007 3:24 am
Subject: RunWait enhancement: wait for all child processes, too?
dankegel
Offline Offline
Send Email Send Email
 
RunWait's doc says
"Some programs will appear to return immediately even though they are
still running; these programs spawn another process."

Would anyone be interested in a new command, e.g. RunWaitChildren, that
waited until the program *and all its children* finish?
Win32 doesn't make it easy to implement this, but we have
a little demo program showing how to do it, and since we're
going to be using autohotkey in the same project, it might
make sense to roll it in to autohotkey.
- Dan

#339 From: "Chris Mallett" <ahk@...>
Date: Fri Mar 23, 2007 1:08 am
Subject: AutoHotkey v1.0.46.10: Minor improvements to ListView and Ahk2Exe
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Fixed StringSplit inside assume-local functions so that it creates a local
array even when OutputArray0 exists as a global but not a local. [thanks KZ]

Improved ListView's item-changed notification ("I") to indicate via
ErrorLevel whether the item has been selected/deselected, focused/unfocused,
and/or checked/unchecked. [thanks foom]

Added an additional layer of protection to compiled scripts. It is
recommended that scripts containing sensitive data or source code be
recompiled with the /NoDecompile switch. Details:
http://www.autohotkey.com/docs/Scripts.htm#ahk2exeCmd


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

#335 From: "Chris Mallett" <ahk@...>
Date: Mon Mar 5, 2007 10:45 am
Subject: AutoHotkey v1.0.46.09: Minor fixes
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Fixed ":=" deep inside expressions when used to assign the result of a
recursive function to a local variable (broken by 1.0.46.06). [thanks
Laszlo]

Fixed inability to pass certain ternary expressions to ByRef parameters.
[thanks Titan]

Fixed "GuiControlGet, OutputVar, Pos" so that it doesn't make the OutputVar
blank. [thanks PhiLho]

Changed and fixed continuation sections so that the "Comment" option doesn't
force the LTrim option into effect. [thanks Titan]

Changed the Terminal Server Awareness flag back to "disabled" on
AutoHotkey.exe and compiled scripts. This improves flexibility and backward
compatibility.  For details, see:
http://msdn2.microsoft.com/en-us/library/01cfys9z.aspx


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

#334 From: "davidaexp1" <davidaexp1@...>
Date: Fri Mar 2, 2007 7:16 pm
Subject: Automated email response
davidaexp1
Offline Offline
Send Email Send Email
 
Can autohotkey monitor my incoming yahoo mail and send out custom
responses?


I get notices from clients.  I respond with a few set answers based on
keywords in the customer's notice.  Can Autohotkey monitor my incoming
email, scan for the key word and then send out a response?  Yahoo alert
goes off each time I get an incoming email.  Can I use that as a
trigger?

Thanks in advance.

#321 From: "stretch655" <stretch655@...>
Date: Thu Feb 8, 2007 11:14 am
Subject: Input Problem
stretch655
Offline Offline
Send Email Send Email
 
Hi,

I was experimenting with the "Input" command and came across a
problem.   In the following script, if you type the letter 'a', you're
prompted to type the string "pqr".   The "Input" command should report
this string as soon as the user types it - but it doesn't.   However,
it will report other characters.  If the 2nd line is changed to
"sendMode event", the input routine works correctly, so I guess it's
something to do with "sendMode input".  Is this correct behaviour, or
is it a bug?

(By the way, I'm sending this message to this yahoo group, because for
some strange reason, I've been banned from the regular Autohotkey
forum.  I can't even log in to it.   I think maybe my IP address has
been blacklisted.   Now, the fact is I haven't posted any offensive
messages on the forums - it's been a few months since I even logged
on.  So I'm wondering if someone - anyone - can help me out?   I've
already sent an email to support@... asking for help.)


#singleInstance force
sendMode input

hotKey, $p, key_p
hotKey, $q, key_q
hotKey, $r, key_r
return

key_p:
    send, {p}
    return

key_q:
    send, {q}
    return

key_r:
    send, {r}
    return

a::
    msgbox, Enter the string "pqr"
    Input, var, V T7 C, , pqr
    msgbox, %var%
    return

#320 From: "Chris Mallett" <ahk@...>
Date: Thu Feb 8, 2007 12:46 am
Subject: AutoHotkey v1.0.46.08: Minor changes and improvements
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Fixed unreliability of ComSpec and environment variables on Windows 9x
(broken by v1.0.46.07). [thanks Loriss]

Changed the Terminal Server Awareness flag back to "disabled" on
AutoHotkey.exe and compiled scripts. This improves flexibility and backward
compatibility (see discussion at forum).

Changed: When AutoHotkey.exe is launched without a script specified, it will
now run (or prompt you to create) the file AutoHotkey.ahk in the My
Documents folder. The only exception is when AutoHotkey.ini exists in the
working directory, in which case it uses the old behavior of executing that
file.

Improved DllCall to support an integer in place of the function name, which
is interpreted as the address of the function to call. [thanks Sean]


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

#318 From: "Chris Mallett" <ahk@...>
Date: Wed Jan 24, 2007 4:56 pm
Subject: AutoHotkey v1.0.46.07: Minor fixes
cmallett2
Offline Offline
Send Email Send Email
 
Here are the changes:

Fixed crash of illegally-named dynamic variables on the left of an
equal-sign assignment (broken by 1.0.45). [thanks PhiLho]

Fixed FileMoveDir's "Option 2" to work properly even when the directory is
being both renamed and moved. [thanks bugmenot]

Fixed inability to pass a variable ByRef if that same expression changed it
from empty to non-empty (when #NoEnv is absent). [thanks Joy2DWorld]

Changed DllCall's A_LastError to reflect only changes made by the script,
not by AutoHotkey itself. [thanks Azerty]


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

#316 From: "c_j_wescott" <cjwescott@...>
Date: Sun Jan 21, 2007 5:56 pm
Subject: Re: Turning On/Off Assignment
c_j_wescott
Offline Offline
Send Email Send Email
 
Hi F.D.,

Thanks for the script, it is everything I need.

This will make a world of difference when my duaghter interacts with
the computer.  Heck, her school may even want the executible.

Again, thank you immensely,
Chris
(PS: I go to the AHK forum for further questions)


--- In AutoHotkey@yahoogroups.com, "F.D." <fdg001@...> wrote:
>
> > 1. Deactivate the Mbutton and Rbutton so they do nothing or (if
this
> > is not possible).
> > [...]
> > Secondly, I need to be able to turn that assignment off and revert
> > back to their normal mouse button assignments when my wife or I
take
> > over.
>
> I quickly wrote a short script for you.
> It's probably not the most elegant solution (see comments in the
code),
> but it should work just fine:
>
> /*
> start of script
> */
> ; initialize
> blocked := True ; immediately reversed when hotkeys are created
> ; create (and deactivate) hotkeys
> Hotkey, RButton, doNothing
> Hotkey, MButton, doNothing
> GoSub, toggleBlock
> ; end of auto-execute section
> Return
>
> ; [ALT]+[F1]: toggle blocking of right and middle mouse buttons
> !F1::GoSub, toggleBlock
>
> ; [ALT]+[ESC]: terminate script
> !ESC::ExitApp
>
> ; toggle blocking of right and middle mouse buttons
> toggleBlock: ; N.B.: could also use Suspend to toggle all hotkeys
>  If (blocked = False)
>  {
> 	 Hotkey, RButton, On
> 	 Hotkey, MButton, On
>  }
>  Else
>  {
> 	 Hotkey, RButton, Off
> 	 Hotkey, MButton, Off
>  }
>  blocked := Not blocked
>  MsgBox, blocked: %blocked% ; DEBUG
> Return
>
> ; do nothing
> doNothing:
> Return
> /*
> end of script
> */
>
> The keys will start out not being blocked - you can activate (and
later
> deactivate) the block using [ALT]+[F1].
> Terminate the script using [ALT]+[ESC]
>
> HTH.
>
>
> -- F.
>
>
> PS: You'd probably be better off asking in the AHK forums next time.
>
>
> ----- Original Message -----
> From: c_j_wescott
> Date: 2007-01-21 16:46
> > Just downloaded the software and read through some of the help
file.
> > Looks like some very nice software.  Thanks in advance to the
> > developer.
> >
> > I have a challenged daughter who can't seem to grasp the idea
that
> > only the Lbutton needs to be pressed.  She will go click mania on
all
> > buttons.
> >
> > I need to do one of the following:
> >
>
> >
> > 2. Assign the Mbutton and Rbutton so they behave like the Lbutton.
> >
> > I know how to do 2. but is there a way to do 1.?
> >
>
> >
> > Your guidance is greatly appreciated.
> > Regards,
> > Chris
>

#315 From: "F.D." <fdg001@...>
Date: Sun Jan 21, 2007 4:29 pm
Subject: Re: Turning On/Off Assignment
ace_noone
Offline Offline
Send Email Send Email
 
> 1. Deactivate the Mbutton and Rbutton so they do nothing or (if this
> is not possible).
> [...]
> Secondly, I need to be able to turn that assignment off and revert
> back to their normal mouse button assignments when my wife or I take
> over.

I quickly wrote a short script for you.
It's probably not the most elegant solution (see comments in the code),
but it should work just fine:

/*
start of script
*/
; initialize
blocked := True ; immediately reversed when hotkeys are created
; create (and deactivate) hotkeys
Hotkey, RButton, doNothing
Hotkey, MButton, doNothing
GoSub, toggleBlock
; end of auto-execute section
Return

; [ALT]+[F1]: toggle blocking of right and middle mouse buttons
!F1::GoSub, toggleBlock

; [ALT]+[ESC]: terminate script
!ESC::ExitApp

; toggle blocking of right and middle mouse buttons
toggleBlock: ; N.B.: could also use Suspend to toggle all hotkeys
	 If (blocked = False)
	 {
		 Hotkey, RButton, On
		 Hotkey, MButton, On
	 }
	 Else
	 {
		 Hotkey, RButton, Off
		 Hotkey, MButton, Off
	 }
	 blocked := Not blocked
	 MsgBox, blocked: %blocked% ; DEBUG
Return

; do nothing
doNothing:
Return
/*
end of script
*/

The keys will start out not being blocked - you can activate (and later
deactivate) the block using [ALT]+[F1].
Terminate the script using [ALT]+[ESC]

HTH.


-- F.


PS: You'd probably be better off asking in the AHK forums next time.


----- Original Message -----
From: c_j_wescott
Date: 2007-01-21 16:46
> Just downloaded the software and read through some of the help file.
> Looks like some very nice software.  Thanks in advance to the
> developer.
>
> I have a challenged daughter who can't seem to grasp the idea that
> only the Lbutton needs to be pressed.  She will go click mania on all
> buttons.
>
> I need to do one of the following:
>

>
> 2. Assign the Mbutton and Rbutton so they behave like the Lbutton.
>
> I know how to do 2. but is there a way to do 1.?
>

>
> Your guidance is greatly appreciated.
> Regards,
> Chris

Messages 315 - 393 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