AutoHotkey Community

It is currently May 23rd, 2012, 4:51 am

All times are UTC [ DST ]


Search found 9 matches
Search these results:

Author Message

 Forum: Support   Topic: Forcing ANSI in Unicode / Autohotkey_L

Posted: November 14th, 2010, 12:06 pm 

Replies: 4
Views: 478


*facepalm* *embarrassment*

Thanks.

 Forum: Support   Topic: Forcing ANSI in Unicode / Autohotkey_L

Posted: November 13th, 2010, 9:29 pm 

Replies: 4
Views: 478


Windows Ultimate 7 - 64 bit Autohotkey_L Unicode Install I am trying to use the SetClipboardData as show here . While I can get data to be written to the buffer just fine, the data is being written in two byte chunks (http comes out 68 00 74 00 74 00 70 00, rather than just 68 74 74 70). I suspect t...

 Forum: Scripts   Topic: SnapTo(Edge)

 Post subject: SnapTo(Edge)
Posted: January 29th, 2010, 8:45 pm 

Replies: 0
Views: 605


Here are just some SnapToFunctions I used prior to switching to Windows 7. #Up:: SnapToTop() return #Down:: SnapToBottom() return #Left:: SnapToLeft() return #Right:: SnapToRight() return SnapToTop() { WinGet, HWND, ID, A WinRestore, ahk_id %HWND% WinGetP...

 Forum: Support   Topic: How to Find Current Working Directory of Active Window?

Posted: May 29th, 2009, 11:49 pm 

Replies: 8
Views: 2231


@t=Run|powershell -noexit -command "cd \"%c\"" @e=Run|explorer "%c" alt-t and alt-e will open a terminal or explorer where-ever I am, as a developer, it is a life safer. I am in vim, working in directory c:\foo\bar\blah -- and I just need to run the current file in a te...

 Forum: Support   Topic: How to Find Current Working Directory of Active Window?

Posted: May 29th, 2009, 5:23 am 

Replies: 8
Views: 2231


I have actually "solved" this sorta via a few third party apps, and I can always use the ultra-small Hoekey which has it native built in. Obviously, I want a pure way to do it, as in pure Autohotkey. As I continue to research, I think I have found one of the issues. I believe that the curr...

 Forum: Support   Topic: How to Find Current Working Directory of Active Window?

 Post subject: Worst Example Ever...
Posted: May 27th, 2009, 11:36 pm 

Replies: 8
Views: 2231


I fear I gave the worst example ever with Firefox. Let me use a much better one, cmd.exe Let say, I run cmd.exe and do "cd c:\users\robertmeta\projects\personal". The path is: C:\Windows\system32\cmd.exe The command line is: "C:\Windows\system32\cmd.exe" The current directory is:...

 Forum: Support   Topic: How to Find Current Working Directory of Active Window?

Posted: May 13th, 2009, 5:57 am 

Replies: 8
Views: 2231


Not exactly what I need, but thank you very much. That put me on the right path, I can use a DllCall to GetEnviromentVariable (specifically, the context variable) and I think that will work. I will post the code once I get it working. The reason that getting the command line is not a solution, is I ...

 Forum: Support   Topic: ahk instances in task manager

Posted: May 11th, 2009, 12:57 am 

Replies: 14
Views: 865


colore wrote:
is there a way to identify which AHK script is each autohotkey.exe entry in task manager?


View / Select Columns / Command Line then look at the full command line.

 Forum: Support   Topic: How to Find Current Working Directory of Active Window?

Posted: May 10th, 2009, 9:53 pm 

Replies: 8
Views: 2231


I want to be able to find the current working directory of the active window. This would allow me to have Firefox focused, and hit a keybinding, and open a console or explorer window to the C:\Program Files\Mozilla Firefox directory. Or, more importantly, when editing files with my favorite text edi...
Sort by:  
Page 1 of 1 [ Search found 9 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group