AnsweredAssumed Answered

Exit script

Question asked by tays01s on Sep 15, 2016
Latest reply on Sep 21, 2016 by justinc

I've a 'Create Folder' script for Mac/PC. I'd like to exit it where folder already exit to avoid unnecessary dialogues. I've tried:

If(

not IsEmpty (

Get(DesktopPath)/Folder & "sub_folder_1/" and

Get(DesktopPath)/Folder & "sub_folder_2/"

)

Exit script[]

Else

CreateFolder lines

End if

 

But the script now fails to create folders even if they are missing. So I'm obviously missing something?!

Outcomes