AppleScript problems after last security update

I have to do most of my work on the Mac by speech input, due to arthritis in my hands. This means I rely on AppleScript "programs" to give me short cuts which make life easier. After I installed Security Update 2007-4 I had to re-install some of these programs and found that a few of them no longer work. For example the script below, which should turn off automatic email checking. NB I use MailSmith - and this worked before the Security Update.
tell application "Mailsmith"
get «class AcAc»
if result is true then
set «class AcAc» to false
end if
end tell
Now produces a box on the screen containing:
"Applescript could not compile because
4Can't set «class AcAC» to false. Access not
allowed.." (sic)
Someone tell me what's going on with this, please?
Cheers,
Dave

The script is wrong. Where you see the word "class" in your script, put "property" instead. Now start up Mailsmith and try to recompile the script. It should work.
Alternatively, rewrite the script like this:
tell application "Mailsmith"
get its auto checking enabled
if result is true then
set its auto checking enabled to false
end if
end tell
The "its" is crucial for distinguishing a property from a class.

Similar Messages

  • Browser problems after last security update

    In Safari and in Firefox I have been having random odd problems the past few days since doing all the auto security updates. For example, pdf links never load and therefore cannot be viewed. On bn.com, specifically, it keeps looping back to a "no results" screen no matter where I've been or where I'm going to. I'm hoping that one is just a bn.com problem, but it's disturbing that on more than one web site I am unable to click links I otherwise used to be able to and view, i.e. pdf links. Any clue?

    The script is wrong. Where you see the word "class" in your script, put "property" instead. Now start up Mailsmith and try to recompile the script. It should work.
    Alternatively, rewrite the script like this:
    tell application "Mailsmith"
    get its auto checking enabled
    if result is true then
    set its auto checking enabled to false
    end if
    end tell
    The "its" is crucial for distinguishing a property from a class.

  • CD Tray open automatically after last Security Update

    when I start up or restart Mymac Pro CD Tray open automatically after last Security Update. Also I could not reinstall Mac OS Tiger because CD Tray open automatically every start up or restart. What's happen? Somebody help me! Please~

    Hi.
    If you have a USB keyboard and mouse, try unplugging them and then restart. If you have a Bluetooth set, remove the batteries and restart.
    See what happens.
    Good Luck.

  • Cannot start mac mini coreduo after last security update

    Hi,
    after last security update mac mini cannot see anymore the new 7200 rpm hddisk which worked like a charm since that…
    When try to boot now I see only a question mark folder…
    I can fix permissions via dvd, I can see the mac mini disk if i connet via firewire to another mac,
    but cannot boot from it…
    tried a kind of tech tool test: it seems that I've got a huge amount of corrupted .plist files…
    How could that happen?
    does it mean that it's not an hardware issue?
    should I reinstall snow?
    help me please

    tmma.a wrote:
    I thought that erasing was formatting as well;
    no, it's not. there is probably something wrong with the partition map of the drive which is why your mac firmware does not recognize it as a boot drive when you restart. simply erasing the drive won't fix it. reformatting might.
    anyway I'm reinstalling now, if doesn't work will try reformatting too…

  • Difficulty with some sites after last Security update..

    anyone else had any problems?
    I've found that with my bank, and a couple of other sites like myspace, Safari keeps instantly coming up with 'server cannot be found' error, without even trying to access the sites. Sometimes shift-click/return does the trick (after 10 hits!) or I end up having to reset Safari, and it'll work for a couple of visits. And even then, once I've managed to get into the site, clicking links is a chance in itself, that I don't get the same error.
    My mac at work was fine (didn't do the last Security update), and all this only started after the last update..
    GAAAH!!!!

    Terrible Problem, and I'm certain attributable to the latest Security Update. I have tried EVERYTHING, including deep system cache clearning, combined update, permission repairs, Purging ALL plugins from Safari, DNS cache reset... you name it. I am an EE, Mac User for 20 years, computer/Unix savvy, and am completely stumped, having tried EVERY trick in book short of the Windows Style "Reformat and Reload the Hard Disk." I can't log into gmail, or this site for that matter (using an old laptop presently). The problem occurs with the following common denominators: ASP page, Screen Name/Password dialog box, and then either a return to blank dialog page, or an endless string of redirects. THIS AFFECTS EVERY BROWSER I TRY, INCLUDING THE LATEST FIREFOX. Needless to say, this problem is driving me NUTS, and of course I can't get any help directly from Apple, since my laptop is over a year old. I doubt I would find tech help sophisticated enough anyway. Does ANYBODY have any suggestions? This is one of these maddening problems that can consume entire evenings. I wish I had never installed the latest security update.
    AL PB G4   Mac OS X (10.4.8)   1.5GB Ram

  • IChat AV after last security update

    it looks like that the last security update has made something to iChat. Everybody is having problems. My iSight in my iMac (updated) stopped streaming video in iChat after the update, while my Macbook (not updated yet) works perfectly. Any idea anybody?
    Thanks

    Let me be more specific about my problem. After the security update in my iMac C2D, every time I try to do a video conference through iChat with AIM buddies my image freezes when the conference starts.
    I can see and hear my buddies and they can hear me, but they don't see me. I see my image frozen. The iSight green light is on. iSight works ok with other applications and even with iChat before the conference starts.
    I don't have the problem with my Mackbook using iChat with the same buddies. I have not updated the Mackbook yet with the security update.
    I'm using a Bellsouth DSL modem connected to an Airport Express router. Both macs are using airport to connect to internet.
    Any ideas?
    Thank you!

  • My profile is "reset" after last security update.

    Hi,
    yesterday I applied last security update but without rebort right after that. Then later (very long) shutdown.
    Today started up, logged in and shocked - the profile is reset: desktop, all apps settings (as in "brand new" profile).
    Already tried: restart of the iMac, reparing permissins, but no success. Please help!

    Is nameCheck the name of the file?, an alias pointing to the file?, or a string representing the path to the file?
    If it's just a name then the script won't work because the Finder doesn't know where to find the file to move. Sure you might know the file is on the Desktop, but how does the Finder know that?
    What if there where 2 files on disk with the same name - which one would it move?
    In other words you need to be specific, like:
    set nameCheck to "somefile.pdf"
    tell application "Finder"
      move (file nameCheck of desktop) to folder myFolder
    end tell
    or maybe:
    tell application "Finder"
      set nameCheck to file "somefile.pdf" of desktop
      move file nameCheck to folder myFolder
    end tell
    It may be that earlier versions of AppleScript/Finder mistakenly assumed which file to moved based on its name only, but that is incorrect behavior.
    If my guess isn't right, then you need to provide more detail, such as the actual code that fails along with any error messages that you get.

  • Printing problems after installing Security Update 2015-002

    After installing Security Update 2015-002 on three separate computers on two different WiFi networks, printers on the network are losing their connections to the computers that can print to them. We have experienced this on a network running a Canon printer and an HP printer - both have disappeared on the network although the printer suggests it is still connected to the network. The same thing has happened on a separate network I manage with a single HP printer on that network. I have tried removing the printers, resetting the printers etc. Nothing is working. I can get one print out of a printer when I turn the printer off and then on. Three minutes later the printer is no longer connected to the computer - although still connected to the network. Please Help.

    I think I have figured out that it is in fact the Apple Extreme Base Station that is losing the printer. It is very odd because the printer is connected to the Wifi. My computer is connected to the WiFi and connecting to the internet. The Router for the internet can see the printer. An Apple Extreme is then connected via a network cable in Bridge mode to the router. When I turned the power off the The Apple Extreme and then restored power it all worked. was still working this morning, but again this afternoon I needed to reboot Apple Extreme. It is quite strange that this is happening on two different Networks in different parts of the country at the same time. Maybe the Security Update is somehow affecting/blocking communication with the printer? I just don't know enough. These networks have been up and running with the same printers and computers for years with zero problems - all of a sudden we have the same problem on both Networks.
    Any help will be very much appreciated.

  • G4 won't boot after last Security Update

    I have an AGP G4 tower that's been running 10.4.11 fine until today. The last thing I did was Software Update. The only things on the list were an iLife update and a Security Update. I don't know the update number but since I always keep the system updated, I can only assume these two updates were the latest available.
    So after the update... I hit the "restart" button but then I get the grey screen with a prohibitory sign and a spinning wheel.
    It's not a hardware issue... I can reboot this machine into an alternate hard drive just fine.
    I fixed permissions.
    I ran disk utility - hard disk checked out ok.
    Still can't boot using this drive.
    Obviously this last security update broke my system folder because it's as if it can't find a valid system.
    So now the question is, what can I do to fix my system folder?
    Thank-you.

    Simple fix.
    I downloaded and installed the 10.4.11 Combo Update onto original drive while booted into the alternate drive. I then downloaded and installed the Security Update 2008-0001 onto the original drive. As a precaution I repaired permissions on the original drive.
    Successfully booted into original drive.

  • After last security update, Mail quits when trying to save and attach

    Software Update installed the last security update.
    Ever since, Mail quits when I try to save a message, save an attachment, copy a message and attach a file.
    These are the only problems that Update caused.
    Might it have to do with Java?
    If so, which files must I erase so that I can re-install Java Release 6?
    What do I do?
    Firehat

    Sheila, I'd try these two steps first, then maybe reapply the last update by downloading it from apple downloads instead of SW Update...
    Using Disk Utility in Mac OS X 10.4.3 or later to verify or repair disks...
    http://docs.info.apple.com/article.html?artnum=302672
    About Disk Utility's Repair Disk Permissions feature...
    http://docs.info.apple.com/article.html?artnum=25751

  • Safari Problems Since last Security Update

    Every since the last Security Update in September Safari 1.3.1 has some strange issues for me. As others have previously described in these forums, Safari will crash on certain websites but with no consistency. Sometimes those sites work and other times they don't. At other times, an infrequently visited site will crash. It's almost like it's at random but I don't know what causes it.
    On a related note, some web ads that have motion, I don't know if it's flash (latest installed) or java, 'bounce" up and down when you scroll down the page by either clicking on the scroll bar and scrolling down or by clicking on the up/down arrows. I didn't notice this prior to the security update.
    I do all the usual maintenance. I did notice though that when clearing the java cache in 1.4.2 I can't quit by the menu (grayed out) or Command q, only by clicking on the red dot. Anybody know what's going on? Thanks!

    Hello Tooky,
    I know it has been a while since you posted this topic on the Discussions board, but I am experiencing the same problem with the Safari browser. I have noticed that web ads have motion as well, and I am not sure whether this is intentional or an error.
    However, I did discover something. I reinstalled Quicktime 6 (I had been running QT 7) and the motion in the web ads stopped. Then, just to test this out, I upgraded to QT 7 again, and the motion in the web ads returned. I think it has something to do with QT 7.
    I am running 10.3.9, and I don't know whether people are experiencing this issue in 10.4. You mentioned in your posting that this issue has been discussed--is there any way you could direct me to one of the discussions? Have you discovered a workaround? I'm having trouble finding other threads on this topic.
    Thank you very much, and take care.
    Chris
    eMac   Mac OS X (10.3.9)  

  • Problem after install Security Update 2011-003

    hi
    after after install Security Update 2011-003
    i can't open App like mail, safari and more.
    any idea
    Benny

    Process:         Safari [400]
    Path:            /Applications/Safari.app/Contents/MacOS/Safari
    Identifier:      com.apple.Safari
    Version:         ??? (???)
    Build Info:      WebBrowser-75332101~1
    Code Type:       X86 (Native)
    Parent Process:  launchd [212]
    Date/Time:       2011-06-01 02:54:16.134 +0300
    OS Version:      Mac OS X 10.6.7 (10J869)
    Report Version:  6
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Crashed Thread:  0
    Dyld Error Message:
      Library not loaded: /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
      Referenced from: /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
      Reason: no suitable image found.  Did find:
              /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore. framework/Versions/A/WebCore: truncated fat file.  file length=12320768, but needed slice goes to 35270944
    Binary Images:
    0x8fe00000 - 0x8fe4162b  dyld 132.1 (???) <39AC3185-E633-68AA-7CD6-1230E7F1CEF4> /usr/lib/dyld
    q

  • Can't access several websites after last security update

    Hello,
    After upgrading both my Macbook Air mid 2011 and iMac 2008 (with SSD) both running Mountain Lion 10.8.4 to the last security fix, I can't access from any of those two computers a variety of websites, for example:
    www.opennicproject.org
    www.gentoo-el.org
    www.adslgr.com
    These are only three. Almost half of Google's results are blocked. Using the terminal utility I am able to resolv some of them but not actually 'ping' them. I get no ping replies. I can access all these websites from other computers or devices (iPhone/iPad/Ubuntu desktop/WindowsXP laptop) on the same LAN. This problem exists only in the 2 macs  which are up-to-date. I am sure that this problem is related to latest security update I did a couple of days ago, to both computers.
    I'd like to know if anyone who have all patches installed up to the latest OSX version (mountain lion 10.8.4) has the same issues and can ping/resolv/access these websites.
    Note that although I can't access these websites directly using any direct network connection, I can access them using TOR browser bundle for mac, which means that something is going on at a computer level.
    I have checked so far:
    - Applicationn Apple's firewall is not creating the problem (disabled/enabled all)
    - ipfw/PF is not running with any ruleset
    - LittleSnitch blocks just a couple of annoying outgoing connections. Nothing there (I disabled/enabeld it, same thing).
    - Other computers access the websites/ping them/etc.
    - I can access websites using TOR.
    NOTE: It's not just 3 websites, it's something like 1 out of 3 DuckDuckGo links.
    Ideas and thoughts are welcomed!
    Best Regards,
    PA

    From the Safari menu bar, select
    Safari ▹ Preferences ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
    If you wish, you may be able to salvage the malfunctioning extension by uninstalling and reinstalling it. That will revert its settings to the defaults.

  • Major problems after latest security update

    I did a security update a few daus ago updating my G5.
    When started it acts normal when <I log in (using file wault) but when the desktop appears it takes forever. Ati first the harddrives appear on the desktop (after maybe 30 minutes). Then the top menu after a lot longer and then finally documents I have on the desktop. When i diagnose with diskwarrior it crashes. I can open the folders on the hard drive but not the program folder, when trying to open that the computer just starts thinking. Programs and internet connection works but as soon as I try to do anything related to the system the spinning rainbow spinning thing starts and never stops.
    I am desoerate for a sollution, any hints on what I can do?

    Hi Jason,
    tried safe mode yesterday (before reading this post) and the computer acts the same, I also did another security update last night since I saw that one more recent than the one I did previously, so I updated java and security and now the problem is worse.
    The computer starts up with the gray screen with the apple and when it is supposed to move on it shuts down again
    It is correct that I use file vault, the reason for this is that we had some problems with burglars at my previous job and I have some sensitive data on the computer. I just moved the computer to my home a few weeks ago so if I will only get it started I will disable it. The problem is with moving I can't find my system DVD so I can't start from it.
    Is it possible to burn a disk with operating system from my Powerbook 17" G4 or is that not an option? If possible what should I burn to be able to boot?

  • Lost OS X after last security update

    G4 Yikes. OS X 10.3.x (8 maybe?) on one partition and 9.2.2 on another.
    So last week I used Software Update and d'led several updates, including the security update (which I heard has caused problems). During the install I got a gray screen, and the hard drive emittid a clicking sound (I thought it died). Thankfully I have been able to reboot to 9.2.2, but not OS X. I can no longer select OS X as the startup drive. I ran the disk utility from the 10.3 CD and from 9.2.2 but I can't repair OS X.
    However, when in 9.2.2, OS X is visibile and I can browse files, leading me to believe this is fixable.
    Is this related to permissions? How can I reset them? I tried to run the disk utility in OS X from 9.2.2 with no luck.
    Is there a way to delete or uninstall the last set of updates? Is there a way I can run command line instructions?
    This is getting frustrating. Any helps is appreciated.
    Thanks
    G4 Yikes   Mac OS X (10.3.8)   Also 9.2.2

    Hello Neal,
    This may help:
    The following was contributed by Fumiaki Kawashima.
    The error message, "Error: The underlying task reported failure on exit (-9972)" is a serious filesystem error in the Mac OS X Core Foundation. The problem can also lead to other critical errors such as "Keys Out of Order," "Invalid node structure" and/or "Invalid sibling link." The causes and scenarios vary. Troubleshooting a solution may depend upon computer configuration and whether the -9972 error is accompanied by other critical errors. This issue can also lead up to a kernel panic. If the error occurs when an external FireWire device is connected, disconnect it until you verify the device's compatibility.
    Symptoms:
    In most cases, you are unable to restart from Mac OS X.
    * A volume is grayed out or not mounted with or without a kernel panic.
     * A folder with a flashing question mark may appear.
     * A bad partition map may be reported.
     * A target disk mode solution may not work.
     * Most likely, Disk Utility, Norton Utilities, TechTool and DiskWarrior cannot fix the issues.
     * The high level disk format (Standard format) may unable to perform.
     * You may unable to re-initialize the hard drive.
     * A disk physically malfunctions in the worst case.
    Example of an accompanied error message:
    DiskWarrior normally fixes 1 to 6, but cannot fix errors 7 to 10 if the symptoms are very bad. There is no definite case.
    01. Volume check failed
    02. Invalid B-tree Header
    03. Invalid map node
    04. Invalid extents entry
    05. Invalid clump size
    06. Incorrect block count file
    07. Invalid node structure
    08. Overlapped extent allocation
    09. Keys Out of Order
    10. Invalid sibling link
    Possible causes:
    * Third-party FireWire device or enclosure, or other peripheral devices.
     * Third-party mass storage drives or PCI card issues.
     * Incompatible third-party kernel extensions.
     * Mac OS X installer disc is improperly treated.
    Solutions:
    If possible and needed, back up data before troubleshooting. Methods (4) and (5) are for Power Mac desktop computers other than G5 models. The best bet is method (4) if you encounter multiple bad errors.
    1. Unplug the power cord. Disconnect all third-party hardware except Apple keyboard and mouse before you start.
    2. Do NOT re-install any third-party software/hardware until you completely solve the issue(s) and carefully investigate the compatibility with Mac OS X 10.3.x you install.
    3. If another critical error "Invalid sibling link" is detected at any phases, disconnect and reconnect all internal power cords and data cables for hard drives and any ATAPI device. To do so, you may need to read the computer's CIP Instructions in advance. Normally, you do not need to remove third-party RAMs.
    Method 1:
    (1) Start up from Mac OS X 10.3.x Panther Full Install CD or DVD.
    (2) Re-initialize and re-partition the hard drive. RECOMMENDATION: Select "Zero all data" option if "Invalid node structure" or "Keys Out of Order" error is detected.
    If this method is of avail, go to Method 2 or greater.
    Method 2:
    (1) Start up in Mac OS 9.2.2 and shut down the computer.
    (2) Start up from a copy of a Disk Warrior bootable CD for Mac OS 9.2.2.
    (3) Run DW to fix the damage(s).
    Method 3:
    (1) Unplug the computer.
    (2) Find a second ATA drive and jumper it as MASTER. Jumper the hard drive in question as SLAVE. Verify the jumper pin settings.
    (3) Install Mac OS 9.2.x system on the MASTER drive, and update it to Mac OS 9.2.2.
    (4) Start up from Mac OS 9.2.2. Re-initialize and re-partition the damaged hard drive with Drive Setup using the "Zero all data" option. Unplug the computer and reconfigure the jumper pin setting on the repaired drive for MASTER and the second drive for SLAVE.
    (5) Restart from Mac OS X 10.3 Panther full install CD. Re-initialize and re-partition the repaired drive to install Mac OS X 10.3. Update to Mac OS X 10.3.7 via Software Update. Repair the disk permissions after each Mac OS X 10.3 installation and Mac OS X 10.3.7 update.
    You may want to try starting up from Mac OS 9.2.x Full Install CD instead of from (2) to (4).
    Method 4:
    (1) Find a desktop computer that has an ATA controller PCI card (SCSI environment) and has two hard drive bays. This will make your damaged drive appear as a quasi-SCSI hard drive. Mac OS 9.2.2 must be pre-installed on the computer. I recommend a host computer that installs an Ultra DMA/xxx or xxx (ATA-x) interface equal to or better than the damaged drive with backwards compatible.
    (2) Set the host computer's primary drive as MASTER and your damaged hard drive as SLAVE and install the damaged drive in the second drive bay of the host computer. Verify properly configured jumper pin settings in advance.
    (3) Start up the host computer from Mac OS 9.2.2. Launch the "Drive Setup" utility. Re-initialize the damaged disk on the second drive using the "Low level format" option. It may take hours but less than "Zero all data" option. Note: Normally, a low level format with a quasi-SCSI drive takes much less (30 - 40%) time than an ATA configuration drive. Note that "Low level format" fixes all difficult logical damage.
    (4) Put the fixed disk back in your computer's drive bay. Re-configure the jumper pin setting to MASTER before you place it into the drive bay of your computer.
    (5) Restart from Mac OS X 10.3 Panther full install CD. Re-initialize and re-partition it to install Mac OS X 10.3. Update to Mac OS X 10.3.7 via Software Update. Repair the disk permissions after each Mac OS X 10.3 installation and Mac OS X 10.3.7 update.
    Note that Panther's Disk Utility does not implement a "Low level format" option.
    Method 5:
    If Method 4 does not work or fix the damaged drive, let me know. You may need an advanced technique to fix it if the drive is physically not a problem.
    OPTION:
    Purchase a known good hard drive that conforms to your computer's ATA specification. Fix the damaged hard drive some other time. Nowadays, prices of hard drives are inexpensive.
    Mini 1.25, 512 AP/BT; 12 Al PB 1.5, 512 AP/BT   Mac OS X (10.3.8)   Wireless KB/Mouse, AEBS, 80 GB OWC FW HD

Maybe you are looking for