AppleScript Editor -- Event Log shows only Result

The Event Log pane at the bottom of the AppleScript Editor window shows only the result after I run a script, regardless of whether I choose the "Result" button or the "Events" or "Replies" buttons. I've only recently begun consulting the Event Log regularly, so maybe I'm not completely familiar with how it's supposed to work. But I'm fairly certain that, until yesterday, after I ran a script, the Event Log would show a detailed log of the script in action, and if I clicked on the "Replies" button, it would also show the result of each line. Isn't that how it's supposed to work?
For example, if I run this script:
tell application "Finder"
          get version
end tell
In the bottom pane, with "Events" and "Replies" selected, all I see is this:
Result:
"10.8.2"
Shouldn't I see more than that? I'm sure that in the past I've seen actual lines from the script in that window.
Thanks.

The Events button will show Apple Events such as tell statements and display dialog commands, while the Replies button will show the reply to those events.  The Result button just shows the result of the script, which is the value returned (or the last value of the (internal predefined) result property).
The Events History window isn't really meant to be a debugging console, but you can also add your own entries there by using the log command.

Similar Messages

  • SCEP - NDES: CRP.log shows only "Perf Test Hook, Challenge is read from registry"

    Hi,
    i exactly did the installation and configuration as described here:
    http://blogs.technet.com/b/tune_in_to_windows_intune/archive/2014/04/25/part-2-scep-certificate-enrolling-using-configmgr-2012-crp-ndes-and-windows-intune.aspx?pi47623=2#pi47623=1#comments
    However, CRP.log shows only "Perf Test Hook, Challenge is read from registry" and nothing happens, no certs gets deployed.
    In addition i don't see any errors in the logs?
    Any suggestions?
    Is its neccessary to allow any to any communication from NDES Server (in DMZ) to SCCM?
    Thanks.
    Regards,
    ckuever

    Hi Björn,
    sure, but which ports exactly? Any?
    regards,
    ckuever
    Domaintraffic ports is RPC Highports, TCP/UDP135, TCP445 and for the webservice https/443. 
    Site Server < -- > Certificate Registration Point
    Description
    UDP
    TCP
    Server Message Block (SMB)
    445
    RPC Endpoint Mapper
    135
    135
    RPC
    DYNAMIC (See note 6, Dynamic ports)

  • CVI crashes - event log shows [FATAL] [LW_UAE_Handler] [..\jeff\i386\except.c:161] Assertion failed: 0.

    Hello,
    When calling lua_error(L) (pushing a Lua error in an embedded lua interpreter in my CVI code), I have been encountering a complete crash.  Not only does my code stop running, but the full CVI 9.1.1 IDE crashes without even an error message.  When I look in the windows xp event log I find the following:
    The description for Event ID ( 0 ) in Source ( CVI ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: [16:45:30.768] [FATAL] [LW_UAE_Handler] [..\jeff\i386\except.c:161] Assertion failed: 0.
    When I recompile my project with visual studio, the identical code does not crash or cause any problems.  Any insite on this problem would be greatly appreciated.
    thanks,
    Alex Corwin

    Hello Alex,
    Could you try to generate a crash dump? Also, here is a community example of code using an embedded interpreter LUA in a LabWindows/CVI Project.
    Regards,
    Jeff L.
    Applications Engineer | National Instruments

  • Event Log shows error - AuditWriter

    Taking a look at the server's event log revealed the error message below, which has been showing up for a while. Does anyone have any insight into this error?
    ==============[System Error Tracing]==============
    [System  Name] : OSoftCPM
    [Message Type] : ErrorMessage
    [Job Name]     : AuditWriter/LogDataChangesFromSendG
    [DateTime]     : 11/5/2008 1:55:09 PM
    [UserId]       :
    [Exception]
        DetailMsg  : {Object reference not set to an instance of an object.}
    ==============[System Error Tracing  End ]==============

    Make sure the reporting services is working properly.
    You have to open in internet explorer the page: http://nameofserver/reports.
    If you don't receive any error opening this page that's measn the reporting services is working well.
    If you are receiving an error then you have to check the configuration of reporting services.
    Kind Regards
    Sorin Radulescu

  • Tecra S10 - event log shows several errors

    My Tecra S10-167 has a problem for some weeks now. In the event log I get several errors, but mostly this one:
    Provider
    [ Name] atapi
    - EventID 11
    [ Qualifiers] 49156
    Level 2
    Task 0
    Keywords 0x80000000000000
    - TimeCreated
    [ SystemTime] 2011-02-14T18:20:12.558505100Z
    EventRecordID 3020
    Channel System
    Security
    - EventData
    \Device\Ide\IdePort0
    0000100001000000000000000B0004C002000000850100C000 00000000000000000000000000000000000000000000000000 000004100000
    My laptop is giving me fatal errors and it reboots by itself.
    Can anyone help me to solve this problem? Please guide me through this since I don't know a lot about computers.
    I already reinstalled windows 7 without any result.
    Thanks...

    Hey,
    If you have already reinstalled Windows but without success the case is clear in my opinion: Its a serious hardware malfunction.
    Its really hard to say what the problem is but theoretically the RAM modules could be affected. This you can check using Memtest86 diagnostic tool and the HDD you can check using other tools like Drive Fitness Test.
    But generally speaking if your notebook is under warranty give your notebook to an ASP and let the guys check the unit. Thats easier ;)

  • Applescript Editor saved as "Run only" - How do I open my work? Please help

    I just spent hours on an applescript project. I'm still new to the Applescript Editor, so when I saved it as a run-only application, I thought that it meant it was just exporting the app. I didn't realize that when I quit, it would not ask to save the file. So now I have a final application that I can't open. How can I get back to editing it?

    What I meant was that the indicator at the top center of the window probably should not have turned solid
    Wow, I've never noticed that before.
    Pretty cool..
    leading me to believe it was saved
    Well, it was saved but not as a file you could edit.
    It's like a file in a word processor. If you save it as plain text, it will remove all formatting and the icon at top would turn solid (indicating it is saved).
    But open it again and it won't have any formatting.
    But I don't mean to complain. I just wish I could open my work.
    I understand fully.
    Sometimes ya' gotta learn the hard way.
    On that note, a pet peeve of mine.
    You do make regular backups of your important files, yes? You at least haveTime Machine running?

  • NPRT Logs shows only header table

    Hi Experts,
    I have a doubt regarding the details displayed in Transaction NPRT. After Setup tables are filled for Delivery-02, when I checked the logs through NPRT, I got the source table as LIKP.
    Now I understand that LIKP is the Delivery Header data but Setup table filling extracts both header and item data so why only the header table, LIKP, is displayed and not the item table, LIPS?
    Please help me understand the concept better.

    Hi
    Normally while filling up setup tables. It will full entire application (all the tables of particular application) if those are updated. Try to Run V3 Collective Run properly.
    You can see the No.of Records filled in RMCEX_SETUP_ENTRIES
    hope it helps.

  • Script to export a script as run-only via AppleScript Editor

    Hi,
    I have written a script that's creating a new script and than save it to the desktop as run-only.
    Now Apple has re-written the rules of AppleScript Editor so the run-only command had to go via 'Export' (and not 'Save' anymore).
    I can't figure out how to script it now... I even tried to script the menu's but that's only possible for all menu's without '...' ending it. For example: 'File > New' is scriptable, but 'File > Export...' is not.
    Script 1 is the script I want to get working, but if scripting the Export of AppleScript Editor is not possible, I want to get de workaround of Script 2
    Script 1:
    ==================================================
    set myScript to "
    set studentnumber to \"" & studentnumber & "\"
    set password to \"" & password & "\"
    tell application \"Safari\"
    tell application "AppleScript Editor"
    activate
    make new document with data myScript
              save document 1 as "application" in file ((path to desktop as Unicode text) & "Automatisch Inloggen op GLR.app") with run only
    -- save doesn't work anymore and has to be EXPORT...
              return
    close document 1
    end tell
    =================================================
    Script 2 (workaround, but doesn't work either)
    tell application "AppleScript Editor" to activate
    menu_click({"AppleScript Editor", "File", "Export..."})
    -- 'File > New' works but 'File > Export... not'
    on menu_click(mList)
              local appName, topMenu, r
    -- Validate our input
              if mList's length < 3 then error "Menu list is not long enough"
    -- Set these variables for clarity and brevity later on
              set {appName, topMenu} to (items 1 through 2 of mList)
              set r to (items 3 through (mList's length) of mList)
    -- This overly-long line calls the menu_recurse function with
    -- two arguments: r, and a reference to the top-level menu
              tell application "System Events" to my menu_click_recurse(r, ((process appName)'s ¬
                        (menu bar 1)'s (menu bar item topMenu)'s (menu topMenu)))
    end menu_click
    on menu_click_recurse(mList, parentObject)
              local f, r
    -- `f` = first item, `r` = rest of items
              set f to item 1 of mList
              if mList's length > 1 then set r to (items 2 through (mList's length) of mList)
    -- either actually click the menu item, or recurse again
              tell application "System Events"
                        if mList's length is 1 then
      click parentObject's menu item f
                        else
                                  my menu_click_recurse(r, (parentObject's (menu item f)'s (menu f)))
                        end if
              end tell
    end menu_click_recurse

    Applescript has changed a little. You can now save uncompiled scripts, but it would make no sense to save an uncompiled script as read-only, so trying to do that fails. Add a compile command before the save:
    tell application "AppleScript Editor"
      activate
              set doc to make new document with data myScript
      compile doc
              save doc as "application" in ((POSIX path of (path to desktop)) & "Automatisch Inloggen op GLR.app") with run only
              return
      close doc
    end tell

  • Error 41 - Kernel Power in event log after clean shutdown - Windows 8.0

    HP Envy H9-1405A - 16MB RAM,  Windows 8.0, and up to date with updates. (16 months old but under extended h/w warranty).  All user data backed-up daily.
    After problems earlier today I noticed that after a controlled shutdown and start from cool (ie on/off button on PC, not mains power at the wall) the startup took over 10 minutes.  Event browser showed error 41 - Kernel Power - "after system crash or lost power unexpectedly",  which it definitely hadn't as I was testing a controlled shutdown.
    When starting from overnight sleep mode this morning it came up with  blue screen and an error mssage something like 'hard disk driver error', or similar (before first coffee so I wasn't really awake).  PC wouldn't restart in anything like reasonable time until powered off at wall, after which it struggled up and ran normally for a while.  Went out for a couple of hours and on return again the PC wouldn't re-start from sleep mode.  Again used the wall power switch to effect the restart and PC and after very slow restart it ran normally.  Event log showed Startup Repair ran due to a corrupted registry hive, and reboot used an earlier version.
    Checkdisk ran clean and the HP Support Assistant diags just looped for ever.
    I then tried a system restart, which worked but took a long time, and then a controlled power down and start from cool which also took a long time as described above.  I've temporarily turned off sleep mode so as to keep working.
    Question - do I have a transient software problem which might be fixable with Recovery, or failing hardware that should be covered by warranty, and where might I find some hardware diagnostics to show to the supplier?  Thanks.

    Hello @mikerb,
    I have read your post on how your desktop computer is displaying an error message in regards to a Kernel event log, and I would be happy to assist you in this matter!
    To further diagnose this issue, I recommend following the steps in this document on Windows Kernel event ID 41 error "The system has rebooted without cleanly shutting down first". This should help to resolve the critical error message.
    Just to be on the safe side, I also suggest following this resource on Testing for Hardware Failures (Windows 8); which should help determine if there is a hardware defect with one or multiple hardware components on your computer.
    Please re-post with the results of your troubleshooting, and I look forward to your reply!
    Regards
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • Event log errors after upgrading Aironet 1100

    We have upgraded an Aironet 1100 to 12.3(8)JA. We used TFTP for the upgrade and everything seems to be working properly.
    However, the event log shows the following message every four seconds: "System running-config write error; configuration failed" This has Error as the severity.
    Every thirty minutes another, Critical error is logged "Memory allocation of 900000 bytes failed from 0x22DC78, alignment 0"
    I've searched the site and can't seem to locate applicable information on these errors and what they mean. Can someone help?
    Thanks!

    Oddly enough, this is the most stable AP we have! A PDA can connect to it and stay connnected, whereas our other 1100s (which have not been upgraded and generate the same error messages but only once or twice a day)will permit a device to connect then boot it off after a few seconds to several minutes. We thought the upgrade would make the AP connections more stable but were surprised to see the error messages being generated so rapidly.

  • TS1702 i if use "search" in music on my ipod touch 5th gen the result just show only album and playlist but nothing song result.whats wrong with it?please help

    i if use "search" in music on my ipod touch 5th gen the result just show only album and playlist but nothing song result.whats wrong with it?please help

    The users guide says:
    Spotlight searches the following:
    Contacts—All content
    Apps—Titles
    Music—Names of songs, artists, and albums, and the titles of podcasts and videos
    Podcasts—Titles
    Videos—Titles
    Audiobooks—Titles
    Notes—Text of notes
    Calendar (Events)—Event titles, invitees, locations, and notes
    Mail—To, From, and Subject fields of all accounts (the text of messages isn’t searched)
    Reminders—Titles
    Messages—Names and text of messages
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsynce all music and resync
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup
    - Restore to factory settings/new iOS device.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • VM cannot get IP and shows host MAC in event logs

    I have a strange issue where the VM on a user's laptop worked fine in the office with a Wireless NIC but when he got home we began having some problems (no network in the VM, only get 169.x.x.x IP in the VM, host network connection drops when we try
    to access or configure the networking inside the VM).
    Here is what I know so far:
    Bridge exists on host (wireless NIC to virtual NIC) and is enabled
    Adapter in VM has MAC of 00-15-5D-0A-A5-00, cannot get IP
    VM settings for the wireless NIC show the MAC is Dynamic and the one assigned is within the range setup on the Virtual Switch
    Adapter on host has MAC of 9C-4E-36-AC-83-68, gets IP of 192.168.0.14
    In the VM, you cannot renew or assign an IP, it says the MAC exists on the network and has an address assigned.  Network connectivity also drops if you try to renew the IP
    In the system event logs on the VM, I see TCPIP event 4199, exact message is - The system detected an address conflict for IP address 192.168.0.14 with the system having hardware address 9C-4E-36-AC-83-68.
    There are no errors in the event logs on the host.
    Deleting the NIC inside the VM and removing/re-adding it to the VM settings does not resolve it
    Deleting and recreating the virtual switch does not resolve it
    The option to allow the management OS to also use the wireless NIC is enabled on the virtual switch.
    The wired connection also worked in our office during the build and testing but he doesn't not have a cable at home for me to test the wired there.
    We have another machine which is configured the same way and is working correctly, both in the office and offsite.
    Why is the VM trying to use the host MAC to get an IP, shouldn't it be using the one assigned by Hyper-V?  Could this be an issue with his home office network or maybe specifically with his WAP?  What other items could cause this?
    I have asked my user to go connect to a wireless network in a different location and test it but I haven't heard back from him yet.
    Thanks in advance for any suggestions.

    Hi Milos,
    1 - Unfortunately I can't test this, the router is supplied by his ISP and is not one that we have any management capabilities on.
    2 - Any time I access network information in the VM (even just to run "ipconfig /all" at a command line), the network drops temporarily on the host and I loose access to it.
    3 - I've not used this before, I'll check it out.
    It seemed really odd to me that the VM showed the host MAC in the event logs when everything else in the VM shows the one assigned by Hyper-V.
    Do you know if the "Virtual Networking and Wireless network adapters" entry in Ben Armstrong's Virtualization blog still applies in Windows 8.1?  It won't let me post the link to it directly, sorry.
    I've seen it referred to recent posts but it's from 2005.
    It makes sense if it is since symptom #2 sounds like what I am seeing.

  • Event in FCPX only shows favorites

    After the latest update to 10.0.5 I have one event which will only show favorites even with all clips selected in popup menu. The clips are shown in the event list view with the carot but when you open the carot to see the favorite it is the same. Filmstrip view also only shows favorites. Right clicking and selecting unmark for a favorite does nothing. In other words all that is shown is the favorite. You can not see the whole clip. Also if you add clips to the event they do not appear, however if you select the year so you see all clips in all events for that year they are all there. Also any clips used in the storyline show the handles in the precision editor. Also the date range shown under the event has the correct date range indicating that the clips are all there even if ones added after the update do not appear. I presume the event is corrupted. Is there any way to repair? Is it possible to use one of the old versions shown in the event file "Old Versions" instead of "Current Version"? I did try relink event files but to no effect. Any help appreciated.

    Not sure what you mean by library screen shot, but here are two of the clip browser. The first shows the browser with the problem event selected and 3 clips exposing the favorites. Note that both the clip and favorite are the same duration ie the full clip is not shown. The second shot is with the year selected and you can see in clip 0006 which is in the problem event shows both the whole clip and the favorite ie the durations are different. The 0009 clip at the top under June 19, 2012 is a clip added to the problem event but doesn't show when the event is selected.

  • My iPhoto shows that I have 19 Events but I only have 4. How do I fix it?

    iPhoto shows that I have 19 Events when I only have 4. Also, the Event with the majority of the photos in it shows that there are only 131 photos when you scroll over the Key Photo but when you actually double click the Event folder, the correct number (which is over 25,000) shows up. What can I do to get iPhoto to accurately display the amount of Events and photos again??

    Details help. Versions etc
    Back up your iPhoto library, depress the option and command keys, launch iPhoto and from the resulting first aid window repair the database. If it does not fix then repeat rebuilding the database
    LN

  • When I open up iphoto and click on the events tab then double click on an event, it used to show minis of all the photos in that event.  Now it shows only one photo at a time.  How do I get it back? Can you help?

    When I open up iphoto and click on the events tab then double click on an event, it used to show minis of all the photos in that event.  Now it shows only one photo at a time.  How do I get it back? Can you help?

    On the bottom bar of the window (on the left iPhoto 11, on the right in other versions) note the slider. Drag it left.
    Regards
    TD

Maybe you are looking for