How to submit a query with the keyboard in eXist-db? - keyboard

While working with eXist, once I have written the query, I have to grab the mouse, point the Submit button and click it. I think this is a great lost of time if you have to do it thousands of times. Moreover I'm very used to do it with the keyboard in other programms I use.
Does anybody how to do it? Thanks

If you're using eXist-db's web-based code editor, eXide, you can submit queries using the CTRL+Enter shortcut (or Command+Enter on Mac). It works quite well.

Related

VBA Excel - Stop user from being able to use the mouse but allow the user to stop or pause the script

Good afternoon everyone.
*Note- I have looked for a couple of days for the answer to this question.
I have a bit of code that controls a separate piece of software to enter data.
I can not access the scripting side of this software, so I will just leave that bit out.
I have the following working.
Mouse movement.
Mouse Click.
Data input.
The only problem here is that while the script is running, I can still move the mouse manually. Which in turn can cause it to click on something wrong.
I know that
"BlockInput = True" deactivates mouse and keyboard.
This stops me from using the keyboard or it would work great.
"Application.Interactive = False" makes the cursor do the thinking thing.
This stops the program from clicking on the items I need to be clicked and still lets me use the mouse.
I hope this makes sense. This script will only be temporary until I get scripting access to the software.
Thank you in advance.

3rd party Program focus

thanks for your amazing support!
Now i have again a question. To get access to some raw datas (i'm working in a call center) we using a website to get an CSV/xls file from our SQL Database (the IT Department doesnt allow me to get direct access to the SQL database).
For an automatic update of my sheet i use an shell command to trigger chrome with the right parameters in the link (chrome starts the download).
Everything works fine but, when i trigger Chrome per shell, i have to minimize chrome again (otherwise you can't see the Excel screen). So i can't find an command to minimize external windows so i'm using shell to minimize all, after that i maximize excel again, works great, but after excel has done the updates, it should activate "VLC Media Player", i tried to use AppActivate for that, but its just blikink orange in the taskbar and dont get focus.
Can you help me?
I can share you the code but it's really just the AppActivate() line that interest you :)
Thanks again!
Br
Olvier
NirCmd from NirSoft is what you need.

Linux - Any way to configure or create a script/program to make right click not select menu item?

The default behavior for right-clicking on most recent Linux distros is to select a menu item in a right-click menu upon releasing the right mouse button. While this saves some mouse presses, it is driving some of my Windows-trained (and rather vocal) coworkers completely bonkers, and a lot of searching has told me that there is no option to change this behavior in the distros they are using (mostly RHEL 6).
To make my work environment a little less volatile I would like to try to program a fix or patch for their systems to make right clicking work like they are used to (the menu does not even appear until the right mouse button is released), but I don't know what kinds of tutorials I should be looking for (shell scripts? C? etc.) in order to do this.
If I could be pointed in the right direction that would be lovely! (or if someone by chance already knows of a fix, that would work too, though a lot of Googling has told me that there does not appear to be one currently)
Follow the directions here:
https://unix.stackexchange.com/questions/20550/how-to-disable-the-forward-back-buttons-on-my-mouse
But instead of disabling the forward and back buttons, disable the right click mouse button. You can easily dump the resulting command into a shell script which calls xmodmap. Then you can make icons that disable and enable the right mouse button, for the times where they will need it.

How do I stop wxhaskell from beeping on enter in text controls?

I've played around with processEnter, on command, and on anyKey with textEntry to no avail. I've been looking through the massive amount of documentation for wx-core, but I don't see anything that'll help. I'm using wxhaskell 0.13.2.1 on Windows 8.
You need to use wxTE_PROCESS_ENTER style to have a chance of capturing the Enter key in a wxTextCtrl. If you don't use it, this key is used for activating the default dialog button -- or beeping, under Windows, if there is no such button.

Text editor in Windows with real time update?

What's a good text editor in Windows that automatically updates the view whenever the opened file has been modified by another process? I need this to watch the output of my program.
If you like using a mouse, Notepad++ is great
If you're happier with the keyboard, for me, it has to be Emacs. Here's the download for Windows.
To use the feature in Emacs, add the following to your .emacs:
(global-auto-revert-mode t)
There are lots of people at work who like Textpad but I don't understand why, it doesn't even have column editing.
Notepad++ has this feature.
If you want to reload automatically, go to Settings / Preferences, then the MISC tab and uncheck Update silently under File Status Auto-detection.
What I use is snaketail. It can update in real time several files, even without the focus.
I would recommend Notepad2. It refresh the content automatically without focus switching. You just need to go to menu 'Settings' and set 'File Change Notification...' option, and then save your settings. But keep in mind, refresh has a delay about 2-3 seconds.
Editplus is great.
This doesn't really answer your question, but it sounds like what you really want is some kind of console view, not a file. Would it be possible to pipe your program's output into an output stream that's visible in a console instead? Those are designed to show new lines as they arrive, automatically scroll, etc.
See the Viewer (F3 option) in FAR file manager, when End button is pressed, it updates and scrolls text automatically
Use Tail For Windows.
Tail doesn't need to have focus on.
I've got it from superuser.com answer.

Resources