it is definitely set to applescript.kw123 wrote:this is not an error message from fingscan but the script you are using to detect a new ip number.
could you post THAT script. it looks like you might have selected py instead of applescript in YOUR trigger.
to test if the your script compiles, go into your trigger and in action click on compile.
Karl
when i hit compile, i see this error:
Dec 10, 2013, 5:10:19 PM
Error script error: around characters 181 to 182
Error script error: Expected expression but found unknown token. (-2741)
here's the script. only thing i changed was my email address (not in copy below).
Code: Select all
tell application "IndigoServer"
set xxx to (get value of variable "ipDevsNewIPNumber") as text
end tell
— now do something with it:
say xxx
— or send email
property emailAddress : “[email protected]”
property emailSubject : “New IP Number”
property newline : ASCII character (10)
set eb to “”
set eB to eB & ", new ip number for device: xxx & newline
set eB to eB & ", just for information”
tell application "IndigoServer"
set emailBody to eB
send email to emailAddress with subject emailSubject with body emailBody
end tell
return
end