How to close a projector when locking the output is true

I want to catch the event when the user clicks the close box in the title bar of an ex-girlfriend of projector:
on closeWindow
Alert ("Goodbye")
end
It works very well. However, I don't want the bombing program when the user accidentally presses the Esc. key.
So I put the lock output to true. But then the close button no longer works.

Is there a way to get around this?

Kind regards
Trevor

There is a Windows only called QuitMsg xtra which will advise with a click
on the close box.
You can also try to fool with the undocumented "on closeRequest.
Manager and check the keys held down when he goes off to see if it is a
Key ALT + F4 or Esc which demand closing the application.

Tags: Director

Similar Questions

  • How to stop the dsplay to change resolution size and icon when locking the PC with WIN + L?

    I have a problem with the 4-5 computers in our field.

    They are all randomly change resolution of 1920 x 1080 at 1024 x 768.

    Especially when locking computer wilt WIN + L to lunch for example.

    At the same time it changes the size of the icons.

    I've updated all the NVidia display driver.

    It's a Dell T3500 workstation happens on.

    We use Windows 7 Professional 32 bit Danish version

    IO have sought help on the internet, but not yet come to any usable solution.

    All suggestions will be useful.

    Hello Svend,

    Thanks for posting your query in Microsoft Community Forum.

    These computers are connected to the domain network, the question you posted would be better suited in the TechNet Forums.

    I would recommend posting your query in the TechNet Forums:

    http://social.technet.Microsoft.com/forums/Windows/en-us/home?category=w7itpro

    Thank you.

  • The music stops when locking the keys

    I have a weird problem with my Sansa Clip: it freezes when I lock the buttons.

    When he plays music I press and hold the home button to make it to lock the buttons.

    I get the message ' press on and hold the home button to unlock.

    the screen goes black, that's always good

    but after about 10 seconds the music stop and player stats to close down and also freezes at halfway to paralyze.

    Anyone have any ideas on a fix?

    This seems to be a firmware issue. I had the same problem and found the answer on a forum somewhere.

    Go to settings system-backlight settings. If the backlight setting is 10 seconds, what causes the problem of locking button. Just select the next level of time (15 seconds) or better and don't forget to save the configuration when asked.

    This solves the problem for me. I hope it does for you.

  • How to use a GaugeFiled when retrieving the satellite units

    Guys,

    Basically, I want to use a GaugeField to do two things.

    1. I need to display the progress bar when the unit is searching for the satellite,
    2. When the user saves the long and lat on the server.

    Could someone give me a tip or a simple example that will show me how to implement this. Using a loop will not work cause it will stop in the loop as soon as he sends information to the server or retrives (Searches) satellite.

    Concerning

    Wes

    OK, several issues

    first: it is thread.sleep

    Second: use the event ONLY lock when updating the user interface. not when to sleep or do something else that blocks. This is why you use a thread in the first place.

    Third: use the sleep in the loop

    Fourth: remove the invokelater at the end invokelater puts something on the thread of the event, similar to synchronized (eventlock). you want the thread to run off the eventlock to avoid blocking it.

    to improve the design, you can put the execution variable in the writeToUi thread

    I suggest you read the developer's guide, he has some good examples and explains the problem of thread of the whole event (which is hard to understand for a new developer)

  • How to close a song played in the music of xbox

    While I have a song to play if I can't listen to most how to stop more songs playing music and shut the application down I can't rewind before the break, but stop and close to finish listening

    Hi LeslieO'Brien,.

    Thanks for posting in Microsoft Community!

    I understand it, when you want to stop the songs to play and to close the application you can't do go back so that you can pause, fast forward, but cannot stop and close to finish listening.

    I would like to inform you that it has no function as well to stop the music of the game, but you can pause and play any song of your choice.

    Here, you will use the pause button to stop the music. To close the application, you need to press ALT + F4. This will close the music app. For more information, feel free to post. I'll be happy to help you.

    See also:

     

    How to close an app?

    http://Windows.Microsoft.com/en-us/Windows-8/how-close-app

    Thank you!

  • How to close a cmd window 'call the executable '.

    Hello

    I have the following sequence in the 2013 Teststand

    1. the installation program

    "Call the executable" call a java program in a cmd window. --> This step works

    2 main

    A call to the java program "n" dll .net times--> this step works

    3 cleaning

    How to close the cmd window opened by "executable call?

    TKS

    You can create another not executable call.  The file path is TASKKILL and arguments are "/F /IM cmd.exe/t.  This will close all open windows cmd.

    Pulido Technologies LLC

  • How to close all active applications at the same time on the Acer Iconia A1 840

    On my Android phone, I'm able to close all active applications at the same time the button next to the home button Task Manager. On my Acer Iconia A1 840 I don't have this option here.  Is there another way to do it?

    Thank you.

    Lacoet,

    To my knowledge unless you download a third party such as Advanced Task Killer App, you can only close applications active one at a time. If you are looking for an alternative, I suggest looking at game store of Google for a Task Killer app may be able to contribute to what you want to do.

  • How to close all windows after running the SaveAsPDF script?

    I ran into the problem where I adjusted the SaveAsPDF script to backup my PDF files with a preset specific PDF I use. But after executing the script, all newly created PDF files are open in illustrator and I have to close it manually one by one, choose if I want to 'Save' or 'do not save' (even if they are already registered). I would like for them to close right after that the PDF is created.

    I've added in the script:

    if (myFile.open("w")) {
      myFile.close(SaveOptions.DONOTSAVECHANGES);
      }
    

    Who's going to run the script and close the files, but for only 3 of the 10, I opened. The 7 remaining won't be saved or converted to PDF. Is there something wrong in my script or anything else that I can try to solve this problem?

    Here is my complete script:

    /** Saves every document open in Illustrator
      as a PDF file in a user specified folder.
    */
    
    
    // Main Code [Execution of script begins here]
    
    
    try {
      // uncomment to suppress Illustrator warning dialogs
      //app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
    
    
      if (app.documents.length > 0 ) {
    
    
      // Get the folder to save the files into
      var destFolder = null;
      destFolder = Folder.selectDialog( 'Select folder for PDF files.', '~' );
    
    
      if (destFolder != null) {
      var options, i, sourceDoc, targetFile;
    
      // Get the PDF options to be used
      options = this.getOptions();
      // You can tune these by changing the code in the getOptions() function.
    
      for ( i = 0; i < app.documents.length; i++ ) {
      sourceDoc = app.documents[i]; // returns the document object
    
      // Get the file to save the document as pdf into
      targetFile = this.getTargetFile(sourceDoc.name, '.pdf', destFolder);
    
      // Save as pdf
      sourceDoc.saveAs( targetFile, options );
    sourceDoc.close();
      }
    
    
      alert( 'Documents saved as MarkPreset PDF' );
      }
      }
      else{
      throw new Error('There are no document open!');
      }
    }
    catch(e) {
      alert( e.message, "Script Alert", true);
    }
    
    
    /** Returns the options to be used for the generated files.
      @return PDFSaveOptions object
    */
    function getOptions()
    {var NamePreset = 'MarkPreset'; 
      // Create the required options object
      var options = new PDFSaveOptions();
      options.pDFPreset=NamePreset; 
    
    
      // See PDFSaveOptions in the JavaScript Reference for available options
    
      // Set the options you want below:
    
    
      // For example, uncomment to set the compatibility of the generated pdf to Acrobat 7 (PDF 1.6)
      // options.compatibility = PDFCompatibility.ACROBAT7;
    
      // For example, uncomment to view the pdfs in Acrobat after conversion
      // options.viewAfterSaving = true;
    
      return options;
    }
    
    
    /** Returns the file to save or export the document into.
      @param docName the name of the document
      @param ext the extension the file extension to be applied
      @param destFolder the output folder
      @return File object
    */
    function getTargetFile(docName, ext, destFolder) {
      var newName = "";
    
    
      // if name has no dot (and hence no extension),
      // just append the extension
      if (docName.indexOf('.') < 0) {
      newName = docName + ext;
      } else {
      var dot = docName.lastIndexOf('.');
      newName += docName.substring(0, dot);
      newName += ext;
      }
    
      // Create the file object to save to
      var myFile = new File( destFolder + '/' + newName );
    
      // Preflight access rights
      if (myFile.open("w")) {
      myFile.close(SaveOptions.DONOTSAVECHANGES);
      }
      else {
      throw new Error('Access is denied');
      }
      return myFile;
    }
    

    Try this change

    for (i = 0; i< app.documents.length;="" i++="" ) ="">

    for (i = app.documents.length; i > 0; i--)

  • How to close a database connection in the new browser

    Hi @ all,

    with the new object browser, it is easy to connect to a database with the methods 'ConnectDataStore' or 'ConnectDataStoreByParameter '.

    But how the connection can be closed?

    In an AsamOds environment, it is important to close the connection, because a part of the environment (the so-called ORB) 'hiding' some data (in the ActiveObjectMap). This "cache" is cleaned by closing the connection. So, the problem is that without the ability to close a connection, the cache grow upward (and in how the Orb ist becomes unstable and crashes after a while).

    Thanks for reading

    Greetings from the Germany

    Contur

    Hi Contur,

    the new ASAM-ODS API doesn't have an explicit close method. A store (and here the connection held by this store) will be automatically closed when all references to this store is closed - which translates into VBS to nothingness. The easiest thing is the store itself:

    Dim myStore: set myStore = Navigator.ConnectDataStore ("ASAM pass fail analysis Example")

    Define myStore = Nothing

    In the case your script any other helds refers to this store, for example the results of a query or a certain element, that you must set to nothing as well

    Dim myStore: set myStore = Navigator.ConnectDataStore ("ASAM pass fail analysis Example")

    protected myRootElements: set myRootElements = myStore.RootElements
    Set myRootElements = Nothing

    Define myStore = Nothing

  • How to close widget ToolTips when you edit a page?

    I did basically a graphic on a page and it has 8 ToolTips with longer explanations for images that opens when the user clicks on their triggers. The page is how it works

    I would like to know one) if there is a better way to get the text boxes pop-up as I and b) now that I have them, how close the when editing? They are a pain to work with.

    Hello

    Please uncheck 'Show lightbox when editing parts' in the Tooltip options panel and the target does not appear in Design view.

    But it works perfectly in preview

    Concerning

    Vivek

  • How can I unlock folder when applying the option is grayed out?

    I used an HDMI cable to connect my computer to the TV.  My screen went black.  I finally got my computer back screen, but some got locked folders.  I dropped the idea of linking my TV and computer because the TV is old and I don't want two monitors.

    I just read on unlocking using properties files and the tab share.  My Documents folder contains the my music (unlocked) folder and a folder my music locked (locked).  The same thing with my pictures, and my videos.  I discovered this when I tried to open an image in Paint and got this error message.  "The location is not available."

    When I tried to unlock folder my pictures, in properties, Security tab, to apply option is grayed out.  I also tried the sharing tab and it was also disabled.  I don't know much about the records and did not know that my music, my pictures, and my videos were located in the My Documents folder, but perhaps noticed them there before.  I often forget things.

    I really regret trying to connect my computer and TV; my computer screen is very nice to watch movies.  I just bought the TV rabbit and became obsessed by the idea.  It was a bad idea because my TV was not made for her.

    Other that the appearance of an icon of padlock on certain issues, you actually have problems to access the files?

    As far as I KNOW, the lock on the Folders icon has nothing to do with the use of an HDMI cable, but the way in which the folder is shared (or possibly who 'owns' the folder).  I've seen several explanations and methods to remove the icon of the lock, but unless it's really you cause problems, I suggest doing nothing.

    These may (or may not) be useful:

    http://www.howtogeek.com/HOWTO/17117/remove-the-lock-icon-from-a-folder-in-Windows-7/

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-files/what-are-the-padlock-icons-on-folders-for/e4b100a7-f65d-49c6-8555-6df40d35676a

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-files/what-are-the-padlock-icons-on-folders-for/e4b100a7-f65d-49c6-8555-6df40d35676a

  • How to use DO NOT when searching the 8 Windows App Store?

    I have no problem with the charm of the App Store search, but I don't want to see the games, and it seems that the store is infested with them.  The problem is, I can't find any way to get the search charm accept Boolean values in any form.  (It seems that Windows 8 is dumbing down of the interface, remove features and back to BACK, get people to remember text commands.)

    How not to use with the charm of research?

    Before that, how to search for nothing _except_ games?

    -Ken

    The display is a bit better, if you select downloads, but then 'NO' gets ignored and all it lists is games, exactly the opposite of what I wanted.

    You can't go there.   This means the site: downloads. Microsoft.com which exclude of course website: apps.microsoft.com you need to search for what you want.

    So unless you're facetious "Gets a little better" I don't know why you find it "barely usable".  You fail to capitalize the NON?

    http://onlinehelp.Microsoft.com/en-us/Bing/ff808438(d=robot).aspx

    You must capitalize the NOT and OR operators. Otherwise, Bing will ignore them as stop words, which are producing generally words and numbers that are omitted to speed up full-text search.

    http://search.Microsoft.com/en-us/results.aspx?setlang=en-us&q=not+games+site%3Aapps.Microsoft.com

    50 results per page.   No games.

    Ditto when I click in the entry box and choose to search the web instead.

    http://www.bing.com/search?q=not%20Games%20Site%3Aapps.Microsoft.com&form=BMME

    50 results per page.   No games (with the exception of a few ad above links)

    So that's another advantage of Microsoft Search: no advertising.   ; }

    ---

  • How to control automatic scrolling when using the tool pen?

    Is there a way to control the SPEED that Photoshop scrolls when you use the pen close to the rim of a document? If a line of the path direction is suddenly slipped off the screen PSD moves the window WAY out of position. It's boring.

    Not that I'm missing, it can be annoying.

  • How to raise an event when all the sounds in a soundchannel ends

    I have a soundchannel and I play a lot of sounds in there, but I need the fulfillment of any audio file within this channel to be followed by a two second wait, and then trigger an event. How can I do this?

    When the SoundChannel object is complete, there is a soundComplete event gets dispatched (Event.SOUND_COMPLETE).  Its assign a listener for the event.  If you need more information, the Flash help documentation has everything.

  • A sign 'historic' that open on the right side of the browser, and I can't determine how to close it. I tried the common fixes.

    Sorry, on the left side of the browser there is a panel that I can't seem to close or delete. It is titled 'history' and it includes a search box and a list of visited sites. None of the typical patches were able to close the box.

    1. Go to the view menu
    2. Select the menu side
    3. Click history to remove the check mark.
    4. The history Panel must be closed.

Maybe you are looking for