Apple script for 10.4 - works in OSX but not older

Hi I have a script which I'm using on my current system 10.9 it runs in excel and it goes something like this:
tell application "Microsoft Excel"
  -- put the complete set of data into a list of lists (i.e., 2 dimensions -> columns of rows)
  tell active sheet to set myData to value of used range
  -- recipient email
  set myRow1 to 1
  set myCol1 to 1
  set Address to item {myCol1} of item {myRow1} of myData
  -- recipient name
  set myCol4 to 4
  set rName to item {myCol4} of item {myRow1} of myData
The above is just a small snippet from the script.  However I try running this on apple 10.4 apple script and it does not work.  I'm trying to save my computer time from have to this minimal task on an older mac I have but I'm experiencing some problems.  Does the active sheet not work in apple mac 10.4? What am I missing?  Any help would be greatly appreciated.

Hi Ohms238,
I found this Apple developer page that talks about changes made in each version of OSX. It will require some work, but you can go through and see what changes are relevant to your script.
But I would actually recommend running pieces of your code separately to see exactly what parts don't work and then rewrite just those portions.

Similar Messages

  • ECATT Script with SAPGUI Commando works in consolidation but not in prod.

    Hi experts,
    I created a eCATT script with commando SAPGUI Rec. In our consolidation system it works fine but when I try to let it run in production it is not working. User scripting is enabled (in options and in rz11). I am starting the script, the production system is getting opened but afterwards there happens nothing anymore. Also the scriptingsign in the bottom right corner is not active.
    When I am running a script with TCD Rec, it works fine in production. Is there a difference between settings for scripting for TCD Rec and SAPGUI scripting? Do you have any idea which kind of influences there could be that make this difference between TCD Rec and SAPGUI Rec scripts?
    Best regards and thank you in advance!
    Jan

    Hello,
    Ideally we should not run the ecatts in the production system as this would hamper the system environment or change systems.
    Also check in RZ11 enter sapgui/user_scripting , here the values for the last three parameters are set to TRUE.
    Thanks & Best regards,
    Ajay

  • 802.11ac works in OSX but not Windows 7

    My Haswell Macbook Air connects to my new Airport Extreme with 802.11ac in OSX but in Windows 7 with the drivers in BootCamp 5.1.5621 I only connect with 802.11n.
    I can't find any new drivers for Windows -- has anyone had any luck?

    Not the answer for your question. But I have Steam on my mac. You can download it on their website!

  • Apple Script For Opening External EML File With Apple Mail

    Hi folks,
    

 I am working with Apple Script for implementing numerous function related to Mail App.
    

I am using the following Apple Script lines for opening the mails which are in Mail app for each modes.
    

View Mode : open theMsg

    Reply View Mode : reply theMsg opening window yes

    Reply All Mode : reply theMsg opening window yes reply to all yes

    Forward Mode : forward theMsg opening window yes



    I want to know how we can open external eml file in different view modes (View, Reply, Reply All and Forward) using Apple Script or Apple Event programmatically with a similar mechanism available through script in Mail App.

    
Thanks in advance.

Regards
    
Nisar

    I'm not sure what you're doing here, but this isn't anything I recognize as compilable applescript. what is this 'mode' thing you're talking about.
    at any rate, if you have a loose emlx file sitting around somewhere you can simply open it in mail (use the 'open' command and the file specification for the emlx file) and work with it appropriately. if you're talking about an actual eml file (e.g. from Outlook Express) you'd have to GUI script Mail's 'import mailbox' command (the applescript handler for importing mail only works with Mail.app mailboxes)

  • Apple Scripting for Microsfot Power Point 2011

    Hi,
    I am having problem with following apple script. This is working fine with Office 2004 but when i am using office 2011 then on action is changing to «class BCOa». Can any one please help me in this. I will be very thankful
    tell application "Microsoft PowerPoint"
    set btnAbout to make new command bar control at command bar ¬
    "CPS" with properties {control type:control button, button style:button caption}
    -- Set button style in "with properties" block
    set width of btnAbout to 60
    set name of btnAbout to "About"
    set *on action* of btnAbout to "cpsHandleAbout"
    set tooltip text of btnAbout to "About CPS for PowerPoint"
    end tell

    Hm, not sure if this helps, but perhaps... first create this command button by hand...
    then run
    tell application "Microsoft PowerPoint"
    get properties of command bar control "About" of command bar "CPS"
    end tell
    this returns the properties of this button...
    something like:
    {class:command bar button, begin group:false, built in:true, name:"About", description text:"", enabled:true, height:22, help context ID: 0, help file:"", id:2520, entry_index:1, left position:674, parameter:"", priority:3, tag:"", tooltip text:"&About", top:324, control type:control button, visible:true, width:28, button face is default:false, face id:23, button state:button state up, button style:button automatic}
    If the button uses a build in command you will get to know the id of this command...
    e.g. the ID is 23 (open file)
    make new command bar control at command bar ¬
    "CPS" with properties {id:23}
    and this would create such a new button...
    But I am not sure who to get a list of all action ids...

  • Apple script for Message box when Mail app Compose Window Opens

    Hi there
    I'm trying to make mail app remind me to choose the right emaill address to send from since I have several email addresses. Is there a way I can make or write an apple script for a message box to pop up whenever mail app's compose window opens up.
    I can do for the case when I actally click the compose button when I'm on mail app by using UI scripting. But when it comes to hyperlinks which opens up the compose window, it fails.
    I just want a script to see whether the compose window is open and if open pop up a message box.
    Thanks
    Best regards
    Zam Shabeer Thahir

    TaoChitpol wrote:
    By the way, the problem happens with the account of MS Exchange service, I don't know if this is the cause of the problem.
    I think yes.  The encoding is being corrupted somewhere, probably Exchange.  There is nothing you can change on the iPad other than the OS languagel, to see if that helps.  You can also tell Apple at
    http://www.apple.com/feedback/

  • Apple Script for deleting podcasts

    I subscribe to a lot of podcasts, but I don't want to keep them in my iTunes library after I'm done listening to them. Is there an Apple Script for automatically deleting podcasts? Thanks.

    Thanks - once I'm in Automator and select Music, I don't see any options for finding Podcasts. Any suggestions which item/step I should select next in Automator? Thanks.

  • Tell me what is ******* going on!!!????! The time and date issues!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Every times I went to Apple store, the phone automatically works good time, but when I came back, my phone is working very slow with wrong time!

    The time and date issues!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Every times I went to Apple store, the phone automatically works good time, but when I came back, my phone is working very slow with wrong time!
    I want to get a new iPhone to replace this defective phone. I am gonna be crazzzzzzzyyyyyyyy with anger,!!!,!,,,!  I takes2 hours to go to Regent street apple stores for three times!!!!!. It is a lot of transport fees !
    PLz tell me why! How to deal with it !

    Unless it's confirmed officially that your phone is defective, then you can ask for a replacement. Or you have to live with you. However you can trade it for a new one if you don't care the price drop.

  • Apple script to locate and assign photos that do not belong to an album

    Is there an Apple script to locate photos that do not belong to an album and assign them to one specific album where you can distribute them. I just finished using an apple script for iTunes that does that job and have been searching for an apple script to do the same.
    Thanks For The Help
    Dan

    You can easily find photos that are not in any albums by using a Smart Album with the criteria:
    Album is not Any
    From there you'll have to manually drag them to their destination album.
    However, once you move photos to another album you'll have to leave it and then go back to it to see the changes you've made. It doesn't automatically update changes while you're viewing it.

  • HT204053 I want to use the same apple id for iTunes and iCloud...but I have both set up..my problem is I want to use the one that I use for iTunes for both

    I want to use the same apple id for iTunes and iCloud...but I have both set up..my problem is I want to use the one that I use for iTunes for both

    iForgot.com

  • My apple id works on itunes but not on my ipod touch, what gives ?

    my apple id works on itunes but not on my ipod touch, what gives ?

    What are you trying to do on the iPod?
    Have you went to Settings>Store and sign out and then sign back in?

  • I have a JavaScript loop that works in Dreamweaver but not in my browsers. What's missing? Should the page load another script first?

    I know that the code is clean because it runs perfectly in DW (even with the occasional lag). Shorter loop functions have also worked in DW, but not in my Chrome or IE browsers. Is there a script or program that the HTML should run first?

    I'm sorry, of course:
    The Crow Haven Witches and Psychics of Salem
    I am designing a phone psychic hotline (don't ask! ) page, and the loop is supposed to sort the readers according to their availability. Each should appear in their respective listing.
    The setup works perfectly in DW, but none of the scripted material appears in the current page. I will add a photo of how it does look in DW.

  • Password on apple id works on iPad but not on Mac Pro

    Pass word on apple id works with iPad but not on Mac Book Pro, what is the solution, I have tried to reset password but that does not seem to solve the problem.

    It kind of depends on where you're entering the password on the MacBook Pro. iTunes Store? App Store?
    Try the password on this website https://id.apple.com/ (click on [manage my apple id]
    If it works on that website there's nothing wrong with your apple id or password. In that case we really will need to know exactly what you're trying to do when you're getting the password error.

  • Apple ID works on iPad but not on my MB Air

    Apple ID works on iPad but not on my MB Air

    Even though it works on the iPad, try resetting your Apple ID password on your MB Air >  My Apple ID

  • My apple mail is receiving my outlook/ company messages, but not gmail.  Message is "take account online" but it won't.  Outgoing gmail messages work.

    My apple mail is receiving my outlook/company messages but not gmail.  It says the account is offline, but won't go online.  gmail messages do send.  Help!

    Remove the account and put it back again, use Internet Accounts (in System Preferences) to do this.

Maybe you are looking for