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.

Similar Messages

  • 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.

  • 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

  • My 'run with administrative privileges' script no longer works - help

    Hey all. I have an applescript that shuts down the computer that I made a while back. I pulled it out today to use it and it no longer works. Here's part of the code I'm having trouble with:
    do shell script ¬
    "sudo shutdown -h now" password "myadminpassword" with administrator privileges
    On old machines this worked great, I would just put the admin password where myadminpassword is and it would work perfectly. Now though, I run it on my machine and I get the prompt to enter my admin username and password before it will shutdown.
    Now this is going on a remote install so I need it to work. Any ideas? The machine is running snow leopard, but it seems to still work on an old leopard macbook pro.

    Well, for one, do not use sudo in do shell script.
    The whole 'with administrator privileges' part takes care of elevating your privileges. sudo has no place in do shell script.
    Don't know if that's your issue, but it's the first thing I'd fix.
    If that doesn't help, are you running the script as your admin user?
    Nowhere in your script are you defining the username to run the command as, therefore it will attempt to run as the current user who may not be the same as your admin user, nor have the same password. You might need to include the username:
    do shell script "shutdown -h now" user name "admin" password "myadminpassword" with administrator privileges

  • Script no longer works after Upgrade to 10.4.6

    The following script worked fine using 10.4 thru 10.4.5 but no longer works after upgrading to 10.4.6.
    When I highlight a folder and then run the script the highlighted folder is moved to a specific "Achive" folder, depending on whether the highlighted folder has a ".0" or ".1" or etc in its name.
    When I run the script using 10.4.6 I get an error indicating that the highlighted folder already exists in the destination.
    Anyone else having Applescript problems with 10.4.6?
    --Bob
    tell application "Finder"
    activate
    set fname to selection as string
    if fname contains "0." then
    move selection to folder "ARCHIVE" of folder "0JobsArchive" of folder "Archived_Files" of disk "Preflight_Only"
    else
    if fname contains "1." then
    move selection to folder "ARCHIVE" of folder "1JobsArchive" of folder "Archived_Files" of disk "Preflight_Only"
    else
    if fname contains "2." then
    move selection to folder "ARCHIVE" of folder "2JobsArchive" of folder "Archived_Files" of disk "Preflight_Only"
    else
    if fname contains "3." then
    move selection to folder "ARCHIVE" of folder "3JobsArchive" of folder "Archived_Files" of disk "Preflight_Only"
    else
    if fname contains "4." then
    move selection to folder "ARCHIVE" of folder "4JobsArchive" of folder "Archived_Files" of disk "Preflight_Only"
    else
    if fname contains "5." then
    move selection to folder "ARCHIVE" of folder "5JobsArchive" of folder "Archived_Files" of disk "Preflight_Only"
    else
    if fname contains "6." then
    move selection to folder "ARCHIVE" of folder "6JobsArchive" of folder "Archived_Files" of disk "Preflight_Only"
    else
    if fname contains "7." then
    move selection to folder "ARCHIVE" of folder "7JobsArchive" of folder "Archived_Files" of disk "Preflight_Only"
    else
    if fname contains "8." then
    move selection to folder "ARCHIVE" of folder "8JobsArchive" of folder "Archived_Files" of disk "Preflight_Only"
    else
    if fname contains "9." then
    move selection to folder "ARCHIVE" of folder "9JobsArchive" of folder "Archived_Files" of disk "Preflight_Only"
    end if
    end if
    end if
    end if
    end if
    end if
    end if
    end if
    end if
    end if
    end tell

    I, too, immediately started having problems with my scripts immediately after updating to OS 10.4.6. I put my scripts in "Library/Applications/..." so that the scripts associated with particular applications are available in the menu bar. I don't know if that has any bearing on the problem, but for me, it was not any particular script, but just about every one that started going funny.
    First, I noticed that my scripts would typically work right once, but fail in some odd manner the second time I tried to use one. The second thing I noticed was that the modification dates of my scripts were changing to the time that I last executed the scripts, even though I had not altered and recompiled any of them in weeks. Finally, I noticed that the scripts that were failing were ones in which I had used property statements to initialize some of my variables.
    What I think is happening is this: for some strange reason 10.4.6 is recompiling scripts every time they are run, and variables are being initialized, not to the values specified in property statements, but to whatever the variable was the last time the script ended.
    I discovered that I could prevent this from happening by (1) recompiling all my scripts to make sure all the property statements were back in effect, and then (2) setting the permissions of all my scripts to read only. This seems to prevent whatever in 10.4.6 is recompiling the scripts from doing this each time the script is run. At least, the modification dates are no longer changing inexplicably, and all my scripts are running reliably again.
    It's a bit of a pain to have to remember to reset script permissions to read/write whenever I want to make a change, and then change them back to read only before executing, but it seems to be a reliable workaround. I'd appreciate hearing if anyone else can replicate this phenomenon, or tell me if I'm on the right track.
    Jeff Johnson
    Dual 1.2 GHz   Mac OS X (10.4.6)  
    Dual 1.2 GHz    

  • Script no longer working with OS 10.5

    Since I have upgraded to 10.5 a few weeks ago the following script no longer is working properly. I had been using this script extensively over the last two without any problems. Now it seems to hang up when it gets to the
    "duplicate item i of photoList to "P&M2:CPA JPEG Archive Files:" with replacing"
    Sometimes it eventually copies the file but usually it times out because it takes so long. Have the commands or the way you refer to a server volume changed from 10.4 to 10.5. P&M2 is a server volume. As I said before this script worked fine with 10.4--it only took a matter of seconds to copy a file to my server. I realize that the problem could lie with my server connection but I don't think so.
    Any suggestions??? The script is attached below.
    Thanks.
    Pedro
    global photoList, theFolder, theDate, theSchool, theCats, theEvent, theKeywords, theID, theFileName
    on run
    tell application "Finder"
    set theFolder to ¬
    (choose folder with prompt "Where are my photos?")
    set photoList to (every file of the theFolder whose name ends with ".jpg")
    set cr2List to (every file of the theFolder whose name ends with ".cr2")
    set crwList to (every file of the theFolder whose name ends with ".crw")
    set nefList to (every file of the theFolder whose name ends with ".nef")
    set tifList to (every file of the theFolder whose name ends with ".tif")
    set xmpList to (every file of the theFolder whose name ends with ".xmp")
    set dngList to (every file of the theFolder whose name ends with ".dng")
    end tell
    archiveFiles(photoList)
    end run
    on open theFolder
    tell application "Finder"
    set the photoList to every file of (item 1 of theFolder whose name ends with ".jpg")
    set cr2List to (every file of the theFolder whose name ends with ".cr2")
    set crwList to (every file of the theFolder whose name ends with ".crw")
    set nefList to (every file of the theFolder whose name ends with ".nef")
    set tifList to (every file of the theFolder whose name ends with ".tif")
    set xmpList to (every file of the theFolder whose name ends with ".xmp")
    set dngList to (every file of the theFolder whose name ends with ".dng")
    end tell
    archiveFiles(photoList)
    end open
    to archiveFiles(thePhotos)
    try
    tell application "iMagine Photo"
    close every importer
    quit
    end tell
    on error
    end try
    set Archived to the (count of thePhotos) as integer
    repeat with i from 1 to count of photoList
    --return photoList
    set thisFile to item i of photoList as alias
    set theFileName to the name of item i of photoList
    with timeout of 3000 seconds
    tell application "Finder"
    duplicate item i of photoList to "Photo Server Data:Photo [Data]:CPA Photo Archive:Archive Files:CPA JPEG Archive Files:" with replacing
    try
    mount volume "afp://username:[email protected]/P&M2"
    on error theMsg
    display dialog theMsg
    return
    end try
    try
    duplicate item i of photoList to "P&M2:CPA JPEG Archive Files:" with replacing --SCRIPT HANGS UP HERE!
    on error
    mount volume "afp://username:[email protected]/P&M2"
    duplicate item i of photoList to "P&M2:CPA JPEG Archive Files:" with replacing
    end try
    try
    duplicate item i of photoList to "Photo Server Volumes:Photo [Archive]:CPA Photo Archive:CPA Photo Archive FILES:CPA JPEG Archive Files:" with replacing
    on error
    mount volume "afp://username:[email protected]/Photo [Archive]"
    duplicate item i of photoList to "Photo Server Volumes:Photo [Archive]:CPA Photo Archive:CPA Photo Archive FILES:CPA JPEG Archive Files:" with replacing
    end try
    end tell
    end timeout
    set importPhoto to name of item i of photoList
    set fileRef to "Photo Server Data:Photo [Data]:CPA Photo Archive:Archive Files:CPA JPEG Archive Files:" & importPhoto as alias
    set fileRef2 to "Photo Server Data:Photo [Data]:CPA Photo Archive:Archive Files:CPA JPEG Archive Files:"
    tell application "iMagine Photo"
    activate
    try
    set thisImporter to import graphic fileRef
    set exifInfo to the exif data of thisImporter
    close thisImporter
    exifInfo
    set fileInfo to the exif unicode of item 1 of exifInfo --something like that
    set thePhotog to the exif unicode of item 6 of exifInfo
    set myTID to AppleScript's text item delimiters
    set AppleScript's text item delimiters to ";"
    set schoolInfo to 1st text item of fileInfo
    set AppleScript's text item delimiters to ":" & space
    set theSchool to 2nd text item of schoolInfo --school of the file
    set AppleScript's text item delimiters to ";"
    set catInfo to 2nd text item of fileInfo
    set AppleScript's text item delimiters to ":" & space
    set theCats to 2nd text item of catInfo --catagories of file
    set AppleScript's text item delimiters to ";"
    set theEvent to 3rd text item of fileInfo
    set AppleScript's text item delimiters to ":" & space
    set theEvent to 2nd text item of theEvent
    set AppleScript's text item delimiters to ";"
    set theKeywords to 4th text item of fileInfo
    try
    set AppleScript's text item delimiters to ":" & space
    set theKeywords to 2nd text item of theKeywords
    on error
    set AppleScript's text item delimiters to ":"
    set theKeywords to 2nd text item of theKeywords
    end try
    set AppleScript's text item delimiters to ";"
    set theID to 5th text item of fileInfo
    try
    set AppleScript's text item delimiters to ":" & space
    set theID to 2nd text item of theID
    on error
    set AppleScript's text item delimiters to ":"
    set theID to 2nd text item of theID
    end try
    on error
    if thePhotog is "Sari Goodfriend" then
    set theKeywords to ""
    set theID to ""
    else
    tell application "Finder"
    activate
    display dialog "There appears to be a problem with the archiving information for file" & space & ¬
    theFileName --("OK", "cancel") default button "OK"
    return
    end tell
    end if
    end try
    set AppleScript's text item delimiters to myTID
    tell application "Expression Media"
    open file "Photo Server Data:Photo [Data]:5 PHOTO ARCHIVE:Expression Media catalogs:YU CPA Catalog.ivc"
    tell front catalog
    activate
    tell application "Finder"
    set theNameofFileRef to the name of fileRef
    end tell
    try
    import fileRef
    on error number theNumber
    set theErrNum to theNumber
    if the theErrNum is not -48 then
    display dialog "There appears to be a problem with file" & space & theNameofFileRef & "."
    return
    end if
    --display dialog theErrNum
    end try
    count media items
    set currentMediaItem to result
    set the people of media item currentMediaItem to theID
    set the headline of media item currentMediaItem to ""
    set thePhotographer to author of media item currentMediaItem
    set the keywords of media item currentMediaItem to theKeywords --& "," & space & addKeywords
    set the categories of media item currentMediaItem to theSchool & "," & space & theCats
    set the event of media item currentMediaItem to theEvent
    set the copyright of media item currentMediaItem to "Yeshiva University"
    set theDate to creation date of media item currentMediaItem
    set event date of media item currentMediaItem to theDate
    set the caption of media item currentMediaItem to "ID:" & space & theID & return & "School/Category:" & space & theSchool & "," & space & theCats & return & "Event:" & space & theEvent & return & "Keywords:" & space & theKeywords & return & "Date:" & space & theDate & return & "Photographer:" & space & thePhotographer as text
    end tell
    end tell
    end tell
    end repeat
    tell application "Expression Media"
    save front catalog
    end tell
    tell application "Finder"
    --open file "P&M2:YU CPA Server Catalog.ivc"
    repeat with i from 1 to count of photoList
    end repeat
    end tell
    tell application "Finder"
    duplicate (every file of theFolder whose name ends with ".xmp") to folder "Photo Server Volumes:Photo [Archive]:CPA Photo Archive:CPA Photo Archive FILES:CPA HiRes Archive FILES:" with replacing
    move (every file of theFolder whose name ends with ".xmp") to folder "Photo Server Data:Photo [Data]:CPA Photo Archive:Archive Files:CPA JPEG Archive Files:" with replacing
    duplicate (every file of theFolder whose name ends with ".CR2") to folder "Photo Server Volumes:Photo [Archive]:CPA Photo Archive:CPA Photo Archive FILES:CPA HiRes Archive FILES:" with replacing
    move (every file of theFolder whose name ends with ".CR2") to folder "Photo Server Data:Photo [Data]:CPA Photo Archive:Archive Files:CPA JPEG Archive Files:" with replacing
    duplicate (every file of theFolder whose name ends with ".dng") to folder "Photo Server Volumes:Photo [Archive]:CPA Photo Archive:CPA Photo Archive FILES:CPA HiRes Archive FILES:" with replacing
    move (every file of theFolder whose name ends with ".dng") to folder "Photo Server Data:Photo [Data]:CPA Photo Archive:Archive Files:CPA HiRes Archive FILES:" with replacing
    duplicate (every file of theFolder whose name ends with ".CRW") to folder "Photo Server Volumes:Photo [Archive]:CPA Photo Archive:CPA Photo Archive FILES:CPA HiRes Archive FILES:" with replacing
    move (every file of theFolder whose name ends with ".CRW") to folder "Photo Server Data:Photo [Data]:CPA Photo Archive:Archive Files:CPA HiRes Archive FILES:" with replacing
    duplicate (every file of theFolder whose name ends with ".NEF") to folder "Photo Server Volumes:Photo [Archive]:CPA Photo Archive:CPA Photo Archive FILES:CPA HiRes Archive FILES:" with replacing
    move (every file of theFolder whose name ends with ".NEF") to folder "Photo Server Data:Photo [Data]:CPA Photo Archive:Archive Files:CPA HiRes Archive FILES:" with replacing
    duplicate (every file of theFolder whose name ends with ".TIF") to folder "Photo Server Volumes:Photo [Archive]:CPA Photo Archive:CPA Photo Archive FILES:CPA HiRes Archive FILES:" with replacing
    move (every file of theFolder whose name ends with ".TIF") to folder "Photo Server Data:Photo [Data]:CPA Photo Archive:Archive Files:CPA HiRes Archive FILES:" with replacing
    end tell
    tell application "iMagine Photo"
    close every importer
    quit
    end tell
    beep 3
    activate "Finder"
    set dd to display dialog "The number of files cataloged was:" & space & Archived buttons ¬
    {"OK", "cancel"} default button ¬
    "OK" giving up after 10
    end archiveFiles

    It may be but I have not been able to figure it out.
    Thanks.
    Pedro

  • 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)

  • 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.

  • Nofocus script no longer works in firefox 5

    Does anyone know why the "nofocus" script is no longer working in Firefox 5?
    I got sick of Yahoo hijacking my cursor, so I did some looking and found a script (below), which is added to your user.js file. It worked just fine in FF4 and 4.1. When I updated to 5, however, it stopped. Any ideas?
    Here's the script:
    user_pref("capability.policy.policynames", "nofocus");
    user_pref("capability.policy.nofocus.sites", "http://www.yahoo.com/");
    user_pref("capability.policy.nofocus.HTMLInputElement.focus", "noAccess");

    Looks that CAPS are no longer supported for DOM Events like that.
    Maybe related to:
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=567755 Bug 567755] - Disabling javascript Date() function with CAPS doesn't work

  • Illustrator 2.0 scripts no longer work in 5.5

    I learned applescript to write this script in 2008, and have no memory of how I did it. Now we've upgraded, as Illustrator 2.0 is not supported by new macbooks, and the script doesn't work in 5.5 (my new version). If someone has any insight into how the syntax may have changed, I'd appreciate it.
    This script exports all the layers in a file as individual files:
    however, upon upgrade, it only exports a single file with all the document elements in it, i.e. it creates a copy.
    set targetFolder to choose folder with prompt "Location for exported files"
    set targetPath to (targetFolder as Unicode text)
    tell application "Adobe Illustrator"
        -- First deselect everything in the document
        set selection of current document to {}
        if (count page items of current document) > 0 then
            set layerCount to count layers in current document
            repeat with i from 1 to layerCount
                set layerRef to layer i of current document
                set selection of current document to {}
                if (count page items of layer i of current document) > 0 then
                    set selected of (every page item of current document ¬
                        whose container is layerRef) to true
                    set docName to name of layerRef
                    copy
                    make new document with properties {color space:CMYK, width:1296.0, height:432.0}
                    paste
                    save current document in file (targetPath & docName) ¬
                        without options
                    close current document
                end if
            end repeat
        end if
    end tell
    Thank you!

    http://community.norton.com/t5/Norton-Toolbar-Norton-Identity/Safe-Web-Lite-Toolbar-and-Firefox-12/td-p/711637
    ''Safe-web lite will not support FF 12, The reason is, we have released Norton Identity safe(free ware) product which has many additional features like Identity Safe, Web Protection & Share Via including safeweb features. This will support FF12
    Please see more information about Norton Identity Safe from this thread:
    http://community.norton.com/t5/Norton-Internet-Security-Norton/Welcome-to-the-Norton-Identity-Safe-General-Availability/m-p/703395/highlight/true#M201721
    If you have any questions, please post them at the separate forum for Norton Identity safe http://community.norton.com/t5/Norton-Toolbar-Norton-Identity/bd-p/Toolbar_IDSafe''
    http://community.norton.com/t5/Norton-Toolbar-Norton-Identity/Firefox-12-Support-for-Norton-Toolbar/td-p/706329

  • Script no longer working. Help please.

    I have the following script that worked just fine last year, but since upgrading the OS it no longer works as it should. First it only scales and save the first image file of a batch to the 'Photos' folder and does not scale and save any to the 'Thumbs' folder.
    Can anybody shed any light on this for me please.
    Here is the script as an image as I don't know how to add it otherwise.

    Ok twtwtw
    Here it is and thanks in advance.
    on adding folder items to this_folder after receiving these_items
              set Photos to (this_folder as text) & "Photos"
              set Thumbs to (this_folder as text) & "Thumbs"
              repeat with a_Item in these_items
                        tell application "Image Events"
                                  activate
                                  set theImage to open a_Item
                                  scale theImage to size 900
                                  save theImage as JPEG in file Photos
                                  scale theImage to size 240
                                  save theImage as JPEG in file Thumbs
                                  try
                                            close theImage
                                  on error
                                            delay 2
                                            close theImage
                                  end try
                        end tell
              end repeat
    end adding folder items to

  • Gmail no longer working via Mail in Mountain Lion

    Not sure what the problem is, but can only imagine ML is in some way involved.
    Gmail stopped working via mail (not immediately after upgrade to ML, but a few days later).
    First, kept asking for PW, which it decalred to be invalid. I tried restarting, to no avail. All was working fine via mail on iPad 2 and iPhone 4, plus no problem logging into web version of gmail.
    I decided to try deleting the whole gmail account on the MBP, closing mail, and restarting, but this has now resulted in me not being allowed to set up my gmail acocunt at all, since (via SysPref) I am told the gmail username/PW is invalid, so my MBP is now completely incapable of accessing any of the family of services from gmail (incl gCal etc.). But all remains aOK via iOS / gmail via web.
    Can anyone suggest a fix? I've looked around the various discussions and although some people say they are having need to try gamil tweaks now, with Mail, none of the solutions I saw seem to work for my case.
    I am using the correct gmail address (i.e. there's no conflice re @googlemail vs @gmail) - this seemed to have been a problem for some people, but not in this case.

    Troubleshooting sending and receiving email messages

  • Script doesn't work via Task Scheduler

    I've got the script below that works fine in an elevated PS window but when run as a sceduled task produces a last run result of 0x80070001 which I think is strangely something to do with Windows backup after some googling!
    $LimitDay = 21
    $limit = (Get-Date).AddDays(-$LimitDay)
    # Path to Recurse
    get-childitem -Path \\mainserver\backups\myfolder  -Force |where {$_.psiscontainer -and $_.lastwritetime -le $limit}|foreach { remove-item $_.fullname -recurse -force -confirm:$false }
    The task is set to run with the highest privileges and usin a domain user service account, I have tried to deleteand recreate the job as well.
    I'm trying to remove old backup folders based on their modified date and the contents, but not the contents when the modified date is valid e.g. server backups so config files date's never change but the folder to be deleted should still be recognised.

    Hi,
    in the Scheduler try to  call the script with the whole path like this:
    powershell.exe -noexit &'C:\DATA\Scripts\myscript.ps1'
    Regards
    I'd use -File instead (and drop -noexit).
    Action: Start a program
    Program/script: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    Add arguments: -File C:\Path\To\Script.ps1
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

Maybe you are looking for

  • External Hard disk has space problem for Time Machine

    Im not sure this is the right place to post this, but I've just got OSX.5 so Time Machine is new to me. I've got a 500Gb Firewire Lacie Drive which I now have, as far as I can see, about 110GB of stuff in. I have a bout 300Gb to back up. Currently my

  • I couldn'topen Firefox twice this week, so I had to delete it and downloadit again, twice, now it's doing it again.Why???

    Why can I not open my firefox, even though it's on my laptop. I double click on it, and it won't open, it worked fine this morning, but now it's not. I have had the trouble twice before. I have to uninstall it then download it again.

  • Hp pavillion dv9700 won't start with Ac adapter plugged in

    Dear all, I have a 3 year old hp pavillion dv9700. The problem is that the computer won't turn on when i remove the batteries and leave the Ac adapter plugged in. The led that indicates that the adapter is plugged in is on, so that means that the ada

  • SO10 move texts to another text ID

    Dear Friends, In T Code  SO10  Standard text I have maintained  texts in text ID ST. Is there a way to move these texts to a different text ID by Mass change etc... Please help. Rgds... Ravi

  • Export/import (user mode)

    can you help me please, 1- I exported the SCOTT schema (user mode): exp scott/tiger FILE=D:\scott.dat LOG=D:\scott_exp.log OWNER=SCOTT then I imported to new created before schema SCOTT_COPY: imp scott_copy/tiger FILE=D:\scott.dat LOG=D:\scott_imp.lo