Search found 9 matches

by MortenZdk
11 Sep 2018, 09:43
Forum: Ask for Help (v1)
Topic: How to print to a specific printer with single key?
Replies: 2
Views: 646

Re: How to print to a specific printer with single key?

Hi Scr1pter, Thanks for your comment. I ended up making a fuction that could customice per program, like this: ; Get program of active window MyWinGetPrg() { WinGetTitle, title, A part_array := StrSplit(title, "-") part_last := Trim(part_array[part_array.MaxIndex()]) Return part_last } ; Print funct...
by MortenZdk
11 Sep 2018, 09:38
Forum: Ask for Help (v1)
Topic: Key is case sensitive in some cases Topic is solved
Replies: 3
Views: 883

Re: Key is case sensitive in some cases Topic is solved

Thanks, using "Send, {Media_Next}" and "Send, {Media_Play_Pause}" makes it work with upper-case hotkey... though pretty weird that it almost worked before also ;-)

I would like to accept your answer, but I could not find a button to do that.
by MortenZdk
11 Sep 2018, 08:02
Forum: Ask for Help (v1)
Topic: Key is case sensitive in some cases Topic is solved
Replies: 3
Views: 883

Key is case sensitive in some cases Topic is solved

For some reason, the "A" hotkey used below is case sensitive, and an "Error: Duplicate hotkey" is reported for "<^>!+A::Media_Play_Pause" if the below is used: ; Use of upper-case "A" hotkey gives error when loading <^>!A::Media_Next <^>!+A::Media_Play_Pause ; This works fine when using lower-case "...
by MortenZdk
09 Sep 2018, 08:56
Forum: Ask for Help (v1)
Topic: How to send ^p (Ctrl-P) to Foxit PhantomPDF? Topic is solved
Replies: 4
Views: 1279

Re: How to send ^p (Ctrl-P) to Foxit PhantomPDF? Topic is solved

Thanks, I have not used PostMessage before, but look like an alternative is sending bare key strokes is not possible or does not work.
by MortenZdk
09 Sep 2018, 04:44
Forum: Ask for Help (v1)
Topic: How to send ^p (Ctrl-P) to Foxit PhantomPDF? Topic is solved
Replies: 4
Views: 1279

Re: How to send ^p (Ctrl-P) to Foxit PhantomPDF? Topic is solved

Thanks for the comments, which made me change the keystroke to access the print dialogue through the ribbon instead, using "{Alt Down}fp{Alt Up}", whereby I got around the problem with non working ^p.
by MortenZdk
09 Sep 2018, 01:08
Forum: Ask for Help (v1)
Topic: How to send ^p (Ctrl-P) to Foxit PhantomPDF? Topic is solved
Replies: 4
Views: 1279

How to send ^p (Ctrl-P) to Foxit PhantomPDF? Topic is solved

The Foxit PhantomPDF is a PDF reader and editor. I would like to make a shortcut for print, thus send ^p (Ctrl-P) to the program, and for this I made the AHK code: ^!+T::Send ^p and also tried: ^!+T::Send {Ctrl Down}p{Ctrl Up} However, in both cases the PhantomPDF often operates as if sending !p (Al...
by MortenZdk
07 Sep 2018, 08:35
Forum: Ask for Help (v1)
Topic: How can I make `send` give input to Windows cmd terminal? Topic is solved
Replies: 4
Views: 2964

Re: How can I make `send` give input to Windows cmd terminal? Topic is solved

It works on Windows 10. What version of Windows do you use? I use Windows 10 also, fully updated. However, your comment made me examine further, and I found out that the cmd was started through a link, and for some reason this specific link did not receive the AHK send text. I replaced the link wit...
by MortenZdk
06 Sep 2018, 23:59
Forum: Ask for Help (v1)
Topic: How can I make `send` give input to Windows cmd terminal? Topic is solved
Replies: 4
Views: 2964

How can I make `send` give input to Windows cmd terminal? Topic is solved

I would like to send some text to a Windows cmd terminal, so I made this simple AutoHotKey .ahk script file: ^!+T::Send Hello However, the text "Hello" does not show in the cmd terminal windows when I press Ctrl + Alt + Shift + T, but it works fine when I use it from a simple text editor. How can I ...
by MortenZdk
25 Aug 2018, 06:22
Forum: Ask for Help (v1)
Topic: How to print to a specific printer with single key?
Replies: 2
Views: 646

How to print to a specific printer with single key?

Having multiple printers, it would save some keystrokes if I can define a key to print to a specific printer.

Is that possible ?

Thanks and best regards,
Morten

Go to advanced search