Lock keyboard while running script

Hello,
Please let me know the concept to lock the keyboard while running the script to avoid any intervention by the users.
Thanks,
Praveen

While the script is running, if it is properly written, the user should not be able to interfere with the workings of the script. as a extra measure, try using a scriptUI palette with a progress bar (see peter's book on the subject).
Are you using stuff like "app.copy()" and app.paste()? That it is usually a recipe for disaster, and the one reason people ask about locking the keyboard.

Similar Messages

  • HT1222 hi i have a apple imac 27 2009 and i have purchased mountain lion but near the end it says An error occurred while running scripts from the package "mzps6175750011235388779.pkg"

    hi i have a apple imac 27 2009 and i have purchased mountain lion but near the end it says An error occurred while running scripts from the package “mzps6175750011235388779.pkg”
    can you please advise me what should i do to fix this

    Some ideas.
    https://discussions.apple.com/message/20034600#20034600

  • While running script adstpall.sh , addisctl.sh gives message.

    while running script adstpall.sh , addisctl.sh gives message that
    " OAD is stopped
    OSAGENT is stopped
    LOCATOR is stopped
    Unable to stop gatekeeper. No process id file found.
    session id 20136 is not running
    ......................................

    hi,
    The issue not with /usr/bin/local.  When you excute root.sh, it will try configure the ASM with New GRID HOME. Issue started, whent tried to start
    CRS-4123: Oracle High Availability Services has been started.
    ohasd is starting <<=================================================================
    acfsroot: ACFS-9320: Missing advmutil.
    Please let us know the below details
    ==> Acfs is configured the servers??
         ==>acfsutil registry
                   acfsutil info fs output.
    ==> With out ASM instance , How the database, CRS STarted ???
    ==> Please try stop and start the crs.
    ==> crsctl query crs activeversion output
    Regards
    Krishnan

  • Problems downloading and installing OS X Yosemite An error occurred while running scripts from the package

    Hi! I have problems downloading and installing OS X Yosemite.
    While downloading this message pops up:
    An error occurred while running scripts from the package \U201cwct8079783343594854923.pkg\U201d.
    and in /var/log/install.log i can see:
    MacBook-Pro installd[1086]: PackageKit: Install Failed: PKG: pre-install scripts for "com.apple.pkg.InstallMacOSX"\nError Domain=PKInstallErrorDomain Code=112 UserInfo=0x100193c00 "An error occurred while running scripts from the package “wct8079783343594854923.pkg”." {\n    NSFilePath = preinstall;\n    NSLocalizedDescription = "An error occurred while running scripts from the package \U201cwct8079783343594854923.pkg\U201d.";\n    NSURL = "#InstallMacOSX.pkg -- file://localhost/Users/username/Library/Application%20Support/AppStore/91504108 2/wct8079783343594854923.pkg#Distribution";\n    PKInstallPackageIdentifier = "com.apple.pkg.InstallMacOSX";\n}
    does anyone have an idea about this?
    thank you very much

    Mucked up installation. If the installer app is still in /Applications, delete it and start over.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10.2), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • Cannot prevent ExtendScript debugging while running scripts from After Effects

    Hi,
    I am facing this issue while running scripts from within After Effects. Whenever I am trying to run a script in After Effects, the script opens up in ESTK in the debug mode. The execution waits at the starting point of the script as if there is breakpoint even though there is none. I am not sure whether what I am missing, whether some debug flag needs to be reset etc. I am using After Effects CC on Windows 7 OS. Any help would be highly appreciated.
    Thanks.

    I tried running the script after removing all $.writeln() statements, but unfortunately that does not resolve the problem. For testing the issue, I am trying with the simple script given below :
    var window = new Window ("palette", "My Window", undefined);
    var panel = window.add("panel", undefined, "Panel");
    var text = panel.add("statictext", undefined, "Testing AE");
    window.show();
    But executing even this one from AE opens up ESTK. I am absolutely stuck with this odd behaviour .

  • An error occurred while running scripts from the package "ztb343812063996219254.pkg

    i tried to upgrade my os lion 10.7.5 to os x yosemite on my macbook pro and in the middele of downloading I'm getting this notice: an error occurred while running scripts from the package "ztb343812063996219254.pkg
    help me please…..
    i think i have problem with the app store cause sometimes I'm getting more errors like error no 13 or 100
    what should i do?

  • Finder locked-up while running Garmin map manager

    In Maverick OS, Finder locked-up while running Garmin map manager; can't force quit because Garmin 450 is connected.  Also complicated by Sketch-up app trying to install; several license agreement screens on desktop. Any help will be appreciated. Thanks, DCC

    Hello saturdaysaint:
    I would try a couple of things:
    Run permission repair as a "precaution."
    Run repair disk from your software install DVD.
    Trash com.apple.finder.plist (the finder preference file).
    I never let software updates run automatically - I use the software update manually and then back up before any update.
    Barry

  • I have met problem while running script

    i have met problem while running script catalog.sql in oracle 10g r2 , while running it came out from the Database and then i can't get into the database please help ..
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SQL> @C:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\catproc.sql
    DOC>######################################################################
    DOC>######################################################################
    DOC> The following PL/SQL block will cause an ORA-20000 error and
    DOC> terminate the current SQLPLUS session if the user is not SYS.
    DOC> Disconnect and reconnect with AS SYSDBA.
    DOC>######################################################################
    DOC>######################################################################
    DOC>#
    DECLARE
    ERROR at line 1:
    ORA-01012: not logged on
    Disconnected

    You should post it to the Database forum.....
    Greetings...
    Sim

  • An error occurred while running scripts from the package "mzm,stuhjljp.pkg".

    I hope someone can help, I have now tried downloading Lion OSx 4 times and I keep getting this message: An error occurred while running scripts from the package "mzm,stuhjljp.pkg".
    I go back to the app store and it kindly tells me it's installed. It's not quite simply it is nowhere to be found.
    Nice one Apple for moving away from those reliable discs and causing pain, wasted productivity and a **** of a lot of frustration. $29.99 to annnoy the **** out of me, thanks.
    Anyone have a solution that may be of assistance.

    Mj, I can't offer much help but you may be able to use this method to "find" Lion OS X in the App Store again.
    Hold down the "option" key while clicking on the App Store icon.  Keep holding down the option key, then click on the "Purchased" tab at the top of the page. 
    With any luck the button to the right of Lion OS X will now say "install."
    I'm having a similar problem reinstalling Lion, so don't be surprised if you try to reinstall and get the same error.
    Good luck,
    Contender

  • "An error occurred while running scripts from the package "DeveloperTools.pkg"

    I'm trying install my xcode 4.2 and check log and this where there is problem
    "An error occurred while running scripts from the package “DeveloperTools.pkg”

    II found the answer elsewhere. I logged in from a diffent admin acount and the install went fine.

  • Computer locks up while running safari

    I have an MAC running 10.9.2 mid 2010 - computer locks up while running safari - I have reset safari - not sure what else I could do to fix the problem - at least once a day I have to restart my mac

    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter "BOOT_TIME" (without the quotes) in the search box. Note the timestamps of those log messages, which refer to the times when the system was started. Now clear the search box and scroll back in the log to the last boot time after  you had the problem. Select the messages logged before the boot, while the system was unresponsive or was failing to shut down. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V. Please include the BOOT_TIME message at the end of the log extract.
    If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    Still in Console, look under System Diagnostic Reports for crash or panic logs, and post the entire contents of the most recent one, if any. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if present (it may not be.) Please don’t post any other kind of report—it will be very long and not helpful.

  • Error while running script HyperV - Dash Board - VM and Storage Report

    Hi Team,
    I am getting below error while running HyperV dashoboard monitor & storage report script from Technet script library.
    HyperV - Dash Board - VM and Storage Report
    Finished processing VM  - xxxx
    Processing VM - xxxxx
    Get-VHD : Unable to cast COM object of type 'System.__ComObject' to interface type 'System.Management.IWbemServices'.
    This operation failed because the QueryInterface call on the COM component for the interface with IID
    '{9556DC99-828C-11CF-A37E-00AA003240C7}' failed due to the following error: The requested object does not exist.
    (Exception from HRESULT: 0x80010114).
    At C:\Scripts\HyperV-DashBoard-v2.1.ps1:210 char:10
    +                     If (Get-VHD -VMID $vmDetails.VMID -ComputerName $cNodes.Name[$i])
    +                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Get-VHD], InvalidCastException
        + FullyQualifiedErrorId : Unspecified,Microsoft.Vhd.PowerShell.GetVhdCommand
    Get-VMNetworkAdapter : Unable to cast COM object of type 'System.__ComObject' to interface type
    'System.Management.IWbemServices'. This operation failed because the QueryInterface call on the COM component for the
    interface with IID '{9556DC99-828C-11CF-A37E-00AA003240C7}' failed due to the following error: The requested object
    does not exist. (Exception from HRESULT: 0x80010114).
    At C:\Scripts\HyperV-DashBoard-v2.1.ps1:238 char:12
    +                      If ((Get-VMNetworkAdapter -VMName $vmDetails.Name -ComputerName $cNodes.Na ...
    +                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Get-VMNetworkAdapter], InvalidCastException
        + FullyQualifiedErrorId : Unspecified,Microsoft.HyperV.PowerShell.Commands.GetVMNetworkAdapterCommand

    Hi ,
    I found that the problem had been solved in the script blog by your self :
    http://gallery.technet.microsoft.com/scriptcenter/HyperV-Dash-Board-VM-Disk-299bac7d/view/Discussions#content
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Ipod locking up while running

    I have a 30gig ipod and had no issues until recently. Lately while running it will lock up. I can reboot it and get it working again but it is a royal pain and it does it every time I run. I did restore to factory settings and it did not seem to help. Is my ipod done for? Will this happen with a new one too?

    My classic iPod does the exact same thing. Does anyone know what is worng?

  • [CS5][AS] Hide progress while running script

    Hi,
    Can anyone please tell me if it's possible to hide all Indesign operations when running a actionscript.
    I would like to speedup a script by hidding all operations (opening files, placing pictures, ect) while running the script.
    Many thanks
    Kind regards
    John

    Hi,
    You can either make a document without a window
    set theDoc to make new document without showing window
    or turn off the redraw
    set enable redraw of script preferences to false
    Gareth

  • Oracle errors while running script

    When i run my script i get the some error: errrors are listed below:
    ORA-04045: errors during recompilation/revalidation of COLLECTION.STEP
    ORA-04020: deadlock detected while trying to lock object COLLECTION.COL_CUSTOMER_REC

    Hello Chiedu,
    thanks for feedback. We have processing for names containing space character but it seems there are paths (alter statements) that are not covered. I logged bug for that.
    About your question:
    "How can I ensure that all valid Oracle database characters (including "underscore" and " $ " but excluding "space") are enforced in Relational model Table/Column/View names? The last VALID CHARACTERS option (Relational Model Properties - Naming Options) includes "space" along with "underscore" and "$"."
    First - we don't enforce - valid characters are used in design rules and you can use them to find elements with none valid characters. Predefined valid character sets are just examples and starting point. You can remove "space" if you don't want it as valid character.
    Best regards,
    Philip

Maybe you are looking for