What is the keys-codeword for focusing on the results viewer?
I can focus on the program editor using the keys-kodeword wpgm.
In the picture below I have programmed F4 to focus and resize the program editor.
How can I do the same thing for the 'results viewer'?
PS
And where can i find a list of all available 'keys-codewords'?
PS
I am using SAS Base v. 9.4
By 'results viewer' I am refering to this window:
Related
I am trying to configure the F3 key so that it
Submits code in the editor window (either all or selection)
Updates the results window
Put focus back on the editor/or let focus remain in editor
The default behavior of the F3 button is to submit the code in editor, but then to focus on the results window, forcing me to reach for the mouse, to continue editing.
I have tried to configure F3 key like this but it does not work, because focus is on results windows after submitting:
F3 submit; wpgm ;
Any ideas?
I'm using:
SAS 9.4 TS Level 1M3
X64_8PRO platform
Windows 10
I think this is also called "Display Manager", although I used to refer to it as SAS Base.
I'm working with my friend to create a simple Photo Booth device. We are using DNP RX1 Printer, and this printer has the ability to cut photos in half.
When printing photos directly from windows cutting can be set as Enabled/Disabled via "Advanced Options" window in Printer Properties.
How to Enable/Disable Cut (2inch cut)
I'm working on application for this Photo Booth device (Developed on Windows 7). I'm using C++ and Qt as my GUI framework. There is a QPrintSupport module in Qt library that can be used to print images from my application, and I know how to do it. But the problem is that there is no way to Enable/Disable this "cut photos in half" option using Qt library. It is possible to display settings window to user using QPrintDialog class, but I want the process of taking photo and printing to be automatic ( User only press start button, smiles and waits till photo comes out). My workaround for this problem was to save files to two folders, and use different program to print photos from the first folder with cut option enabled and from the other folder with cut option disabled. But the problem was that printer was sometimes detected as DS-RX1 and sometimes as "DS-RX1 (Copy)" or even "DS-RX1 Copy 1", then this solution didn't work and someone had to manually delete printer from the system and reconnect it.
My question is: Is there a way to print a photo from C++ program using default printer and change this Advanced Printer Option (2inch cut) from C++ code? OR: Is there a way to force this printer to be detected always as DS-RX1?
Maybe you can set priner by substring "DS-RX1".
You can get list of available printers http://doc.qt.io/qt-5/qprinterinfo.html#availablePrinters by substring and as a variant you can set printer by setPrinterName function http://doc.qt.io/qt-5/qprinter.html#setPrinterName
I have a UI that I have made which is to perform tasks within 3ds max. When I open the ui in Max via a python.ExecuteFile call in a toolbar maxscript, focus and keyboard entries are given to the ui elements, using the max command DisableAccelerators(), so that fields can be entered and then run via an execute button. If I click onto the main max window to do something before I have finished the input to the ui, the focus is lost and keyboard shortcuts are restored to max. If I then click on the UI again to continue editing/updating, the focus remains with Max and I cannot continue using the UI.
I am using PySide and have tried setting the UI window to have strong focus ( setFocusPolicy(Qt.StrongFocus) ), but this has not worked so far, so does anybody know what I need to research or look up to help me with this? I just need to understand how to shift focus back and forth between the App window and the UI I have created.
Thanks
I have been looking into mouse events to identify the window that I click on to run a function that sets a boolean if the right window name is returned, Would this be a good idea?
The following link should help. I doubt you'll be able to do your work with PySide, as the proposed solution assumes using a PyQt4 build supplied by Blur Studio as part of their 3ds Max tool set. That being said, PyQt4 and PySide are substantially similar, so unless there's a very specific reason why you need to use PySide over PyQt4, you should be fine.
http://area.autodesk.com/blogs/chris/pyqt-ui-in-3ds-max-2014-extension
I am very new to C++ programming and the bulk of my program will be using the QT libraries. However, there is one part where I believe I will need to use Win32.
The scenario I want to code for is as follows:
I will have a QT application running. I want to be able to take some text which has been typed into a TextBox on the QT Window and paste that text into a TextBox in another application e.g. the address bar of Chrome, the address bar of Windows Explorer.
I want to be able to do that as a response to a button click on the QT Window. So, it would all happen in 3 steps. For example:
User types text into QT Window;
User places cursor in address bar of Chrome (Browser);
User clicks button on Window which pastes text into address bar of Chrome.
A nudge in the right direction would be most appreciated.
Edit - Additional Info
The application I’m building is a self-set assignment. I want to build a clipboard manager, similar to this old Delphi application http://www.joejoesoft.com/vcms/97/ . It will run in the system tray, in a minimised state.
The user, will put their focus into a text input in some application
which is running on their Windows machine e.g. Notepad.
Then, they will hit a hot key combination which will open a form (my QT Window.
The application will have been collecting clips as the user presses Ctrl-C (or by right-clicking) and those will be listed in that QT Form (just like the app in the link above).
The user then clicks on the particular item that they want paste and it will be pasted into the original input that they had put the cursor into.
Further Edit - further info
I'll break step 4 into a couple of sub-steps as it is causing confusion:
The user then clicks on the particular item that they want paste
Focus changes from QT Window back to the window of the other Win32 application which originally had focus
Content is pasted into the input control which now has the focus
I pretty much know how I can gather up items when the user copies things. But I have no idea how I will paste from my application to the target application.
Cheers
I know in R I can use control+r to run my program code. I am wondering if there is an equivalent hotkey in SAS? If not, is there a way to 'program' one into SAS?
The default hot key for run (submit program) is the F8 key.
If you're using Base SAS (not EG), then you can type 'keys' into the box in the upper left hand corner, or by default hit F9, and bring up a window where you can set most of your hotkeys. You can also customize the toolbar buttons at the top of the window by right clicking on the toolbar and selecting 'customize'.
See http://www2.sas.com/proceedings/sugi28/240-28.pdf for more options.