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)
Similar Messages
-
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
thanksI 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. -
Swipe no longer works in Firefox since upgrading to Lion.
I can no longer use the swipe gesture to move between pages on Firefox since upgrading to Lion. I have tried it on both the Magic trackpad and the magic mouse. Anyone else haviong this issue?
I, too, have that issue. I've seen posts by folks who have changed the swipe gesture in system preferences. But I can't get that to work. I like the swipe gesture so much that I am using Safari for now. Maybe a solution will be found in the future. I hope so as I really prefer FF.
-
Bluetooth calls no longer work in car since upgrading to ios 8
upgraded my 5S to iOS 8 on Sep 19 and now cannot make or receive calls in my car or my bluetooth headset. I have reset my phone, deleted bluetooth connection and repaired, updated my car's software and all to no avail. I'm sure Apple will blame my car (2014 bmw x6m) but my Plantronics bluetooth headset doesn't connect either. Please update ASAP, this is crazy and last straw I think. I hated but followed along when they changed the charging ports to lightning but I can't take this anymore. I live where its illegal to be on the phone in my car so I need this and I'm tired of my Android friends laughing at me and never mentioning these type of connection/compatibility issues.
Was in the Apple Stor this morning in Indianapolis and picked up a Bluetooth keyboard to use with my iPad mini 2. Sadly neither I nor staff could get it to work with voiceover working. The staff, both sales and tech, appeared as shocked as I was. I was surprised that over 6 months Apple had not fixed this issue. Now I am wasting my time trying to back up reports of this problem on Apple's website. I know Apple over the last 10 years had given a lot of us so many advancements, but maybe that's changing? All I know is that as a busy professional, Apple has cost me about 4 hours of lost productivity today. I wish I could charge them for it!
-
Anybody had an issues with mail since upgrading to mountain lion? Can't get emails from one account, tried deleting and recreating but to no avail. Set up a new user and it works fine. Macbook pro 13" mid 2010 model.
Anybody had an issues with mail since upgrading to mountain lion? Can't get emails from one account, tried deleting and recreating but to no avail. Set up a new user and it works fine. Macbook pro 13" mid 2010 model.
-
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,
RobSo 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 -
Not getting e mails since upgrade 0f fire fox -safari mail still works
every thing works except incoming e mails since upgrading to firefox 5 I still can get mail on safari that also connects to comcast
To deal with the repeat download, read this forum question/chosen answer.
https://support.mozilla.org/en-US/questions/1008724#answer-598431
Regarding the "not responding" mode.
Do you use mcAfee anti-virus software?
if yes, please read:
https://wiki.mozilla.org/Thunderbird:Testing:Antivirus_Related_Performance_Issues#McAfee -
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. -
OMG! No Services and Touch ID no longer working anymore after i upgraded my Iphone 6 from IOS 8.00 to 8.02 today!!!! Any Idea how to fix this?
Go to settings do a reset after that tou will need to enter you Router wireless key Then wait for iPhone to come on. This worked for me on iPhone & ipad. Bsydd uk
-
my headphone jack no longer works. I just upgraded software and did all the iCloud install. Any ideas?
It's not clear whether your printer is included in the Apple list - there is an Officejet 6100 and a couple of other types. Go to the page linked to above and use the browser search for 6100.
I'm afraid HP are notorious for not supporting older printers - I had the same problem. Probably they hope you will buy another printer (I did, but it was a Canon). I did look on HP's site and couldn't see a driver - you could give it a try (make sure you have the exactly correct printer name):
http://www8.hp.com/uk/en/support-search.html?tab=1#/qryterm=HP6100&search_search type=s-002
Alternatively ou could try Gutenprint (open source software):
http://gimp-print.sourceforge.net/MacOSX.php
I found it would indeed drive the printer, but the colour dithering wasn't very satisfactory and the duplex printing bolt-on wouldn't work. However as Gutenprint is free it's worth trying to see if it's any good for you. -
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. -
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 repeatWhat 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 -
IPhone won't send outgoing mail since upgrade to 5.0
iPhone won't send outgoing mail since upgrade to 5.0
I would manually go over each smtp setting and compare it with the mail providers guide
and if they were 100% the same then I would
get in touch with the phone company to verify if they were blocking the ports being
used by the mail service
there is no general issue with ios5 removing out going mail services or blocking ports -
My ebook reader no longer works now I have upgraded to Lion. I have reset the PRAM and tried booting in 32-bit mode, all with no joy. Come on Apple, it worked fine with Snow Leopard.
I see a lot of other people are having trouble with ebook readers, cameras, and other USB devices too.....antonfromnelson wrote:
...Come on Apple, it worked fine with Snow Leopard...
Sorry, you're not talking to Apple here only other users like yourself.
Someone might be able to help if you post which e-book reader you are using?
Regards,
Colin R.
Maybe you are looking for
-
Connect to Mac from Windows Vista issue
Hi I want to view some files that are on my Mac from my PC (Windows Vista). Here's what I did so far: On my Mac I enabled file sharing, I selected the folders that I want to share. Now here's the part that confuses me, it asks me to add the users to
-
Glitchy GUI in Bridge CS5.1 on Mac
I've been using bridge all day to browse photos and transfer to Photoshop for editing. I took a lunch break and when I got back a half hour later, nothing in Bridge's interface updates until I drag the Bridge window around. If I click on a folder to
-
Need info regarding light weight AP 1042 registration
hi , I ordered controller 2504 and will arive soon. I want to know that after configure the initial setup of 2504 (i.e. AP manager , Managment IPs etc) and defining the DHCP for AP. Will the 1042 lightweight AP will register with the controller autom
-
Canon 70D raw files Photoshop Elements 11
How can I view Canon 70D raw files in Photoshop Elements 11?
-
My G5 1.8 has frequent boot problems. Occasionally it starts fine, but mostly does one of the following: - chime, then startup hangs - chime, then logo and spinning wheel (keeps spinning) - no chime, just hangs - system starts, then hangs later & req