AnsweredAssumed Answered

Close Script

Question asked by disabled_rosalie on Feb 10, 2015
Latest reply on Feb 11, 2015 by disabled_jackrodgers

Hi Everyone,

 

I know this is easy, but I cant make it work. Please pardon my newbieness.

Can you help me with my script below in closing my file.

my problem is if I click cancel my file is closing.

 

Show Custom Dialog [Logout" ; Close the application or relogin as a different user?"]

If [Get (LastMessageChoice) = 2]

Re-login[]

Perform Script ["Startup"]

Exit Script[]

Else If [Get (lastMessageChoice) = 3]

Exit Script []

Else

Close File [Current File]

End If

 

Thank you.

Outcomes