Monday, November 20, 2017

#1 2011-05-10 06:27:38 am

mcquiff
Member
Registered: 2011-02-24
Posts: 185

Checkbox, for email recipients and link content

The Workflow

Each week I need to send 10 emails to 10 different people with almost identical details inside except the week number and sometimes not all emails need to be sent. (only 9 out of 10)

I have been trying in xcode and applescript to do the following

Prompt on screen
Input a text field "Week Number"

Then 10 checkboxes, Labeled A, B, C to J

Then a send button

On Selecting and sending I need it to run an applescript to create a windows network link.

If A is ticked the email it needs to create needs to be send to A@me.com
Recipent= A@me.com
Subject line, Your images for this week
Content = The link enclosed needs to look like this

file:///\\uranus\dckgen\Brands\Zoom\Brand - Zoom\Upload Photos\2011\week

directly after the week the data collected from earlier weekNumber goes here,

then \A_WKX_LR

Where A = checkbox A. and X = weekNumber

After it would then send the email with this link (ideally clickable) with maybe click here covering the messy link.

After then it would move on to B
If B is ticked the email it needs to create needs to be send to B@me.com
Recipent= B@me.com
Subject line, Image Link
Content = The link enclosed needs to look like this

file:///\\uranus\dckgen\Brands\Zoom\Brand - Zoom\Upload Photos\2011\week

directly after the week the data collected from earlier weekNumber goes here,

then \B_WKX_LR

Where B = checkbox B. and X = weekNumber.

Model: imac 27"
AppleScript: 2.1.2
Browser: Safari 533.20.27
Operating System: Mac OS X (10.6)


Filed under: , applescript, xcode, Mail.app

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)