On 11/03/12 at 11:46 AM -0700, Vincent Polisi
<vin...@vincentpolisi.com> wrote:
>How do I do this since it will be different every time for each
>client?
I use AppleScript to pass values to a workflow and run it. I
vary the passed values depending on how I need to run the workflow.
property user_name : "http://www.maturematchmaker.com.au"
tell application "Fake"
open file "MacHD:Users:charlie:FakeTests:test.fakeworkflow"
tell document "test"
run workflow with variables {username:user_name}
end tell
end tell
Then in the workflow start with a Do Javascript action to set a
default value (if one is not passed in):
if(!window.fake.get("username")){
window.fake.set("username", 'testuser')
};
And in your Set Values action (or similar) just use the
`username` variable for the value:
Name: username
Value: ${username}
You can use the above to pass many different values; eg. client
name, email address, etc. You could have the AppleScript prompt
for those values before passing them to the workflow.
Charlie
--
Ꮚ Charlie Garrison ♊ <garr...@zeta.org.au>
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
〠 http://www.ietf.org/rfc/rfc1855.txt
On 12/03/12 at 5:40 PM -0400, Vincent Polisi
<vin...@vincentpolisi.com> wrote:
>Anyway, any dumbed down help to assist with properly copying
>and pasting would be greatly appreciated. I am at a standstill
>without this ability.
To me, doing all that via copy/paste is making it more
difficult. Using an Applescript to pass values to the workflow
means you don't have to worry about all those copy/paste issues.
Just copy the data you want, paste into the Applescript, repeat
for all values, then run the Applescript (which runs the
workflow with your copy/pasted values).
If you really want copy/paste within Fake then maybe someone
else can help; I don't know anything about it.
On 14/03/12 at 10:57 AM -0400, Vincent Polisi <vin...@vincentpolisi.com> wrote:
>What would be the easiest way to do that?
It was easiest for me; your needs may well differ so do it your way.