| Author |
Message |
Forum: Support Topic: [solved] - get full file path of the active document |
| CyberUFO |
|
Posted: October 4th, 2011, 4:13 pm
|
|
Replies: 3 Views: 265
|
| Wonderful. Works perfect. Thanks |
|
 |
Forum: Support Topic: [solved] - get full file path of the active document |
| CyberUFO |
|
Posted: October 3rd, 2011, 5:32 pm
|
|
Replies: 3 Views: 265
|
| When I have a document open, for example, a Word document named SampleDocument.doc, how can I get the full path and filename of this document. What I want to end up with is this: H:\ahk\SampleDocument.doc I thought WinGet might do it but it looks like that command only gets other identifiers like Pr... |
|
 |
Forum: Support Topic: Losing the ability of Left Button to drag |
| CyberUFO |
|
Posted: July 15th, 2011, 8:57 pm
|
|
Replies: 1 Views: 621
|
| I want to create hotkeys using LButton, such as LButton & a, LButton & b, LButton & c, etc. but still retain the ability of the LButton to be used highlight text by holding it down and moving the mouse. I lost this ability along with the ability to do a simple left click, when I created ... |
|
 |
Forum: Support Topic: Boolean needed for IfWinActive command |
| CyberUFO |
|
Posted: March 8th, 2010, 11:59 pm
|
|
Replies: 1 Views: 276
|
| Is boolean logic available for IfWinActive? If it is, I couldn't figure it out or find an example. Here's my current workaround code which is awkward: OpenOrFind = no IfWinActive, Open, , OpenOrFind = yes IfWinActive, Find, , OpenOrFind = yes if OpenOrFind = yes etc. I just wish there was AND and OR... |
|
 |
Forum: Issues Topic: Shift key sticking down for 200 milliseconds. |
| CyberUFO |
|
Posted: March 1st, 2010, 10:34 pm
|
|
Replies: 2 Views: 779
|
| I like your solution. I think it's definitely cleaner than my two. Thanks. |
|
 |
Forum: Issues Topic: Shift key sticking down for 200 milliseconds. |
| CyberUFO |
|
Posted: February 26th, 2010, 10:50 pm
|
|
Replies: 2 Views: 779
|
| I found a case where a shift, when it is the second part of a hotkey appears to stick down long enough that it fools an InputBox into thinking it's down for the duration of the box's existence. Interestingly, if I reverse the order of the keys, the shift is no longer a problem. Here's my code. AppsK... |
|
 |
Forum: Support Topic: hotstring causes prolonged shift-down |
| CyberUFO |
|
Posted: February 26th, 2010, 10:21 pm
|
|
Replies: 3 Views: 764
|
| I had a similar problem (shift sticking down for awhile.) Here's my code: AppsKey & RShift:: ;SendInput, {shiftup} ;Sleep, 200 InputBox, UserInput, Text Entry Box, Enter text., , 490, 119 Return For whatever I type in the InputBox, everything is in caps as if the shift key is stuck dow... |
|
 |
Forum: Support Topic: Need command to detect entry of a space character. |
| CyberUFO |
|
Posted: March 7th, 2009, 1:02 am
|
|
Replies: 2 Views: 283
|
Your idea worked. I had to also include the percent signs - %A_Space%. Thanks a lot. Code: !+Backspace:: Input key, I L1 IfEqual key, %A_Space% msgbox A space was entered. else msgbox Char other than space entered. Return |
|
 |
Forum: Support Topic: Need command to detect entry of a space character. |
| CyberUFO |
|
Posted: March 7th, 2009, 12:41 am
|
|
Replies: 2 Views: 283
|
| I'm trying to detect a space character but I haven't been able to get the "Input" command to do it. Here's what I've tried so far: !+Backspace:: Input key, I L1 IfEqual key, {Space} msgbox A space was entered. Return Any ideas why this doesn't work, or if there is a different com... |
|
 |
Forum: Support Topic: how to detect print balloon |
| CyberUFO |
|
Posted: January 16th, 2009, 11:02 pm
|
|
Replies: 2 Views: 418
|
This code will detect when the printer balloon pops up. Hopefully this is a step towards what you want to accomplish but I couldn't get the text out of the balloon.
Code: Loop { IfWinExist, ahk_class tooltips_class32, , MsgBox, You just printed something break ; Terminate the loop } |
|
 |
Forum: Support Topic: Sending multiple enter keys in a row is as slow as a snail |
| CyberUFO |
|
Posted: January 8th, 2009, 5:31 pm
|
|
Replies: 5 Views: 454
|
| It's still slow. True that it could be my computer that is too slow, not AHK. But I now believe it is Notepad that's the problem, due possibly to a memory limitation it has. The easiest way to see the slowness is to take a fairly large (25,000 lines or so) document in Notepad, under Format turn Word... |
|
 |
Forum: Support Topic: Sending multiple enter keys in a row is as slow as a snail |
| CyberUFO |
|
Posted: January 7th, 2009, 11:03 pm
|
|
Replies: 5 Views: 454
|
| I've narrowed this problem down to the fact that it is only happenning in large Notepad documents (8000 lines etc.). With small documents it works okay and Word docs seem to also be okay. Sending something like 13 "a" characters is fast in the large Notepad doc but sending 13 {enter} keys ... |
|
 |
Forum: Support Topic: Sending multiple enter keys in a row is as slow as a snail |
| CyberUFO |
|
Posted: January 7th, 2009, 10:47 pm
|
|
Replies: 5 Views: 454
|
| The following simple hotkey I use to add spacing (13 blank lines) between sections etc. in Notepad and Word docs. AppsKey & Space:: SendInput, {enter 13} Return It works but it's so slow that you can watch the cursor move down one line at a time. I tried sending 13 newline characters (... |
|
 |
Forum: Support Topic: Similar hotkeys are interfering with eachother. |
| CyberUFO |
|
Posted: January 6th, 2009, 10:11 pm
|
|
Replies: 2 Views: 403
|
Your solution works great - thanks.  |
|
 |
Forum: Support Topic: Similar hotkeys are interfering with eachother. |
| CyberUFO |
|
Posted: January 2nd, 2009, 11:25 pm
|
|
Replies: 2 Views: 403
|
| The following hotkey allowed me to type LAlt first or LWin first and it worked either way: #!o::SendInput, test However, when I add the following new hotkey to my script it stops the first hotkey (#!o) from working when I hit LAlt first although it still works if I hit LWin first: LAlt & LWin:: ... |
|
 |
| Sort by: |