Script no longer works in mail V3 since upgrading from 10.4 to 10.5

I used the script below to generate mail messages. Under 10.4 it would just send the message, now under 10.5 it puts it in the Out Box and that is it.
Anybody knows how to fix this so it sends it immediately?
Secondly I used to be able to set sender to any of my accounts for example "[email protected]" or any address I liked, this too is no longer working as it uses always the main account from Mail it is send from.
Anybody knows why or how to fix this?
set theBody to "abc"
set theSubject to "XYZ"
set theTarget to "[email protected]"
tell application "Mail"
set newMessage to make new outgoing message with
roperties {subject:theSubject, content:theBody}
tell newMessage
make new to recipient at end of to recipients with properties {address:theTarget}
set sender to "[email protected]"
end tell
send newMessage
end tell
thanks

I don't know if this is still an issue for you guys, but I've been experiencing a problem with the MouseWheelListener added to a Component that is added to an Applet. This is browser independent, but appletviewer/browser dependent.
Check this link for some test cases:
http://www.darkdom.com/prototype/coordinate/test/test.html
I thought it had something to do with the event getting "consumed" by other listeners, but it seems like it only has to do with the MouseWheelListener.

Similar Messages

  • Custom Field no longer works as an attribute since upgrade from 5.2 to 5.3

    We have just upgrade from CUP 5.2 to CUP 5.3 SP8.1 and it seems that the custom field that could be used in 5.2 as an attribute in the logic used to control initiators no longer works as an attribute in 5.3. The initiators that are now configured with the custom field still work but when we try to change or create a new one it errors saying that the custom field is not an attribute and stops me from including it to use as a flag. I looked in the attribute tabs list and the custom field is not listed but it still show in the drop down list in the change initiator screen select attributes selection.
    Has anyone else seen this and if so do you know how to allow us to use a custom field as an attribute in the initiator select attributes screen.

    Hello Clark,
    try to change the "applicable to" option in custom field configuration to initiator.
    Best regards,
    Bianca

  • Script no longer works in mail since upgrade to 10.5

    I used the script below to generate mail messages. Under 10.4 it would just send the message, now under 10.5 it puts it in the Out Box and that is it.
    Anybody knows how to fix this so it sends it immediately?
    Secondly I used to be able to set sender to any of my accounts for example "[email protected]" or any address I liked, this too is no longer working as it uses always the account from Mail it is send from.
    Anybody knows why or how to fix this?
    set theBody to "abc"
    set theSubject to "XYZ"
    set theTarget to "[email protected]"
    tell application "Mail"
    set newMessage to make new outgoing message with
    roperties {subject:theSubject, content:theBody}
    tell newMessage
    make new to recipient at end of to recipients with properties {address:theTarget}
    set sender to "[email protected]"
    end tell
    send newMessage
    end tell
    thanks

    Sorry forgot to add:
    I have found and tried the advice in article:   http://support.apple.com/kb/TS1967
    However I have no files in the format iTunes Library YYYY-MM-DD that the artical relies on for its solution.
    (Yes hidden and system files are set as shown in Windows Explorer)

  • Bold no longer works in Mail, after Leopard upgrade

    Since upgrading to 10.5.1 -- and maybe to 10.5 -- I can no longer use bold style when composing a new email in Mail. Command-B and Format > Style > Bold have no effect. By contrast, italics and underline still work fine.

    Hi There
    Yes, I'm having a similar problem in Mail too. Using Arial 12pt (standard for mail)
    For example:
    If I key 'This is a test'. Then select it and either hit command B or go up to format and select bold, i get this: *is is es* How weird!... I'd like to hear from apple on this??
    Just wondering is people with problems like this are using a third party font utility?... I'm using Suitcase. Don't know if this bears any relevance?
    Something else relating to Mail in Leopard too...
    In Tiger you used to see how 'big' your mail was you were creating to send to someone. Say you attached a 2mb pdf or pic.. it would come up in the bottom left of your mail saying the size. (ok this wasn't exactly accurate and it might say 2.3Mb, but it was useful becuase if you went over your outgoing mail server maximum size, it would show up in red.
    This info/feature has been eliminated and forgotten in Leopard Mail!
    Why?... Does any one know?
    thanks
    Pete

  • IPod no longer works with car stereo since upgraded MBA & iTunes

    My iPod classic has worked just fine connected to my car stereo since i bought it last june. I just bought a new Macbook Air (OS 10.7.3) & installed ITUNES 10.6.1. After I synched my ipod for the first time its recognised by the car but i get a "can't read data" message. I re-formatted my ipod but its exactly the same. Do you think its the upgrade- or the cable? Has anyone else found a bug with this version of Itunes or the OS? I have my doubts a cable would make the difference, and my old ipod nano that i haven't synched for a while works fine.

    If standalone works fine, then, most likely the 30 pin connect may have some dirt or lint, prevent data transfer.
    You can try to blow it clean, if you have a can of compressed air or gas.
    Alternatively you can connect it to the car stereo and do the RESET, while connnected.as follows
    Toggle the Hold switch, make sure you dont see the red mark when you do the  next step
    Reset the iPod -> Press Menu and Center button simultaneously for about 10 secs or till the Apple Logo comes ON
    Then release the buttons
    Select your preferred language.
    Here is the Apple support Article on the 5Rs
    http://www.apple.com/support/ipod/five_rs/classic/
    The Reset sequence may send a signal to the Car stereo to do the right thing

  • Sound broken since upgrade from 2.6.29

    I wasn't sure if I should post this here or in the multimedia forum. Anyway...
    I have an Echo Audio Mia-midi soundcard and sound hasn't been working properly for me since upgrading from 2.6.29. Both 2.6.30 and 2.6.31 share the same issue and reverting to 2.6.29 always solves the problem. It seems some driver infrastructure has changed, because the two "Line out" level meters are not available in alsamixer anymore. Instead I have VU-meters for front, rear, center, woofer and side. These can't be set however, and seem to have no impact on the output (they are sometimes set to 100% and sometimes to 0%, but output is silent in both cases).
    Running echomixer (an Echo Audio specific mixer in alsa-tools) and playing sound shows that there is sound playing at full volume at the subdevice channels, but the "final" output is silent, even though all output channels are set at their proper values, including the output mixer. Raising the monitor mixer, effectively forwarding the input channels to the output works as it should, so as far as I can tell, the issue concerns the software/driver output to the soundcard.
    I've tried everything I can think of to solve this, but nothing seems to help. I've run an alsa debug script in both 2.6.29 and 2.6.31, but the only difference worth noting that I can find is connected to the line out level meters. In 2.6.29:
    Simple mixer control 'Line',0
    Capabilities: pvolume
    Playback channels: Front Left - Front Right - Rear Left - Rear Right
    Limits: Playback -128 - 6
    Mono:
    Front Left: Playback 0 [96%] [0.00dB]
    Front Right: Playback 0 [96%] [0.00dB]
    Rear Left: Playback 0 [96%] [0.00dB]
    Rear Right: Playback 0 [96%] [0.00dB]
    state.Mia {
    control.1 {
    comment.access 'read write'
    comment.type INTEGER
    comment.count 4
    comment.range '-128 - 6'
    comment.dbmin -12800
    comment.dbmax 600
    iface MIXER
    name 'Line Playback Volume'
    value.0 0
    value.1 0
    value.2 0
    value.3 0
    Both of these parts are missing from the output in 2.6.31.
    I don't know what to do next. Any help would be greatly appreciated.

    I wasn't sure if I should post this here or in the multimedia forum. Anyway...
    I have an Echo Audio Mia-midi soundcard and sound hasn't been working properly for me since upgrading from 2.6.29. Both 2.6.30 and 2.6.31 share the same issue and reverting to 2.6.29 always solves the problem. It seems some driver infrastructure has changed, because the two "Line out" level meters are not available in alsamixer anymore. Instead I have VU-meters for front, rear, center, woofer and side. These can't be set however, and seem to have no impact on the output (they are sometimes set to 100% and sometimes to 0%, but output is silent in both cases).
    Running echomixer (an Echo Audio specific mixer in alsa-tools) and playing sound shows that there is sound playing at full volume at the subdevice channels, but the "final" output is silent, even though all output channels are set at their proper values, including the output mixer. Raising the monitor mixer, effectively forwarding the input channels to the output works as it should, so as far as I can tell, the issue concerns the software/driver output to the soundcard.
    I've tried everything I can think of to solve this, but nothing seems to help. I've run an alsa debug script in both 2.6.29 and 2.6.31, but the only difference worth noting that I can find is connected to the line out level meters. In 2.6.29:
    Simple mixer control 'Line',0
    Capabilities: pvolume
    Playback channels: Front Left - Front Right - Rear Left - Rear Right
    Limits: Playback -128 - 6
    Mono:
    Front Left: Playback 0 [96%] [0.00dB]
    Front Right: Playback 0 [96%] [0.00dB]
    Rear Left: Playback 0 [96%] [0.00dB]
    Rear Right: Playback 0 [96%] [0.00dB]
    state.Mia {
    control.1 {
    comment.access 'read write'
    comment.type INTEGER
    comment.count 4
    comment.range '-128 - 6'
    comment.dbmin -12800
    comment.dbmax 600
    iface MIXER
    name 'Line Playback Volume'
    value.0 0
    value.1 0
    value.2 0
    value.3 0
    Both of these parts are missing from the output in 2.6.31.
    I don't know what to do next. Any help would be greatly appreciated.

  • Script no longer working under Maverick

    I just upgraded to Maverick over the weekend and I can not figure out why this script no longer works.  It has been working for the last 5 years.
    The script moves a file my server sends per e-mail to a folder on a partition on my Mac.  Here is the script.
    tell application "Microsoft Outlook"
              set selectedMsg to (current messages)
              set selectedMsg to item 1 of result
              set msgAttachment to attachments of selectedMsg
              set msgAttachment to result's item 1
              set attachmentName to name of msgAttachment
              set attachmentFile to ((path to desktop) & attachmentName) as text
      save msgAttachment in attachmentFile
    end tell
    delay 3
    set submitfolder to "OS E:Users:e:Desktop:" as alias
    set collectionfolder to "/Volumes/Data E/Consulting/Telephone Switch Record/2014" as alias
    tell application "Finder" to move (every file whose name contains ("week ") & (do shell script "date +%U")) to collectionfolder
    delay 2
    tell application "Finder" to move (every file whose name contains ("week ") & (do shell script "date +%U")) to trash
    I now get:
    If I run:
    tell application "Finder"
              open ("/Volumes/Data E/Consulting/Telephone Switch Record/2014" as POSIX file)
    end tell
    it opens the folder no problem so the path must be ok?  or? 
    Any ideas why it is broken? 

    Are you getting the error on this statement
    set collectionfolder to "/Volumes/Data E/Consulting/Telephone Switch Record/2014" as alias
    or when you do the move? And what is the error number you are getting?
    Also try this
    set filePart to "week " & (do shell script "date +%U")
    log filePart
    tell application "Finder" to move (every file whose name contains filePart) to collectionfolder
    to see what the string looks like.

  • Since upgrading from Mavericks to Yosemite Mail, Spotlight,Mission Control and App-Store don´t work correctly. Is it possible to return to Mavericks?

    Since upgrading from Mavericks to Yosemite Mail, Spotlight, Mission Control and App-Store don´t work correctly. Is it possible to return to Mavericks?

    If you have an external drive with an OS X Time Machine backup, then do restore of your last backup. If you have an external drive  with a bootable clone of your previous system, you can boot to that clone and re-clone the OS X on your external drive back to your Mac's internal drive.
    If you do not have either of these available, then the reverting/restoring process becomes much more complicated and involves purchasing an external drive and backing up your current system to that drive, then erasing, reformatting your hard drive and now your only options to installng an OS X version is doing a clean install of OS X 10.6 Snow Leopard, then upgrading, again, to either OS X 10.7 Lion or 10.8 Mountain Lion. OS X 10.9 Mavericks is no longer available for download and Apple has not made OS X 10.9 Mavericks available in any other form to be able to redownload and install.
    Maybe it would be better to explain in detail your issues with Yosemite to see if any of us here can help you with your difficulties.
    I am not running or using Yosemite, so I cannot help you with your Yosemite issues,
    There are others here who can help you with Yosemite.
    Good Luck.

  • Scripts no longer working via Bridge

    For some reason, scripts no longer works in Bridge CS4.
    I've previously installed "Dr. Brown's services" scripts which is available in the "Tools" menu of Bridge. However, when I select some files, then choose this script Photoshop starts up, but nothing more happens.
    The same goes for the "Tools"-"Photoshop" menu (Batch, Image processor etc.). Photoshop CS4 starts up but nothing else happens.
    However, if I do the same thing in Photoshop itself ("File"-"Scripts") it works fine, so the scripts themselves are working, or so it seems.

    If for some reason Bridge suddenly behaviors other then before the first
    thing to try is a restart for Bridge holding down option key to refresh the
    preferences. Set Prefs again to your wishes and try again.
    For some reason, scripts no longer works in Bridge CS4.

  • After upgrade Script No Longer Works

    After I upgraded CS4 to .605 my script no longer works. I get:
    Error Number:45
    Error String: Object is Invalid
    Line 12
    Source: myParStyle.baselineshift = -1;
    Here are my first 12 lines:
    var doc = app.documents[0]
    var color = doc.colors.item("C=100 M=65 Y=0 K=0");
    var inlines = doc.stories.everyItem().textFrames.everyItem().getElements();
    for(var i=0;i<inlines.length;i++){
        if (inlines[i] instanceof Group){continue}
        if(inlines[i].fillColor != color){continue}
        if(inlines[i].contents == ""){continue}
        inlines[i].convertShape(ConvertShapeOptions.CONVERT_TO_RECTANGLE);
        myChangeCorners(inlines[i], 0, .3, "fourth point");
    var myParStyle = doc.paragraphStyles.item("Tab_HeadB_KO");
    myParStyle.baselineShift = -1;
    What do I need to change to get this to work again?
    Thanks,
    Rob

    So it's still somewhat a mystery, because that particular command didn't change from CS4 to CS5.
    Can you try the 'fix' mentioned here? CS5 issues

  • Simple script no longer works in PS3

    The following script no longer works in Photoshop 3. I now get the error message "Adobe Photoshop CS3 got an error. Can't make some data into the expected type."
    What does this mean and how can I fix it??
    Thanks.
    Peter
    set inputFolder to choose folder
    tell application "Finder"
    set filesList to (every file of inputFolder whose name ends with ".jpg")
    set outputFolder to folder (choose folder with prompt "Which folder do you want to save the new photo in?")
    end tell
    tell application "Adobe Photoshop CS3"
    set display dialogs to never
    close every document saving no
    end tell
    repeat with aFile in filesList
    set fileIndex to 0
    tell application "Finder"
    set theFile to aFile as alias
    set thefileName to name of theFile
    end tell
    tell application "Adobe Photoshop CS3"
    open theFile
    set fileName to "FCP" & name of current document
    set docRef to the current document
    set docName to name of docRef
    set docBaseName to (docName) of me
    set docRef to the current document
    set bits per channel of docRef to eight
    set docHeight to height of docRef
    set docWidth to width of docRef
    -- Convert the document to a document mode that supports saving as jpeg
    if (mode of docRef is not RGB) then
    change mode docRef to RGB
    end if
    do action "Resize JPGs" from "FCP.atn"
    set docHeight2 to height of current document
    select all of current document
    set docHeight2 to height of current document
    set docWidth2 to width of current document
    set infoRef to get info of docRef
    select all of current document
    activate "Adobe Photoshop CS3"
    copy
    close docRef saving no
    make new document with properties {width:docWidth2, height:docHeight2, resolution:300}
    paste
    set docRef to current document
    set fileIndex to fileIndex + 1
    set newFileName to (outputFolder as string) & "FCP" & docBaseName
    set myOptions to {class:JPEG save options}
    save docRef in file newFileName as JPEG with options myOptions appending lowercase extension with copying
    close current document without saving
    end tell
    end repeat

    What I'm trying to do is change the resolution of a jpg file to 300 dpi and then change the the jpg pixel dimensions to a width of 1000 pixels--constraining the proportions and letting the height dimension fall wherever. That's what the "Resize JPG's" action does. I then want to save the jpg to a new file called 'FCPoriginalfilename'.
    The script gets hung up on "save docRef in file newFileName as JPEG with options myOptions appending lowercase extension with copying". I get the error message that "Photoshop CS3 can't make some data into the expected type"
    I modified the script from a previous script that I wrote to convert raw files to TIFs which I have attached--it works fine.
    Thanks.
    Peter
    --set tempFolderName
    set inputFolder to choose folder
    tell application "Finder"
    set filesList to (every file of inputFolder whose name ends with ".CR2")
    (*if (not (exists folder ((inputFolder as string) & tempFolderName))) then
    set outputFolder to make new folder at inputFolder with properties {name:tempFolderName}
    else*)
    set outputFolder to folder (choose folder with prompt "Which folder do you want to save the new photo in?")
    --((inputFolder as string) & tempFolderName)
    --end if
    end tell
    tell application "Adobe Photoshop CS3"
    set display dialogs to never
    close every document saving no
    end tell
    repeat with aFile in filesList
    set fileIndex to 0
    tell application "Finder"
    -- The step below is important because the 'aFile' reference as returned by
    -- Finder associates the file with Finder and not Photoshop. By converting
    -- the reference below 'as alias', the reference used by 'open' will be
    -- correctly handled by Photoshop rather than Finder.
    set theFile to aFile as alias
    set thefileName to name of theFile
    end tell
    tell application "Adobe Photoshop CS3"
    --set myOptions2 to {class:raw format open options, bits per channel:16, byte order:Mac OS}
    open theFile as Camera RAW with options ¬
    {class:Camera RAW open options, bits per channel:sixteen}
    set docRef to the current document
    set docHeight to height of docRef
    set docWidth to width of docRef
    -- Convert the document to a document mode that supports saving as jpeg
    if (mode of docRef is not RGB) then
    change mode docRef to RGB
    end if
    (*if (bits per channel of docRef is sixteen) then
    set bits per channel of docRef to eight
    end if*)
    -- The copy is simply saved with additional document info added
    set infoRef to get info of docRef
    --set copyright notice of infoRef to "copyright 2004 trofanna"
    set docName to name of docRef
    set docBaseName to (docName) of me
    set fileIndex to fileIndex + 1
    set newFileName to (outputFolder as string) & docBaseName
    set newPhotoName to newFileName & ".tif"
    set myOptions to {class:TIFF save options, byte order:Mac OS}
    save docRef in file newFileName as TIFF with options myOptions appending lowercase extension with copying
    -- The original document is closed without saving so it remains as it was
    -- when opened for batch processing
    close current document without saving
    end tell
    end repeat

  • S&R script no longer works (in ID 6.0) as it did in previous versions

    This S&R script no longer works (in ID 6.0) as it did in previous versions. Can you help me by correcting it?
    app.findTextPreferences = app.changeTextPreferences = null;
    app.findChangeTextOptions.properties = { 
    includeLockedStoriesForFind:false, 
    includeLockedLayersForFind:false, 
    includeHiddenLayers:false, 
    includeMasterPages:false, 
    includeFootnotes:false, 
    wholeWord:false, 
    caseSensitive:false };
    app.findTextPreferences.findWhat = "Jack & the Beanstalk";
    app.changeTextPreferences.changeTo = "Mary Poppins";
    app.changeText();

    Hi,
    1. What error is detected?
    2. This code does the same thing you could do in UI dialog "Find...Change". Is this working?
    Jarek

  • I find that after updating my ipad to ios8 banking applications to deposit funds no longer work. The camera image rotates from horizontal to vertical and cannot be corrected. Is this a new ios8 error. I tried two different bank applications for ipad.

    I find that after updating my ipad to ios8 banking applications to deposit funds no longer work. The camera image rotates from horizontal to vertical and cannot be corrected. Is this a new ios8 error. I tried two different bank applications for ipad.

    Hi, Thanks for that further bug description In Your Last Message That Describes The Problem I Am Having perfectly and is exactly the same for me.
    unfortunately that fix for my camera Powershot G6 does not work or apply as the view pictures switch is different on G6 is not usable during download as once you plug in DC/USB cable it turns off, and makes no diff and problem still exists exactly as you just described.
    thanks anyways "Selz Boy"
    it has been 17 days since apple promised to get back to me within 3-5 days hopefully with a solution, but I have still not heard from them.
    They blew me off, i guess, probably i will have to wait for new Yosemite OS update, which they pre-warned me could take as much as 6 months.
    I cannot believe apple released this new update with such major bug issues for camera downloads and that horrible "Photos" pgm which has all sorts of downgrades in features, usefulness and new bugs compared to iPhotos which I just finally got used to and was much better software.
    I am starting to lose faith in Apple and I am getting that Microsoft "FEEL" like I used to have when I was a PC user, which was why I originally switched to Apple  computers in first place.
    Oh well got my fingers crossed here.
    Thankfully the memory card reader solution  is working well, but cost me $45.

  • Command, Control, and Option keys no longer works with Citrix Receiver after upgrading to OSX 10.9.5

    At first my keyboard did not work with Citrix Receiver after upgrading to OSX 10.9.5 and I found the workaround by using "cmd + tab," however, once my keyboard work within Citrix, the "command, control, and option" keys no longer work.  Does anyone have a remedy for this?

    Keyboard no longer works with Citrix Receiver after upgrading to OSX 10.9.5

  • My Bluetooth device A2DP (life audio feed) no longer works after 5.1.1 upgrade

    My Bluetooth device A2DP (life audio feed) no longer works after 5.1.1 upgrade. But phone call is still working. Tried resetting phone and repairing device. Still not working. Any suggestion?

    You might get. Ore assistance in a different forum area. Maybe try Using pad. This is the forum for iPhoto for iOS.

Maybe you are looking for

  • Problem with ojdbc14.jar (oracle10g Rel. 2 driver) in updating a BLOB field

    Hello All, Our web application uses oracle10g Release 2 jdbc driver with websphere 5.1.1.4 and oracle 9i. When it tries to update a BLOB field in the database updation is successful but it is updating that field with a null value. So rest of our appl

  • Unable to import master-subdocuments from Word

    Hello all, importing a Word master document that is linked to subdocuments leads to an error message (4005) in RH8. It is possible, but not practicable to import the subdocuments one by one. Is this a known problem and is there a way to import linked

  • How to increase the size of window in virtual tool box

    Hi, I have install rhel5 in oracle virtual box... but the size of window in which rhel5 runs is small and it is not covering the entire area of virtual toolbox.... How can i increase the size of window to full size... Thanks and Regards...

  • Output services throwing UserException.

    Hi,                 I am getting a SOAP fault while calling the Adobe Livecycle Output service. Am I calling the service with wrong/invalid parameters.  In the same file I am calling FormServices with same credentials which works fine. Please help.  

  • HELP -Migration 10.4 to 10.6

    I currently have a Macbook 13 inch running 10.4. My new Macbook Pro 17 inch will be here in a few days. Will Migration work from 10.4 to 10.6? I do have an external HD I can clone my computer to. I have searched the archives but have not found much.