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 

Search found 14 matches
AutoHotkey Community Forum Index
Author Message
  Topic: tricky string escape
muse

Replies: 2
Views: 116

PostForum: Ask for Help   Posted: Tue May 13, 2008 9:56 am   Subject: tricky string escape
Thanks!

I'm quite new to ahk and wasn't aware of #NoEnv.

Also, to enclose in quotes, I need to put ^ before quotes too:

Run, cmd.exe, /k echo ^"%rp%^"
  Topic: tricky string escape
muse

Replies: 2
Views: 116

PostForum: Ask for Help   Posted: Tue May 13, 2008 1:33 am   Subject: tricky string escape
say, I have following content on clipboard:

HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe

and I need to pass this to a console program as-is (without expanding the %SystemRoot% environ ...
  Topic: Hotkey_IfControlActive()
muse

Replies: 4
Views: 823

PostForum: Scripts & Functions   Posted: Tue Apr 08, 2008 3:37 am   Subject: Hotkey_IfControlActive()
Thank you!

Yes DEP is the root cause of this issue. I disabled DEP for autohotkey.exe and it now works correctly.
  Topic: Hotkey_IfControlActive()
muse

Replies: 4
Views: 823

PostForum: Scripts & Functions   Posted: Tue Apr 08, 2008 2:12 am   Subject: Hotkey_IfControlActive()
I really like this idea since I also need to setup some hotkeys when only a specific control is focused.

However, the example code about setting ^BS in notepad crashes on my win2003, any idea?

c ...
  Topic: Remapped key is not repeated automatically
muse

Replies: 2
Views: 157

PostForum: Ask for Help   Posted: Thu Apr 03, 2008 5:25 am   Subject: my mistake
Thank you. I was not aware of this $ prefix and learned something new today.

Though this issue is not related to ahk: I'm using synergy (http://synergy2.sf.net) these days and if I use the local ke ...
  Topic: Remapped key is not repeated automatically
muse

Replies: 2
Views: 157

PostForum: Ask for Help   Posted: Thu Apr 03, 2008 12:16 am   Subject: Remapped key is not repeated automatically
Hello,

I'm trying to remap Ctrl+j to DOWN in Total Commander:

^j::Send, {DOWN}

The problem is that while I'm holding down CTRL and press j repeatedly, only one DOWN is sent ...
  Topic: dynamic hotstrings
muse

Replies: 7
Views: 456

PostForum: Ask for Help   Posted: Sat Feb 03, 2007 1:47 am   Subject: dynamic hotstrings
How about some special "Separator Character" like "Ending Characters"?
  Topic: dynamic hotstrings
muse

Replies: 7
Views: 456

PostForum: Ask for Help   Posted: Fri Feb 02, 2007 2:38 am   Subject: dynamic hotstrings
It would be cool if hotstring supports parameters.
  Topic: hotstring not working
muse

Replies: 2
Views: 145

PostForum: Ask for Help   Posted: Mon Nov 27, 2006 8:01 am   Subject: hotstring not working
Thanks. It works now.
  Topic: hotstring not working
muse

Replies: 2
Views: 145

PostForum: Ask for Help   Posted: Fri Nov 24, 2006 5:33 pm   Subject: hotstring not working
Hi,

I found following hotstring is not working:

::/bm::javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open("http://www.google.com/bookmarks/mark?op=edit&output= ...
  Topic: How to get a list of window handles
muse

Replies: 2
Views: 255

PostForum: Ask for Help   Posted: Tue Sep 05, 2006 4:09 am   Subject: How to get a list of window handles
Thanks, now it works.
  Topic: How to get a list of window handles
muse

Replies: 2
Views: 255

PostForum: Ask for Help   Posted: Mon Sep 04, 2006 4:25 am   Subject: How to get a list of window handles
My question is how to get the window handle values using WinGet:


SetTitleMatchMode, 1
WinGet, handles, list, Notepad
Loop, %handles%
{
Msgbox, handle%A_Index%
}


It only di ...
  Topic: How to reference the whole command line parameters?
muse

Replies: 8
Views: 399

PostForum: Ask for Help   Posted: Thu Jun 01, 2006 8:59 am   Subject: How to reference the whole command line parameters?
Thanks for the code.

But I still wish there's a way to get the whole intact command line. For example, what if the user passes command line as follows:

autohotkey.exe somefile.ahk abc def " ...
  Topic: How to reference the whole command line parameters?
muse

Replies: 8
Views: 399

PostForum: Ask for Help   Posted: Thu Jun 01, 2006 7:44 am   Subject: How to reference the whole command line parameters?
In dos batch file, we can use %* to reference to the whole command line parameters, while %1, %2 can refer to individual parameters.

In AutoHotKey, we can use %1%, %2% to refer to individual parame ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group