Search found 169 matches

by Cerberus
28 Jun 2018, 07:08
Forum: Scripts and Functions
Topic: Screen clipping
Replies: 184
Views: 67195

Re: Screen clipping

fenchai wrote:Yes, I had to change to MButton and Space. Working well now.

Are you updating the script to support OCR?
I'm not sure whether I have the ability to do so. It's a big script and it's not mine. And OCR didn't work on my computer. Maybe I'll try at some point in the future.
by Cerberus
27 Jun 2018, 16:11
Forum: Scripts and Functions
Topic: Screen clipping
Replies: 184
Views: 67195

Re: Screen clipping

Thank You Cerberus :) You use the same hotkeys I use. this is the best way to use it and I also don't use email either so it's at 0 imgur works :D btw I will stop using ShareX because it keeps activating after clip :=1 is set on any hotkey. It also seems to stop OCR from working. having imgur on th...
by Cerberus
26 Jun 2018, 21:06
Forum: Scripts and Functions
Topic: Screen clipping
Replies: 184
Views: 67195

Re: Screen clipping

How do u upload to imgur without an imgur account? I don't know how to search for imgur since imgur is everywhere. I don't believe you can without an account. But it's easy to create an account. I'll post my version of the script below, which doesn't have OCR yet, but it does have auto-upload to Im...
by Cerberus
26 Jun 2018, 20:59
Forum: Scripts and Functions
Topic: Screen clipping
Replies: 184
Views: 67195

Re: Screen clipping

@Cerberus - Just an FYI- I removed the IMUGR upload from this version as I virtually never used that functionality anymore. :( Bummer about it not working on 32 bit version. There is probably a 32 bit version of Tesseract but I don't have the time to investigate. Regards, Joe Oh, I see, that's too ...
by Cerberus
25 Jun 2018, 22:23
Forum: Scripts and Functions
Topic: ExplorerTool – small enhancements of default shell
Replies: 8
Views: 2695

Re: ExplorerTool – small enhancements of default shell

This works on Win Vista, Win 8. I didn't check it on Win 10, because I avoid using it (it messes up my multi-boot sequence). I agree to avoid win10 but for other (privacy) reasons. you could easily setup multiboot by using vhd (no need to partition the hard drive). search the internet if you want t...
by Cerberus
25 Jun 2018, 21:54
Forum: Scripts and Functions
Topic: Screen clipping
Replies: 184
Views: 67195

Re: Screen clipping

In our May webinar BlackHolyman demonstrated using Tesseract for OCR. I liked it so much I incorporated it into my screen clipping tool. You can download the files from here and watch the demo video below ... Very interesting; I use your Screen Clipping tool every day (including the auto-post to Im...
by Cerberus
24 Jun 2018, 22:24
Forum: Ask For Help
Topic: Script help needed. Read data from clipboard and insert into this script.
Replies: 1
Views: 394

Re: Script help needed. Read data from clipboard and insert into this script.

You can use the clipboard (or any other variable) by enclosing it in percentage signs, like so: %Clipboard% By the way, are you aware that #b acts like pressing b while holding down the Windows key? If you want to send the actual hash symbol, do {#} instead of #. If there is a chance that the clipbo...
by Cerberus
22 Jun 2018, 21:13
Forum: Editors
Topic: Sublime Text Resources - [plugins, lang files, etc.]
Replies: 17
Views: 24852

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...
by Cerberus
17 Jun 2018, 20:48
Forum: Ask For Help
Topic: help with key combination condition
Replies: 4
Views: 941

Re: help with key combination condition

The problem is that the second parameter after the Input command, the output variable (the parameter command , in your script), only outputs characters, not hotkeys that don't produce a (visible?) character. And ^j does not produce a character, it's just a hotkey. From the documentation : OutputVar ...
by Cerberus
10 Jun 2018, 19:53
Forum: Scripts and Functions
Topic: Ixiko's collections of functions and libraries
Replies: 27
Views: 11196

Re: Ixiko's collections of functions and libraries

I think there are plugins for Sublime Text that support code folding. I'm planning to try them and find out what works best.
by Cerberus
05 Jun 2018, 08:47
Forum: Scripts and Functions
Topic: Ixiko's collections of functions and libraries
Replies: 27
Views: 11196

Re: Ixiko's collections of functions and libraries

Highly useful! I've starred your repository. For now...

Image
by Cerberus
04 Jun 2018, 19:11
Forum: Offtopic
Topic: What is the use of Selenium Remote Control - SELENIUM
Replies: 3
Views: 1303

Re: What is the use of Selenium Remote Control - SELENIUM

SL5 wrote:yes thats really good. And i control it ofer AHK :) really great selenium

Example:

Code: Select all

...
Very interesting; so what does this code do?
by Cerberus
03 Jun 2018, 22:43
Forum: Offtopic
Topic: Syntax and naming conventions?
Replies: 5
Views: 2362

Re: Syntax and naming conventions?

Pretty much as described already for variable/function/method names. I'm not a big fan of CamelCase generally, but it seems to be the de-facto standard for AHK. I drop my leading braces down a line - I blame a workplace style guide from years ago where OTB was frowned upon for some reason. Argument...
by Cerberus
03 Jun 2018, 20:44
Forum: Offtopic
Topic: ! or 'not' to validate an expression in an if statement as false? Topic is solved
Replies: 30
Views: 10314

Re: ! or 'not' to validate an expression in an if statement as false? Topic is solved

also, the "if var in/contains/type" style if's are on a separate page than normal if's for a reason: they are different than normal if's. they are not expressions, cannot use (), cannot use with || && and so on. they need to be EXACTLY as documented on their own page, not as documented on some othe...
by Cerberus
31 May 2018, 21:50
Forum: Offtopic
Topic: What Was The First Language You Learned?
Replies: 7
Views: 2561

Re: What Was The First Language You Learned?

You've collected quite a few languages! My first programming language was Autohotkey. It probably began with some clicker script of yore, but now I feel comfortable enough with it to get things done. Much later, I began learning Javascript, and now I can use it to do most of the things I need. I've ...
by Cerberus
31 May 2018, 21:34
Forum: Scripts and Functions
Topic: Vis2 - Image to Text OCR()
Replies: 250
Views: 73278

Re: Vis2 - OCR(), ImageIdentify()

Sounds good!
by Cerberus
31 May 2018, 14:26
Forum: General Discussion
Topic: your personal AutoHotkey style guide
Replies: 103
Views: 29233

Re: your personal AutoHotkey style guide

I think giving variables clear names is paramount, as mentioned above. Thinks I consider when naming: - What does it contain? - What will it be used for? In the example of getting the PID of a windows, I might do it like this (pseudo-code): GetPID, Active_PID If (Active_PID = DesiredValue) Notepad_P...
by Cerberus
31 May 2018, 13:25
Forum: Scripts and Functions
Topic: Vis2 - Image to Text OCR()
Replies: 250
Views: 73278

Re: Vis2 - OCR(), ImageIdentify()

I never used Capture2Text enough to really say, I didn't get past testing. With the consensus I can tweak it to be accurate enough to do the work I need Ah, OK, neither did I. By consensus you mean, when using a method where several attempts agree about the result, Vis2 works well enough for your n...
by Cerberus
31 May 2018, 13:22
Forum: Offtopic
Topic: opinions on Stack Overflow
Replies: 65
Views: 20051

Re: opinions on Stack Overflow

SO and the other large Stack-Exchange sites can indeed be harsh. English.SE is also very harsh, and I can say that as I have been on that site for 8 years. You only need 5 grumpy old high-reps to close a question, and you need only 1 to post a challenging comment. I have a few suggestions: 1. Don't ...
by Cerberus
29 May 2018, 18:20
Forum: Tutorials
Topic: Still confused about when to use % with variables? This helped me figure it out
Replies: 5
Views: 5446

Re: Still confused about when to use % with variables? This helped me figure it out

Excellent for beginners! This is indeed among the most confusing inconsistencies in Autohotkey. I think the best solution is a good syntax highlighter: if you consistently highlight strings or string content as, say, yellow; special symbols that are active/working as purple (e.g. percentage signs in...

Go to advanced search