October 25, 201015 yr Hey guys, I have a problem with my script. What i want that the script does is that if there is no internet connection, the script must not go further to set the field to "ja". i have made this script but its not working good. Can someone help me? for a script when internet is available that the script need to stop but when there is internet to send email and set the field to "ja" Here the screenshot Edited October 25, 201015 yr by Guest
October 25, 201015 yr Try something like: ... Set Error Capture [ On ] Send Mail [ ... ] If [ Get(LastError) ] Show Custom Dialog [ "Send Mail failed." ] Else Set Field [ ... ; "ja" ] Show Custom Dialog [ "Send Mail was successful." ] End If ...
October 25, 201015 yr Author Thank you for you help. I tryed what you say but it doenst work if i turn my connection off it does continue to set the field. :
October 25, 201015 yr I cannot test this myself, but if there is no error returned after the Send Mail[] step, then there's not much you can do. Perhaps one of the mail plugins can do better.
October 25, 201015 yr Before you go there - are you SURE there is no error returned? As I said, I cannot test this, but I would be very surprised if the step didn't provide some feedback in case of no connection.
October 25, 201015 yr Author Well thank you for your help i did make a backup of the script but it was using the old script so the new one had no effect my mistake its works now thank you very much for you help :
Create an account or sign in to comment