Application's Status/Script's Name

1st: How do you find out if an app is running? You can see where I don't have it in the top comment, and why in the bottom one.
2nd: Is it possible to change the name of this script application while running itself, this would be at the bottom near changing the property valswitch.
Thanks in advance
Script:
property valswitch : "Dragging"
tell application "System Preferences"
set valpane to current pane --Is it running, if so record pane
activate
reveal pane "com.apple.preference.trackpad"
end tell
tell application "System Events"
tell application process "System Preferences"
tell window "Trackpad"
tell group 1
tell pop up button 3
click
tell menu 1
UI elements
click menu item valswitch
end tell
end tell
end tell
end tell
end tell
end tell
tell application "System Preferences" --If wasn't running before then quit, else go back to pane
if valactive is true then
reveal valpane
else
quit
end if
end tell
if valswitch is "Dragging" then
set valswitch to "Swipe to Navigate"
else
set valswitch to "Dragging"
end if

How do you find out if an app is running?
Ask System Events:
tell application "System Events"
  set isRunning to (name of every application process contains "MyApp")
end tell
Is it possible to change the name of this script application while running itself,
Sure:
tell application "Finder" to set name of (path to me) to "New Name.app"
(don't run this in AppleScript Editor, though, since 'path to me' may return the path to AppleScript Editor and not your script.

Similar Messages

  • My itunes will not work and this is the error message. Problem signature:   Problem Event Name:     BEX   Application Name:     iTunes.exe   Application Version:     11.0.1.12   Application Timestamp:     50c8fc7e   Fault Module Name:     QuickTime.qts_un

    Problem signature:
      Problem Event Name:          BEX
      Application Name:          iTunes.exe
      Application Version:          11.0.1.12
      Application Timestamp:          50c8fc7e
      Fault Module Name:          QuickTime.qts_unloaded
      Fault Module Version:          0.0.0.0
      Fault Module Timestamp:          4ea5d609
      Exception Offset:          653f1040
      Exception Code:          c0000005
      Exception Data:          00000008
      OS Version:          6.1.7601.2.1.0.768.3
      Locale ID:          1033
      Additional Information 1:          0a9e
      Additional Information 2:          0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:          0a9e
      Additional Information 4:          0a9e372d3b4ad19135b953a78882e789

    I am encountering the same thing as I am trying to restore my iPhone. How to fix this? I tried repairing iTunes. Still having the issue.

  • ITunes stops working moments after selecting . Microsoft offers to find solution but no response?Problem Event Name:     BEX   Application Name:     iTunes.exe   Application Version:     11.2.2.3   Application Timestamp:     5383f31a   Fault Module Name: 

    Microsoft report gives details of problem:
    Problem Event Name:
    BEX
      Application Name:
    iTunes.exe
      Application Version:
    11.2.2.3
      Application Timestamp:
    5383f31a
      Fault Module Name:
    StackHash_0a9e
      Fault Module Version:
    0.0.0.0
      Fault Module Timestamp:
    00000000
      Exception Offset:
    00000008
      Exception Code:
    c0000005
      Exception Data:
    00000008
      OS Version:
    6.1.7601.2.1.0.768.3
      Locale ID:
    2057
      Additional Information 1:
    0a9e
      Additional Information 2:
    0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:
    0a9e
      Additional Information 4:
    0a9e372d3b4ad19135b953a78882e789
    I have tried reloading the iTunes player but same thing happens after selecting it.

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If you've already tried a complete uninstall and reinstall try opening iTunes in safe mode (hold down CTRL+SHIFT as you start iTunes) then going to Edit > Preferences > Store and turning off Show iTunes in the Cloud purchases. You may find iTunes will now start normally.
    tt2

  • My itunes wount open when i try to open it this message comes up Problem signature:   Problem Event Name:     BEX   Application Name:     iTunes.exe   Application Version:     10.6.3.25   Application Timestamp:     4fd16377   Fault Module Name:     CRYPTU

    when i try to open my Itunes this Message comes up
    Problem signature:
      Problem Event Name:    BEX
      Application Name:    iTunes.exe
      Application Version:    10.6.3.25
      Application Timestamp:    4fd16377
      Fault Module Name:    CRYPTUI.dll_unloaded
      Fault Module Version:    0.0.0.0
      Fault Module Timestamp:    4ce7b847
      Exception Offset:    68221040
      Exception Code:    c0000005
      Exception Data:    00000008
      OS Version:    6.1.7601.2.1.0.768.3
      Locale ID:    5129
      Additional Information 1:    0a9e
      Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:    0a9e
      Additional Information 4:    0a9e372d3b4ad19135b953a78882e789
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt

    Taken at face value, you're having trouble with a Windows operating system file there.
    Perhaps try an sfc /scannow. For instructions, see the following Microsoft document:
    How to use the System File Checker tool to troubleshoot missing or corrupted system files on Windows Vista or on Windows 7

  • My itunes wont work. I keep getting this Problem signature:   Problem Event Name:     BEX   Application Name:     iTunes.exe   Application Version:     10.7.0.21   Application Timestamp:     504d85d9   Fault Module Name:     QuickTime.qts_unloaded   Fault

    My itunes usnt working. I keep getting this message.
    Problem signature:
      Problem Event Name:          BEX
      Application Name:          iTunes.exe
      Application Version:          10.7.0.21
      Application Timestamp:          504d85d9
      Fault Module Name:          QuickTime.qts_unloaded
      Fault Module Version:          0.0.0.0
      Fault Module Timestamp:          4f8f8a5b
      Exception Offset:          70be1040
      Exception Code:          c0000005
      Exception Data:          00000008
      OS Version:          6.0.6002.2.2.0.768.3
      Locale ID:          1033
      Additional Information 1:          b9b5
      Additional Information 2:          063aa4ebde4a7a45f8c482e6ed282861
      Additional Information 3:          b251
      Additional Information 4:          0639314542445d4694fa87cff3be7aa4

    Fault Module Name:          QuickTime.qts_unloaded
      Fault Module Version:          0.0.0.0
    Try updating your QuickTime player to the most recent version.

  • Problem signature:   Problem Event Name:     BEX   Application Name:     iTunes.exe   Application Version:     10.3.1.55   Application Timestamp:     4deec351   Fault Module Name:     MSVCR80.dll_unloaded   Fault Module Version:     0.0.0.0   Fault Module

    Installed itunes for 64 bit windows 7 as instructed.
    Installation successful, but upon opening itunes, I get this message:
    Problem signature:
      Problem Event Name:    BEX
      Application Name:    iTunes.exe
      Application Version:    10.3.1.55
      Application Timestamp:    4deec351
      Fault Module Name:    MSVCR80.dll_unloaded
      Fault Module Version:    0.0.0.0
      Fault Module Timestamp:    4dcddbf3
      Exception Offset:    72c129e1
      Exception Code:    c0000005
      Exception Data:    00000008
      OS Version:    6.1.7600.2.0.0.768.3
      Locale ID:    1033
      Additional Information 1:    0a9e
      Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:    0a9e
      Additional Information 4:    0a9e372d3b4ad19135b953a78882e789
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt
    I've uninstalled and installed 3 times and get the same problem.
    Please advise!

    I am encountering the same thing as I am trying to restore my iPhone. How to fix this? I tried repairing iTunes. Still having the issue.

  • Problem signature:   Problem Event Name:     BEX   Application Name:     iTunes.exe   Application Version:     11.0.1.12   Application Timestamp:     50c8fc7e   Fault Module Name:     StackHash_0a9e   Fault Module Version:     0.0.0.0   Fault Module Times

    ITunes app crashed after startup with following errors.
    Problem signature:
      Problem Event Name:                        BEX
      Application Name:                             iTunes.exe
      Application Version:                           11.0.1.12
      Application Timestamp:                     50c8fc7e
      Fault Module Name:                          StackHash_0a9e
      Fault Module Version:                        0.0.0.0
      Fault Module Timestamp:                  00000000
      Exception Offset:                                00000000
      Exception Code:                                  c0000005
      Exception Data:                                   00000008
      OS Version:                                          6.1.7601.2.1.0.256.4
      Locale ID:                                             1033
      Additional Information 1:                  0a9e
      Additional Information 2:                  0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:                  0a9e
      Additional Information 4:                  0a9e372d3b4ad19135b953a78882e789
    Any ideas, tried reinstalling ITunes, no change.

    I am encountering the same thing as I am trying to restore my iPhone. How to fix this? I tried repairing iTunes. Still having the issue.

  • Itunes not workin and the problem displays - m signature:   Problem Event Name:     BEX   Application Name:     iTunes.exe   Application Version:     10.5.3.3   Application Timestamp:     4f14cc3d   Fault Module Name:     QuickTime.qts_unloaded   Fault Mo

    i tunes not working and the problem its displaying is
      m signature:
      Problem Event Name:    BEX
      Application Name:    iTunes.exe
      Application Version:    10.5.3.3
      Application Timestamp:    4f14cc3d
      Fault Module Name:    QuickTime.qts_unloaded
      Fault Module Version:    0.0.0.0
      Fault Module Timestamp:    4cf45322
      Exception Offset:    706e1040
      Exception Code:    c0000005
      Exception Data:    00000008
      OS Version:    6.1.7601.2.1.0.256.1
      Locale ID:    1033
      Additional Information 1:    0a9e
      Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:    0a9e
      Additional Information 4:    0a9e372d3b4ad19135b953a78882e789
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt
      please help.

    im having this problem to ive uninstalled and installed but this still comes up!!
    Problem signature:
      Problem Event Name:    BEX
      Application Name:    iTunes.exe
      Application Version:    10.7.0.21
      Application Timestamp:    504d85d9
      Fault Module Name:    StackHash_0a9e
      Fault Module Version:    0.0.0.0
      Fault Module Timestamp:    00000000
      Exception Offset:    00000000
      Exception Code:    c0000005
      Exception Data:    00000008
      OS Version:    6.1.7601.2.1.0.768.3
      Locale ID:    5129
      Additional Information 1:    0a9e
      Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:    0a9e
      Additional Information 4:    0a9e372d3b4ad19135b953a78882e789

  • Application doesnt start, problem event name : BEX

    I downloaded this app however, on launching it says it has stopped working with details pasted below.
    I have tried to put it under the list to exclude from DEP, but it doesnt allow it saying this program must run with DEP enabled
    I have tried to even disable DEP but it shows the same error, any help?
    Problem Event Name: BEX
      Application Name: .....exe
      Application Version: 1.2.0.0
      Application Timestamp: 03f40040
      Fault Module Name: ntdll.dll
      Fault Module Version: 6.1.7600.16385
      Fault Module Timestamp: 4a5bdb3b
      Exception Offset: 0001fa78
      Exception Code: c0000005
      Exception Data: 00000008
      OS Version: 6.1.7600.2.0.0.256.1
      Locale ID: 1033
      Additional Information 1: abcc
      Additional Information 2: abcc8f7853b48d9807d6d51eb1fa5df9
      Additional Information 3: abcc
      Additional Information 4: abcc8f7853b48d9807d6d51eb1fa5df9

    It's for Windows Media Player
    Problem signature:
      Problem Event Name: BEX
      Application Name: wmplayer.exe
      Application Version: 12.0.9600.17415
      Application Timestamp: 545046f0
      Fault Module Name: VSFilter.dll
      Fault Module Version: 3.0.0.306
      Fault Module Timestamp: 5483b175
      Exception Offset: 0012ea9b
      Exception Code: c0000417
      Exception Data: 00000000
      OS Version: 6.3.9600.2.0.0.256.48
      Locale ID: 3081
      Additional Information 1: d341
      Additional Information 2: d3415bb56090374aa24a5c117425e84e
      Additional Information 3: 4604
      Additional Information 4: 4604fdd1618a5c3d2577da25bbba260f
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=280262
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt

  • Application Crashes with Problem Event Name:BEX64 and Fault Module Name:MSVCR110.dll

    After building my application in VS2012 Update 4 ,application started crashing with the below mentioned problem signature.
    Problem signature:
      Problem Event Name: BEX64
      Application Name: App.exe
      Application Version: 1.0.0.1
      Application Timestamp: 52fdbd9d
      Fault Module Name: MSVCR110.dll
      Fault Module Version: 11.0.51106.1
      Fault Module Timestamp: 5098826e
      Exception Offset: 000000000006d4f9
      Exception Code: c0000417
      Exception Data: 0000000000000000
      OS Version: 6.1.7601.2.1.0.274.10
      Locale ID: 1033
      Additional Information 1: 1032
      Additional Information 2: 103247eabca85d12954263c679d66e19
      Additional Information 3: 7fa2
      Additional Information 4: 7fa2470b0fea6279055c0db583abca71
    Any help is appreciated.

    Hi,
    To debug this kind of issue, we recommend you to post in MSDN forum because they are more familiar with developing and debugging app:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=visualstudio
    If you have any feedback on our support, please click
    here
    Alex Zhao
    TechNet Community Support

  • Description Faulting Application Path:     C:\Program Files\Safari\Safari.exe  Problem signature Problem Event Name:     APPCRASH Application Name:     Safari.exe Application Version:     5.34.57.2 Application Timestamp:     4f982b5e Fault Module Name:   

    Description
    Faulting Application Path:    C:\Program Files\Safari\Safari.exe
    Problem signature
    Problem Event Name:    APPCRASH
    Application Name:    Safari.exe
    Application Version:    5.34.57.2
    Application Timestamp:    4f982b5e
    Fault Module Name:    KERNELBASE.dll
    Fault Module Version:    6.1.7601.18015
    Fault Module Timestamp:    50b83b16
    Exception Code:    80000003
    Exception Offset:    0003491e
    OS Version:    6.1.7601.2.1.0.256.1
    Locale ID:    1033
    Additional Information 1:    0a9e
    Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
    Additional Information 3:    0a9e
    Additional Information 4:    0a9e372d3b4ad19135b953a78882e789
    Extra information about the problem
    Bucket ID:    3349202712

    im having this problem to ive uninstalled and installed but this still comes up!!
    Problem signature:
      Problem Event Name:    BEX
      Application Name:    iTunes.exe
      Application Version:    10.7.0.21
      Application Timestamp:    504d85d9
      Fault Module Name:    StackHash_0a9e
      Fault Module Version:    0.0.0.0
      Fault Module Timestamp:    00000000
      Exception Offset:    00000000
      Exception Code:    c0000005
      Exception Data:    00000008
      OS Version:    6.1.7601.2.1.0.768.3
      Locale ID:    5129
      Additional Information 1:    0a9e
      Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
      Additional Information 3:    0a9e
      Additional Information 4:    0a9e372d3b4ad19135b953a78882e789

  • CS5 has stopped working pop up everytime when selecting fonts. details:  Problem signature:   Problem Event Name:APPCRASH   Application Name:Illustrator.exe   Application Version:15.1.0.39   Application Timestamp:4d76c9e3   Fault Module Name:CoolType.dll

    Stops responding, etc
    details
    Problem signature:
      Problem Event Name:    APPCRASH
      Application Name:    Illustrator.exe
      Application Version:    15.1.0.39
      Application Timestamp:    4d76c9e3
      Fault Module Name:    CoolType.dll
      Fault Module Version:    5.7.83.9418
      Fault Module Timestamp:    4c296b69
      Exception Code:    c0000005
      Exception Offset:    00021ae1
      OS Version:    6.1.7601.2.1.0.768.3
      Locale ID:    1033
      Additional Information 1:    8e1b
      Additional Information 2:    8e1b636bd3438ac15d03ef1549553b25
      Additional Information 3:    1b31
      Additional Information 4:    1b316dab8b65bf468124c367b4a50e14

    But I am assuming that when I make the installer, the 32-bit Run Time Engine is appened with the installer, as show below
    Since from the picture you can see its including the support installers from '\Program Files (x86)\'
    The application runs queries to fetch data from database in SQL server 2008, and for that I am using a Microsoft SQL Native Client 2008 R2 64 bit ( this is the only version that installs on either PC, even the one on which I developed my LV Application).
    I am not using any driver, only toolkits for reports - and for that I un-checked the "Remove unused polymorphic VI instances" when making the executable, otherwise LV throws up an exception that share variable are not being included.
    Yes I did reboot every time after I ran the installation.
    Still getting the same error.

  • My system is crashing and vies the following:  Problem signature:   Problem Event Name:     APPCRASH   Application Name:     Acrobat.exe   Application Version:     11.0.10.32   Application Timestamp:     547e97af   Fault Module Name:     Accessibility.api

    My system is crashing
    Problem signature:
      Problem Event Name: APPCRASH
      Application Name: Acrobat.exe
      Application Version: 11.0.10.32
      Application Timestamp: 547e97af
      Fault Module Name: Accessibility.api
      Fault Module Version: 11.0.10.32
      Fault Module Timestamp: 547e9587
      Exception Code: c0000005
      Exception Offset: 00038776
      OS Version: 6.1.7601.2.1.0.256.48
      Locale ID: 1033
      Additional Information 1: 0a9e
      Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
      Additional Information 3: 0a9e
      Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt

    Hi Sue,
    Does this happen with any particular file or all files?
    Since the crash report above mentions accessibility.api, so are you working on any related function like adding tags etc. when Acrobat crashes?
    Disable all the 3rd party services working in the background and check.
    Regards,
    Rave

  • Deployment Status not reflecting correct application installation status

    Morning All,
    Running into an issue where the application Deployment Status does not properly reflect the state of the application install.
    The software installs, works properly and is reported in Software Center on the client PC as being installed succesfully however the status within CAS shows "In Progress" with a description of "Program started".
    The application in question is Cisco Network Access Manager which terminates the network connection and requires a reboot before restoring.  Additionally the site is behind a NAC switch which adds another layer of security to the network at that loation.
    Currently I have deployed to 90 test machines - 65 of which have reported in as succesfull, the remaining 25 have installed and are working but are not being updated in the Deployment Status.
    I have checked the Sender.log on the site server and link analyzer between the primary & secondary.  I have also checked the client heartbeat and statemessage.log all seems well - no errors reported.
    Additionally I have reviewed the WMI status on the client and repaired (just in case).
    Through google search I have also ran the following:
    Option Explicit
    On Error Resume Next
    Call RefreshServerComplianceState
    ' WScript.Echo "Finished"
    Sub RefreshServerComplianceState()
    ' Initialize the UpdatesStore variable.
    dim newCCMUpdatesStore
    ' Create the COM object.
    set newCCMUpdatesStore = CreateObject ("Microsoft.CCM.UpdatesStore")
    ' Refresh the server compliance state by running the RefreshServerComplianceState method.
    newCCMUpdatesStore.RefreshServerComplianceState
    ' Output success message.
    ' wscript.echo "Ran RefreshServerComplianceState."
    End Sub
    As well as forcing a check in from the client and running the summarization on the CAS.
    So far nothing seems to trigger an update.  I'm hoping someone can point me in the proper direction in regards to diagnosing this problem.
    Many thanks, Jeff

    Since no one has answer this post, I recommend opening  a support case with CSS as they can work with you to solve this problem.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Application Set Status

    Some tasks in the BPC Admin Console can change the application set status from available to not available, what kind of tasks are generating an application set status change? Is there somewhere an overview of this?
    Thanks in Advance!

    HI
    Normally application set would go to not available status when you process dimensions and you can avoid it be unchecking the button not to take system offline while you process.
    The other time system goes offline would be when you do full process of the application and dimensions and then it would automatically be available i guess.
    Thanks and Regards
    Harish B K

Maybe you are looking for