Todd;
Thank you, that worked like a charm!
Cheers Adrienne
-- Show me a cultural relativist at 30,000 feet and I will show you a hypocrite. If you are on your way to a congress of anthropologists, the reason you will likely get there and not plow into a field is that a lot of Western trained engineers have got their sums right. (Richard Dawkins — The Extended Phenotype)
This email brought to you by: - -
On 11 May 2011, at 14:09 , Todd Fernandez wrote: Adrienne,
I wasn't able to achieve exactly what you're looking for using the built-in variables because I can't seem to insert whitespace between the variables, but this workflow:
<Screen shot 2011-05-11 at 2.05.06 PM.png>
generates this mail message:
<Screen shot 2011-05-11 at 2.05.29 PM.png>
which is pretty much what you want. Here's the AppleScript code so you can copy and paste it into the Run AppleScript action.
set theDate to current date set theDay to the day of theDate set theMonth to the month of theDate set theWeekday to text 1 thru 3 of (the weekday of theDate as text) set theTime to time string of theDate
set input to {theWeekday & " " & theDay & " " & theMonth & " " & theTime} as text
You'll need to create a new variable in the Set Value of Variable action and then drag it into the New Mail Message action to access its value when the workflow runs.
Todd On May 11, 2011, at 1:02 PM, Adrienne Davis wrote: Hey all;
I'm trying to create a workflow that will send out an email that automatically puts in the date and time:
what I want it to read like is:
I have returned. Wed 11 May 12:58
What I get is:
I have returned.
Wednesday May/11/11
The workflow calls three variables current weekday, current date and current time. I want to get everything on one line but I can't figure out how to do that. Any ideas? I'm probably missing something simple.
Any ideas what I'm doing wrong?
Thanks in advance.
Cheers Aj
******************************************************************************************************
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|