Ok, so the error is in the run applescript action just like it says. You used 2 run applescript actions. The first for dropbox and the second for the mailing. Now you need to find out in which one of those the error occurs. Hint:
you can also do error checking in those 2 run applescript actions. Start with the first one. Do the same for the second one.
Going to take a little break now. It's ten to four in the morning over here. I'll look into the log command to see if it's usable for debugging.
you can also do error checking in those 2 run applescript actions. Start with the first one. Do the same for the second one.
Code:
on run {input, parameters}
try
set DBText to (the clipboard as text)
on error errMsg number errNum
display alert errMsg & space & errNum message ¬
"An error occured" as warning --giving up after 10
end try
try
set DBURL to "http://dl.dropbox.com/u/xxxxxxxxx/"
on error errMsg number errNum
display alert errMsg & space & errNum message ¬
"An error occured" as warning --giving up after 10
end try
try
set FName to text ((offset of "Public:" in DBText) + 7) thru -1 of DBText
on error errMsg number errNum
display alert errMsg & space & errNum message ¬
"An error occured" as warning --giving up after 10
end try
try
set input to DBURL & FName
on error errMsg number errNum
display alert errMsg & space & errNum message ¬
"An error occured" as warning --giving up after 10
end try
try
return input
on error errMsg number errNum
display alert errMsg & space & errNum message ¬
"An error occured" as warning --giving up after 10
end try
end run
Going to take a little break now. It's ten to four in the morning over here. I'll look into the log command to see if it's usable for debugging.