My program has two dynpro screens. From the first screen the user can call a popup showing the details of a customer by double-clicking on the customer number.
My problem is that the popup shows up in fullscreen despite being set as a "Modal dialog box" in its properties and being called with the CALL SCREEN 550 STARTING AT xa ya ENDING AT xb yb statement from the first screen's PAI module.
Is there anything else I could forget ? I'm running my program from SE80 by pressing F8 if that matters.
CALL SCREEN 550 STARTING AT xa ya ENDING AT xb yb
I guess if the dimensions are bigger than the screen it automatically turn into full screen, or when you choose Zero.
try at first this and then adjust it later:
CALL SCREEN 550 STARTING AT 1 1 ENDING AT 10 10
Related
I'm trying to create a hotkey for a software button inside a program since the devs of the program did not do so.
Here is what I tried to move the mouse, click the button and move the mouse back to the original position:
F3::
CoordMode, ToolTip, Screen
MouseGetPos, X, Y
Click 512, 516
MouseMove, %X%, %Y%
Return
This works, on say the desktop, but when the program window is active, nothing happens. Is there some way to make this work inside the program window? It is a windowed program (not full screen) and it a scientific tool used to analyse physiological data.
Clean "CoordMode, ToolTip, Screen". Buttons in programs can be clicked using the messages "PostMessage, 0x111".
I am designing a front end for home automation.
I have 6 buttons on the front screen, each launching another application.
When a button is clicked I want my app to be say a 100px bar across the top of the screen (and reduce the available screen size reported to the launched app) and be always on top. The 100px bar will simply display a home and or back button so the main application can take focus again.
How can I accomplish this?
I am using QTP 11.0 and a java button in my application is highlighted in big monitor screen(19 or 20 inch) but not in Laptop screen(14 or 15 inch).
I have to click the button and a pop up will be seen,this works fine in big screen but in laptop screen the pop up does not appear.Is there any workaround?
In small screen the scroll bar appears and the java button is below the screen, but in big screen its appeared without scrolling so its working fine with the big screen.
Also i have tried if scroll down is possible through scripting in small screen ,but scroll down does not work NOR does pgDown pgUP works in the application.
Addins selected are ActiveX,Java,Web
Advanced thanks...
As per the given information I assume that the problem is with the object properties of the java button. Could you try adding only htmlid/name property & try highlighting the object in both the screens? Please disable object identification, location & indexing if applicable. If possible share the properties of the object for further analysis.
Does QTP fail to recognise the button during play back? QTP may not highlight the button because it is not visible; but in most cases it will be able to perform actions (such as click event) on the button. Make the button visible in web page / application and try clicking on Highlight button in QTP.
I'm working on an app that is marked as LSUIElement and its main window is a NSPanel 'attached' to the status bar. Sometimes I need to display a normal alert panel (either by using NSRunAlertPanel or NSAlert). However, it's very important that the panel is always shown on the space the user is currently on (otherwise the user might not see it immediately and it's important that he does).
The problem is that alerts are always shown on the space where the user last interacted with the application's windows, NOT on the current space. So, for example, if on space number 1 I open and close my app's NSPanel, then I move to space number 2 and some time later my app shows an alert, that alert will be shown on space number 1, not 2. And thus I (or the general user) won't see the alert until I decide to switch to the first space.
Is there any way to change this behavior (= to make an alert always show on the current space)?
Not exactly what you're asking, but maybe before you show your alert window set its collection behavior to NSWindowCollectionBehaviorCanJoinAllSpaces using setCollectionBehavior:. The window should then appear on all spaces, which includes the current one...
Just got into using Screen for remote pair-programming purposes with Vim.
Was wondering if there was a way to resize the windows as our terminal space is somewhat very limited with the default settings.
Currently I'm getting into screen like this:
User 1: screen -R test
User 2: screen -x -R test
Most of the time screen will simply resize the windows it owns whenever you resize the terminal emulator that owns the screen session.
However, when someone connects to your screen session and your screen is wider or higher than that person's you or that person can use Ctrl+a F (uppercase F, i.e. with Shift held down) to adjust the size of the current window (inside screen) to that of the terminal emulator in which screen runs.