Search found 186 matches

by Oblomov
Apr 15th, ’20, 12:30
Forum: General Discussion
Topic: Weird shortcut behavior, in regards to different keyboard layouts/languages
Replies: 0
Views: 5469

Weird shortcut behavior, in regards to different keyboard layouts/languages

Hello, I've got two commands https://i.imgur.com/uVmTzxi.jpg Which both have the following command, that performs a language switch: toggle34:=!toggle34 If Toggle34 PostMessage, 0x50, 0x02,0,, A else PostMessage, 0x50, 0, 0x4090409,, A However, when I press 'Ctrl + Æ' (a shortcut in a program I ofte...
by Oblomov
Apr 11th, ’20, 16:53
Forum: General Discussion
Topic: Last position of mouse
Replies: 2
Views: 1125

Re: Last position of mouse

Marko wrote: Apr 10th, ’20, 18:51 Save mouse position:

Code: Select all

MouseGetPos, xpos, ypos 
MsgBox, The cursor is at X%xpos% Y%ypos%.
https://www.autohotkey.com/docs/command ... GetPos.htm

Move the mouse to a new position:

Code: Select all

MouseMove, 200, 100
https://www.autohotkey.com/docs/commands/MouseMove.htm
Gotcha, thanks ❤
by Oblomov
Apr 10th, ’20, 16:51
Forum: General Discussion
Topic: Last position of mouse
Replies: 2
Views: 1125

Last position of mouse

I'm trying to figure out how to return to past mouse position, after executing some code. Is it perhaps possible to save position of a mouse in some sort of variable and then return to it, after executing some code? For example something like: v = current mouse position some code here return v Or pe...
by Oblomov
Apr 2nd, ’20, 20:29
Forum: General Discussion
Topic: Occasional, small problem with addition of a shortcut and suggestion, in regards to error-checking
Replies: 1
Views: 706

Occasional, small problem with addition of a shortcut and suggestion, in regards to error-checking

Just wanted to point out that sometimes, it seems as though while trying to define a shortcut, the program doesn't always disable shortcut execution. I.e. when you fill out the shortcut input, you may accidentally execute existing commands. This doesn't seem to happen often, but from time to time. U...
by Oblomov
Mar 25th, ’20, 18:20
Forum: General Discussion
Topic: Toggling process, rather than window
Replies: 3
Views: 982

Re: Toggling process, rather than window

There are several possibilities. I suggest you study the following AutoHotkey commands: https://www.autohotkey.com/docs/commands/WinExist.htm https://www.autohotkey.com/docs/misc/WinTitle.htm Thanks! This worked for me if WinExist("ahk_exe Photoshop.exe") WinActivate, ahk_exe Photoshop.ex...
by Oblomov
Mar 24th, ’20, 15:44
Forum: General Discussion
Topic: Toggling process, rather than window
Replies: 3
Views: 982

Toggling process, rather than window

Is it possible to toggle the process, rather than window? Photoshop for example, has window name based on file name

I don't suppose it would go something like this?

Code: Select all

If WinExist("Photoshop.exe")
	WinActivate
Else
	WinMinimize
by Oblomov
Mar 22nd, ’20, 11:39
Forum: General Discussion
Topic: Context window seemingly, not quite working
Replies: 2
Views: 1097

Re: Context window seemingly working

Marko wrote: Mar 22nd, ’20, 09:11 The priority is dependent on the sequence of the items on the list.
Window setting defines the target window(s) in which the item is active.
Gotcha, re-adding the text expansion with an empty field, resulted in the distinctly desired behavior, in regards to priority 👍
by Oblomov
Mar 21st, ’20, 20:13
Forum: General Discussion
Topic: Context window seemingly, not quite working
Replies: 2
Views: 1097

Context window seemingly, not quite working

I'm trying to set context window, as described in 6 of: https://www.fastkeysautomation.com/documentation/TextExpander.html However, for some reason, I can't get it to receive priority over a text expansion, that has an empty 'Window' field. And so, I have two commands with the same string, \d1. One ...
by Oblomov
Feb 28th, ’20, 14:09
Forum: General Discussion
Topic: Can't get a program to recognize an FK command
Replies: 2
Views: 1443

Re: Can't get a program to recognize an FK command

Marko wrote: Feb 28th, ’20, 14:03 To simulate Ctrl+Alt+Shift+F1:

Type: Command

Code: Select all

Send, ^!+F1
See Special characters in
https://fastkeysautomation.com/documentation/Send.html
Didn't consider that, thanks!

However it still seems to not work 😞
by Oblomov
Feb 28th, ’20, 13:57
Forum: General Discussion
Topic: Can't get a program to recognize an FK command
Replies: 2
Views: 1443

Can't get a program to recognize an FK command

I'm having a bit of trouble making Send, ^{LShift down}!{F1}{LShift up} https://i.imgur.com/0UjEFia.jpg Work with VLC, i.e. making the above code work with a command, that would trigger a function within VLC (very short backwards jump). It works just fine when set to Ctrl + Alt + Left inside of VLC ...