How to close my program windows?
Hey
One thing I have noticed about apple computers is that you don't just X your programs out, you need to click the program up on the left and click "Close Safari" for example or they don't close correctly, or do they? Because when I just x out my programs / applications I don't know if my macbook closes them? I'm also wondering, if you could x them out, there wouldn't be no option to need to close them which apple computers offer, or by also pressing CMD (Command) plus Q. So I'm just wondering, is it enough by just x'ing or what's this deal about
Thanks in advance
Matthew Shamounnia wrote:
One thing I have noticed about apple computers is that you don't just X your programs out, you need to click the program up on the left and click "Close Safari" for example or they don't close correctly, or do they? Because when I just x out my programs / applications I don't know if my macbook closes them?
What you are running into is a basic difference between Macs and Windows. In Windows, every application is contained in an enclosing window with its own menu bar. Inside that are the document windows. When you click the X in the enclosing window, you X-out the entire application and it quits. You can also click X in document windows to close them without closing the entire application, but you can always be sure the clicking the X on the application window will always close the application.
In OS X the enclosing window is optional. This leads to a lot of confusion with new users because of the inconsistency in the user interface. In OS X, some apps use an enclosing window like iPhoto. If you mouse over the red button you see an X, if you click that it works like Windows where the program quits. But some applications like TextEdit do not have an enclosing window so if you click the red button/X you are only closing a window, and the application stays open.
In general, if it is a single-window application, clicking the red X button closes the entire program; if it is a multiple-window program you must use the Quit command instead. But this is still confusing because you may not have advance knowledge of whether an application is single or multiple window. The user experience on Windows is a bit more consistent in this area.
To keep things simple on the Mac, it's best to not try and figure out what kind of program it is, forget about whether you should be clicking this or that, and instead just use File/Quit or command-Q to close an app because that works every time.
Similar Messages
-
How to close a popup window for system events?
Hi,
I have a screen 110 which shows several input field in popup mode.
The Cancel button can close the screen.
But my question is how to close the popup window for the following system events?
1, Customer clicks the cross button in top-right corner
2, Customer clicks the system icon in top-left corner and then select either: "Close" or "Stop Session"
The PAI subroutine of the screen has not been triggered for the above system events.
Thanks for the coming help.
Best Regards,
DavidHi Siddharth,
I did check with another very experienced ABAP developer.
The solution was the same as what Arunima Rudra provided.
And I got a sample program which did work properly.
The headache is that the system events in my program still cannot be triggered even after I have all the same changes.
Anyway, I suggest you to try the solution as provided by Arunima Rudra.
It should work for 2 system events:
1, Customer clicks the cross button in top-right corner
2, Customer clicks the system icon in top-left corner and then select either: "Close"
For "Stop Session", it should not be handled by popup.
You can observe the same behavior in ALV sorting configuration popup.
Good luck!
Regards,
David -
How to close external programs?
Hi there,
in vbs is a command "ExtProgram(ExtProgramName, ExtProgramArg)" to
start external programs. But how to close external programs when
they finished its work? Is there a vbs-command for it? Is there a way
when calling "cmd.exe" with a proper parameter?
Martin BohmHello Martin!
Yes, with the tool 'tasklist' in the same directory.
The problem is that it is not easy to query from script. I tried it in the following script. Perhaps not perfect espacially because a command interpreter pop up every time you call the function.Option Explicit
If IsDIAdemRunning() Then
Call MsgBox( "At least one DIAdem is running!" )
Else
Call MsgBox( "No DIAdem at all!" )
End If
Function IsDIAdemRunning()
Dim oWshShell
Dim oExec
' Execute via Shell Object
Set oWshShell = CreateObject("WScript.Shell")
Set oExec = oWshShell.Exec( "C:\windows\system32\tasklist.exe /FI ""IMAGENAME eq DIAdem.exe""")
' wait until tasklist is finished
Do While oExec.Status = 0
Pause(1)
Loop
' no Standard Output -> no DIAdem running
IsDIAdemRunning = Len(oExec.StdOut.ReadAll) <> 0
End Function
A better solution might be possible via WMI.
Matthias
Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater? -
How to close running program?
Is there a way to close a program in Windows if I know the loaded exe name? How is this done?
There is a program called kill.exe from the NT resource kit. It's used as "kill.exe processname". I'd like to use something similar but through a Java object.
Thanks,
BrettYou can close only those programs which you run through your java program. e.g. you can run a batch file through your java program as follows:
Runtime runtime = Runtime.getRuntime();
Process process = runtime.exec("c:\\my.bat");
Now you have a reference of your created program. At any time you can close it as follows:
process.destroy(); -
HOW TO CLOSE A POPUP WINDOW IN SELECTION-SCREEN
Hi,
My problem is i had created a selection-screen with some field on initial screen and buttons on application tool bar.when i start my selection screen initial screen appears.now when i click a push button on application tool bar an selection-screen appears as window if i close that popup window i am going back to program.but i want to go back to initial screen.SET PF-STATUS '<ZSTATUS>'
CASE sy-ucomm.
WHEN 'BACK'.
LEAVE PROGRAM.
ENDCASE.
IT will work.
regards,
swarup -
How to close the main window from Popup
hello all,
i need to close the main window from a popup, so i create a popup and after clicking on close button of this popup, should also the main window be closed.
how can do this please?
BRHi
Please go through this.. check thomas reply
Re: Close Main Window directly on action on Pop up window
also check this..
how to close main window on click of a button on popup window
cheers,
Kris.
Edited by: kissnas on May 12, 2011 5:06 PM -
hi,
I'm developing a java application which will involve a pop up text box (a JPanel). This has a JButton that when pressed will cause the pop up box to close but not the actual application. I've tried System.exit(0); but this causes the entire application to close.
Could someone tell me how to close the window but keep the application running.
CheersSwitch it to invisible, and dispose it.
-
How to close programaticaly IE window which FileDownload opens ?
Hi there
I have popup with FileDownload control on it. Clicking the link(FileDownload) system opens IE window with small "Download" window (open,save,cancel).
The question is how to close programmatically this IE window after download (or open) is complete ?
I don't want the user to have to do that manually ?
ThanksStefan,
Have you set "attachment" type for your binary resource?
If you are using NW04s (7.00) then make sure you specified:
final IWDResource resource = <...>;
resource.setAttachement( false );
If you are using NW04 (6.40) then:
final ISimpleTypeModifiable mtype = attr.getModifiableSimpleType();
final IWDModifiableBinaryType btype = (IWDModifiableBinaryType)mtype;
btype.setMimeType(
new WDWebResourceType("xls", "application/vnd.ms-excel", true/* is Attachemnt */)
Valery Silaev
SaM Solutions
http://www.sam-solutions.net -
How to close a popup window in a used component?
Hi Experts,
I have two applications in the same project, and they each have one component controller. Let they be component A and B. They have similar functionalities and screens. There is a popup window in A that I would like to use in B instead of creating a new popup window in B, so I added a used component of A in B in order to share the popup window. I am able to click a button in B to get a popup window from A successfully, but I am unable to close the popup window since the event has been created in A.
Can anyone suggest me how to fix this please? I would really appreciate your help.
Thanks,
-NapadolHi,
You can either use the approach above, which is having an Attribute, type IWDWindow in B's Component Context. When you open the popup you store the reference. When you click close you get that reference back and destroy the window.
Note, I'd suggest you to have your "View" with no Close Button. Then in Component A you create another View that has an UIViewContainer with your Popup View. You can code the Close code in Component A.
This way you can do the same and have a code in Component B to close your window.
Other way would be having it as a Component variable and using the Component Interface on A (create a Method) that goes to Component A and destroy that instance.
Regards,
Daniel -
How to close mail multiples window mail?
Hello,
I have a pbm: My cat slept on a keyboard and opened 20 windows of mail mac's.
I don't know how to close those.
i have no access to the mail toolbar.
Any ideas?
Thanks.You can always just Force Quit the Mail app by holding down the command-option-escape buttons at once and selecting "Mail"...
Believe me, I know what you're going through...
CLinton -
How to close a JFrame window without its obj ??
Hi
I have a pure standard alone java applocation. When app was run, a GUI window/class ( JFrame class ) was launched/new to show some message. After a while, I want to close this window. If I did not pass or save this window obj, can I close this window ?? If yse how to close? In other word, it is hard for me to save or pass this window obj. But I have to close this window later on. I plan to use some static variables or method so I can call any time and try to close this window later on, but I failed. Thanks for help
garyHi
Thanks all response. I am sorry I forgot to mention I can't use System.exit(0) because the application has not finished. But window message has finished its function and it no long be used again. In other word, I want to close window only , not whole application. If you use System.exit(0), it will close whole application. Message window can be used only during a piece of time. Thanks
gary -
When you double click the home button, how do close the open application?
Double tap the Home button, then swipe upwards on the App Preview (not the App Icon)
-
How to close a program that is not visible
I have downloaded an app/program that I cannot delete as it keeps telling me the program is still open, but I am unable to open it and find it. The program is Tone Sync Zedge. Any help is greatly appreciated.
Hello Niel
Thanks for your advice. I tried both ways you suggested and neither worked. It keeps telling me the program is open and when I click on the program to "open" it., nothing happens. I really appreciate your advise as MAC is new to me and I know know how to delete a program that is normal, just nto working with the unfortunate download I put onto the computer. Any advise is greatly appreciated! -
How to close one browser window and return to a named anchor on a page in another window
I'm working on a website that has several book images at the bottom of each page. I have set it up so when the user clicks on a book another smaller browser window opens up with a description of the book. At the bottom of book description window, I have a close button which I added the window.close() behavior to. But I'd like to not just have the window close but return the user to the bottom of the original page where I have the books, an area that I have applied a named anchor to. Any ideas on how I can get this done.
I'd appreciate any and all help.I haven't tried to customize this lightbox extension much. But I'm pretty sure the size of the box is pre-determined by image size. Bigger image, bigger box. And that is coded into one of the Lightbox javascript libraries.
As to placing a link in the caption, sure. Just paste your html link code into the Lightbox Caption Panel like so.
<a href="http://amazon.com"> Buy now from Amazon</a>
There is much more detailed information about Lightbox and how it works at the huddled together website.
http://www.huddletogether.com/projects/lightbox/
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb -
How to close Internet Explorer Window
Hi,
I have a .jsp with links and when you click on a link it will open up another IE window. How do I close the second IE window? I want to put a "close" link on the page so the user can just click the link.
Thanks!<a href="javascript: window.close()>Close Window</a>
Maybe you are looking for
-
Error 1324 The path MyPictures contains an invalid character
Just purchased IPod and in trying to load CD or in downloading get the same error message and have no clue as to how to correct it. Appreciate any help.
-
HT202822 Upgrading Java 1.6 to 1.8
Hello, I need to upgrade Java 1.6 to 1.8 (I have trouble with a third party application called Wuala which could be a Java issue). In terminal, when I enter "java -version", I get the answer : java version "1.6.0_65" Java(TM) SE Runtime Env
-
0kb available on Startup drive
For some reason my main HD is going down to 0KB available. In the last 15 minutes I've been watching it go from 13GB down to under 2GB, and I know it will go to 0KB. It was at Okb earlier today and suddenly popped up to 13GB before it started going d
-
Am I looking in the wrong place for the new focus select tool in the latest version? I am looking under Select but see no such choice. Thanks,Bob
-
Errors while using funtion module 'POSTING_INTERFACE_DOCUMENT'
Hi All, I have written a rpogram to simulate transaction 'FB01' using the function module 'POSTING_INTERFACE_DOCUMENT'. It is throwing an error - 'Two accounts were transferred but not BSEG-HKONT' What are the possible causes of this error. Thank you