I just got SAS 9.4 installed at my second Laptop. It's a HP with shortcuts to brigthness at F2+F3.
It drives me crazy that I can't use F3 or any F-statements in sas because of this overlap.
Can I do something to "forget" the shortcuts while I'm using the SAS-window? All my F-statements are shortcuts.
Best regards.
Related
I'm currently trying to override the default Windows hotkeys (like Win + E to open explorer.exe). I've tried many options, but nothing seems to work for me. I know this is possible, because both AutoHotkey and PowerTools can do it.
Also, I would like to avoid partial solutions, like disabling all Windows shortcuts in the Registry, mainly because it doesn't solve the problem, and hotkeys like Win + Arrow still isn't disabled or usable by RegisterHotKey().
I have two monitors. My laptop (monitor #1) and an HDMI monitor (monitor #2). Postman will only open on #1 forcing me to drag it to monitor #2 for use. Is there any way to force Postman to always open on monitor #2. (And the windows key + alt + enter doesn't work for me.)
I think it's opening on the main monitor. You could use e.g. DisplayFusion to memorize the window location.
https://www.displayfusion.com/ works for me. If it's a corporate laptop then use
Windows key + Shift + Enter
Using the latest version of Windows 10, I have found that Postman consistently opens on the display I last had it open on. Simply backing up and reinstalling Postman could fix this, or forcing a windows update if you're on an older version.
If not a solution such as PowerToys' FancyZones or DisplayFusion could work for you, although I have no experience either of these so I couldn't say for sure if they would work.
I think you can try following below steps:
Open the program.
Move it to the monitor on which you would like it to open by default.
Hit the Windows key + Shift + Enter
And now, it will be open each time on the monitor of your preference.
I am install VMware station 12 in win7 to run a ubuntu 14.04 LTS server.
When using vi, the key is in chaos.
For example, in insert mode(after I press 'i'), backspace can not delete the character which on left of cursor, instead it left move the cursor.
Sometimes the 'x' can delete the character, sometimes it can not.
Sometimes the enter will replicate all characters
In summary, the behavior of vi is total different than normal linux. How to set this?
I have not install "enhanced keybroad driver", but only vi have this problem.
I think it's just normal behaviour which happens because of wrong typing.
The thing with backspace for example is a normal thing, add the following to your .vimrc to solve this:
set backspace=indent,eol,start
I have trawled the net and can't seem to find a satisfactory answer. Whenever I run a program that has a Tkinter GUI it always seems blurry/fuzzy (which I assume is a low resolution). It seems much lower resolution than the Windows 10 OS that is running on a couple of computers that I run these programs on.
It doesn't matter what program I run I still get the same results for all types of Tkinter entities such as buttons, labels, file dialogues etc. Which is why I have not included a sample of code.
I have copied some examples below:
Tkinter FD
Tkinter Label
Is this something I should just expect or is there some of setting on the OS\Python\Tkinter that I need to alter.
Any help would be very much appreciated.
It seems to be an OS tweak. I don't know the details (would be glad for an explanataion), but it does the job on Windows 10:
ctypes.windll.shcore.SetProcessDpiAwareness(1)
Call it before you initiate your GUI, i.e.:
import ctypes
.
.
.
if __name__ == "__main__":
if 'win' in sys.platform:
ctypes.windll.shcore.SetProcessDpiAwareness(1)
[call your Tkinter stuff]
Got it from here:
Attempting to resolve blurred tkinter text + scaling on Windows 10 high DPI displays, but concerned my approach is not Pythonic or is unsafe
I too had the same problem. I fixed it by disabling display scaling on high DPI settings on python.exe and pythonw.exe.
I followed the instructions on this page: http://www.thewindowsclub.com/fonts-appear-blurred-windows-8
1) Open your Python installation directory, this should be C:\Python27\
2) Find a executable file called python.exe
3) Right click it, and select properties
4) Go to the compatibility tab, and check Disable display scaling on high DPI settings
5) Repeat for pythonw.exe
This should fix your issues with blurry fonts
I was able so solve it! I had a look on this question: on Stackoverflow The answer from #Jay solved my problem completely. So it was not really a tkinter/python thing, but rather windows itself.
I've been using VS and DevC++ to create C++ console programs, but I dislike that the output is in a console window. I'd like to be able to easily copy/paste text without needing to right click the window, go to properties, enable quickedit mode, and so forth.
Lastly, I'd like to be able to time how long my program takes to run (accurately). I am using Windows.
As to the first part of your question, enabling QuickEdit is a once-only thing, so I really think it's far from onerous to select console text. You can always tee the output to a file when you invoke the application.
tee.exe
Depending on one's definition of "accurately", using clock() might suffice:
#include <time.h>
clock_t start, finish;
start = clock();
// do stuff
finish = clock();
double duration = (finish-start) / (double)CLOCKS_PER_SEC;
This gives millisecond accuracy on Windows.
You could use Eclipse. Eclipse for Java is a state of the art ide, and from what I have heard so far, so is Eclipse for C/C++. Netbeans for C++ is also a viable choice, along with Code::Blocks.
As for the console, I do not know if you can do it. You are running a console application and you don't want it to appear on a console? What kind of sorcery is that? Ok you could maybe just download an interactive shell for windows or something and manage to achieve what you want.
As for the timer, IDEs such as Visual Studio (the paid editions, can't talk about express edition) and Eclipse or Netbeans, feature a profiler, either by default, or by an add-on you must install, which can be used to evaluate your program and run several metrics on it.
Try Console - http://sourceforge.net/projects/console/