Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
AppleScript interface to typograf.artlebedev.ru
on ProcessText(sentence)
tell application "http://typograf.artlebedev.ru/webservices/typograf.asmx"
return call soap {method name:"ProcessText", method namespace uri:"http://typograf.artlebedev.ru/webservices/", parameters:{|m:text|:sentence as string, |m:useP|:false as boolean, |m:useBr|:false as boolean, |m:entityType|:3 as integer}, SOAPAction:"http://typograf.artlebedev.ru/webservices/ProcessText"}
end tell
end ProcessText
set answer to ProcessText("миру - мир")
display dialog answer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment