What would it take for me to have a script that can check if project ID matches specific and if it does to add a carbon copy, (that part I can probably figure out easily) I mostly need help with the logistics of the script comparing the clipboard.
So my list is a whole bunch of "territory" codes that look like this. I input it in the sender's list and basically grabs me the correct contact and pastes clipboard as subject.
Code: Select all
::..nc02::Eric Pasta; {tab} {tab}^v {tab} {return}Hello Eric, {Return}
::..ne01::Jon Whiskers; Evan Traffic light; {tab} {tab}^v {tab} {return}Hello, Jon, Evan {Return}
::..nj01::Paul Rastajama; {tab} {tab}^v {tab} {return}Hello Paul, {Return}
Clipboard changes but it look something like this, and it always follows the same pattern:
Code: Select all
CA09 - 54199 - Regular business brand name - Center of things - 2099 Dickenson drive
I think we can focus on the first part to make this script work. And I have a list like this:
Code: Select all
NC02 68911 OVEL STUFF Eric Paper
NC02 79278 OVEL THANGS Eric Paper
I have a faint idea of how this would work, but knowing me, I'd probably get the syntax very wrong, so it really helps when people write the correct syntax and explain the basic process.
Thanks. Do hit me up if this isn't easily understandable.