Thanks!Xtra wrote:Kryu wrote: but just to practice ternary operator:Code: Select all
F7::Send % c := c=3 ? 4 : c=4 ? 5 : 3
Search found 7 matches
- 18 May 2018, 07:00
- Forum: Gaming Help (v1)
- Topic: Cycling keystrokes?
- Replies: 8
- Views: 2063
Re: Cycling keystrokes?
- 17 May 2018, 11:30
- Forum: Gaming Help (v1)
- Topic: Cycling keystrokes?
- Replies: 8
- Views: 2063
Re: Cycling keystrokes?
I agree.swagfag wrote:this isnt practice, this is abuse lol
- 17 May 2018, 09:48
- Forum: Gaming Help (v1)
- Topic: Cycling keystrokes?
- Replies: 8
- Views: 2063
Re: Cycling keystrokes?
It's ugly as hell, but just to practice ternary operator:
Code: Select all
F7::Send % (c = 5) ? (c := 3) : (c = 3) ? (c := 4) : (c = 4) ? (c := 5) : (c := 3)
- 15 May 2018, 13:11
- Forum: Editors
- Topic: Sublime Text Resources - [plugins, lang files, etc.]
- Replies: 17
- Views: 33996
Re: Sublime Text Resources - [plugins, lang files, etc.]
You can't fix this. Not whilst using .tmLang files for doing the syntax highlighting, as they can only ever parse a single line at a time. There is virtually no way for the lexer to know an opening brace is coming up on the line below belonging to a function declaration. This is sad. I'm really add...
- 14 May 2018, 15:55
- Forum: Editors
- Topic: Sublime Text Resources - [plugins, lang files, etc.]
- Replies: 17
- Views: 33996
Re: Sublime Text Resources - [plugins, lang files, etc.]
Thank you, everyone, for these great tips! I've added a couple to my Sublime Text. As to properly highlighting function definitions where the curly brace comes on the next line, it cannot be done in Sublime Text, it's hardcoded that way. The problem is that a regex cannot look beyond the end of the...
- 18 Mar 2017, 08:36
- Forum: Ask for Help (v1)
- Topic: Windows 10 and SendInput
- Replies: 2
- Views: 2203
Re: Windows 10 and SendInput
Both work fine for me in Paint on Windows 10. There's no reason to run as admin in this case, if you're testing with Paint. Reasons to run as admin would include: You need to click or send keystrokes to a window which is running as admin, or control it in some other way, like moving the window. You...
- 16 Mar 2017, 13:35
- Forum: Ask for Help (v1)
- Topic: Windows 10 and SendInput
- Replies: 2
- Views: 2203
Windows 10 and SendInput
Hi, I installed Windows 10 right now and I can't make this simple drag and drop script work (even running as Admin): ; Works on Win8.1 but does not work on Win10 SendMode Input *#F12:: Send {Click 500, 500 Down} Send {Click 600, 600 Up} return But, if I change to this: SendMode Input *#F12:: Send {C...