Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
So, these little popups you get when typing on macOS:
They're unique in that they allow users to trigger an action immediately, not from the menu bar or a contextual menu (e.g. right click) They're common among most OSs' in some form, this just happens to be Apple's design.
This popup is
1. System wide, working in browsers, many text editors, etc.
2. Always where your eyes are when typing, at the text cursor/most recent word typed.
As this window is always below the cursor, I figure there's space above to add other typing tools that work in a similar way.
For any typing tool like that it really has to be system-wide, not just in a particular app.
I'm struggling to find useful leads as to which APIs cover this, and whether it's even possible to access this area of the macOS system.
You may be able to program such a feature as an input method, using InputMethodKit. Input methods are most commonly used for Asian language input, where there are many more characters than keys on a keyboard. However, the API is more general than that.
Insofar as the pop-up you're citing as an example is a spell-checker, you may be able to customize it by building a custom spell server. I assume the user will have to select your spelling service explicitly, though, for each document.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
lately I discovered this awesome chrome extension vimium and really love the idea to control GUI (in this case chrome) with some sort of popups if shortcuts not available or unknown.
I searched for while but couldn't find any general tool or OS which supports such kind of navigation with Keyboard in GUI application.
I know that at least for Windows automation for GUI applications is possible but couldn't find any existing project, so I tried it myself but it didn't worked well in the end.
My Question: Is there ANY similar program/project/OS to vimium available but in a more general way, so that I can control the whole desktop (with help from popups/modals) with my Keyboard?
Thanks
I used a combination of following two programs to get semi Vimium-like functionality in Windows.
Hunt-and-Peck -
https://github.com/zsims/hunt-and-peck
This works like vimium on the active window. Uses "ALT+;" as the trigger. Doesn't work in all programs. (Only supports UI Automation Elements with "invoke" patterns) I use it mostly in File Explorer and to trigger Chrome Browser Extensions or other chrome elements outside the active page (that can't be accessed with vimium).
FastWindowSwitcher
https://github.com/JochenBaier/fastwindowswitcher
I find this to be quicker than using ALT+TAB or WIN+TAB to quickly switch to another active window.
For Windows, I use Fluent Search: https://www.fluentsearch.net/
Demo video at Youtube
For macOS, Vimac works very similarly to Vimium: https://vimacapp.com/
Linux has keynav, which is not exactly the same, but also works great:
https://github.com/jordansissel/keynav
That said, it's X11 only. I actually ended up in this Stack Overflow question after searching for a keynav alternative, as I'm currently using Wayland.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking for a free/oss multiple window code text editor (Perl + other languages) for viewing/editing different sections of same file. Can you recommend one for Windows platform?
Currently I use Notepad++ which is good and has a tab for each file. But it doesn't allow opening the same file more than once in different tabs to be able to view different parts of the file. I would also like to 'tear-off' a tab to make a new window (just like in Google Chrome) so I can see different parts of the same file side by side.
In Notepad++ (5.9.3 at least) right click on the tab of a version and select Clone to Other View.
Voila! Editing the same file in two different tabs. You can also drag the tab out of the window and 'drop' it on the desktop to open another instance of Notepad++.
emacs is a good fit. its almost-clone (but really not the same) epsilon is lighter and easier to begin with.
(i just remembered that, although i have a full version of epsilon, it is not free... too bad, because it's a very good editor)
Have a look at Sublime Text. I've switched to it From Notepad++. Works on Windows OS X and Linux. I find the Minimap very useful.
You can get multiple views on a file using "New View into" from the file menu.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I have just started a new job, and am trying to familiarise myself with a large C# solution, of 330 odd projects. Ideally I would like to attach comments and questions to pieces of code without actually editing the code itself.
Is there a tool I can use to annotate C# source code without actually editing the code itself. Ideally I would like a 'bubble' type comment mechanism, similar to how MS Word shows comments in a a document.
you can add bookmarks to lines of files of a solution. In vs2010 there is a view that shows all bookmarks and you can give tem names and sort them in bookmarkfolders.
On studio 2010, with your desired Project open, hit "Ctrl+W, T" (or View->Task List). This window can both be used to view in-code comments (which is not what you want) using the //TODO: comment prefix, or to view your own independente "User Tasks" (view the dropdown options), and it is saved per project. With this list indicating your descriptions and bookmarks id... you can have a very efective freeway to what you want without ever changing source. Hope it helps.
It may well be overkill for your needs, but Atlassian's FishEye can be used to exactly what you're after - in the form of a source code review.
You could create more than one review, as your understanding of the code improves.
See https://www.atlassian.com/software/fisheye/overview. Note that it sits on top of a source control system (it supports Subversion, CVS, Perforce, Git, and Mercurial). Even if your code is not managed in one of these, it would be trivial to set one up for this purpose.
It also as the advantage of integrating your comments with those of other in your team ... and, of course, being usable for real reviews!
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm looking for a program that semi-automatically builds a GUI for a Windows command line program.
That is, I want to give it an arbitrary command line program and somehow describe its usage ("It takes a list of filenames, and the --foo and --bar options followed by a string") and it will create a new GUI wrapper program that allows selection of files with a "Browse" dialog box and has text boxes for foo and bar.
I remember having tried a program like this before, but I don't remember what is was called and google fails to remind me.
Are you talking about Gumbie?
Gumbie highlights:
In theory at least, Gumbie allows you to build a GUI without ever using a GUI. It's the GUI hater's GUI builder...
Gumbie provides reasonable defaults for the handling of a number of events, such as windowClosing.
Gumbie comes with some features (e.g., layers) that facilitate the creation of GUIs for text-stream based command line software.
The main module of Gumbie offers support for building java applications that can also be run as java applets within netscape or MS IE.
Here's an example.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I need to be able to identify a single window on the user's screen and take a screen capture of it. The screen data is to be stored in memory and not written to disk.
This is already supported through the commandline tool /usr/sbin/screencapture or through the Grab utility (though their functionality is not extensive enough to justify me launching them as a subprocess).
References / Hints
nm /usr/sbin/screencapture returns private Cocoa interfaces including _CGSGetSharedWindow that appear to do this.
Third party application Snapzpro does this (but does not provide source code)
Mac OS X 10.5 introduced the Quartz Window Services API to do just this.
The first thing that came to mind was GrabFS from MacFuse. The source is here.
Command+Shift+4 to activate the screenshot selection, then tap the space bar to select the whole window.