You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Local filename:String= RequestFile("Save graphic output", Null, True) 'No file extensions here, we add them later manually otherwise exported file name is messed up
98
100
If CheckValidExportFileName(filename) Then
101
+
Local saveSuccess:Int=True
99
102
ForLocal row:Int=0To3
100
103
Local rowName:String'Name the rows - by default: ArmFG, ArmBG, LegFG, LegBG in this order
101
104
Select row
@@ -116,7 +119,6 @@ Type FileIO
116
119
leadingZeros ="0"
117
120
EndIf
118
121
119
-
Local saveSuccess:Int=True
120
122
If m_SaveAsIndexed Then
121
123
Select m_IndexedFileType
122
124
Case"png"
@@ -131,11 +133,14 @@ Type FileIO
131
133
EndIf
132
134
133
135
IfNot saveSuccess Then
134
-
Notify("Failed to save file: "+ fullFilename +"~nFurther saving aborted!")
136
+
Notify("Failed to save file: "+ fullFilename +"~nFurther saving aborted!", True)
135
137
ReturnTrue
136
138
EndIf
137
139
Next
138
140
Next
141
+
If saveSuccess Then
142
+
Notify("Files saved successfully!")
143
+
EndIf
139
144
EndIf
140
145
ReturnTrue'Return something to indicate function finished so workspace can be reverted
0 commit comments