X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/643b97f8a7f3ba5b2b22fe2545a7b9ec20207d34..9d6a9fdd13ab25f0ac7c54a3ec8098f8b5c1d118:/docs/mac/M5mcp2xml.applescript diff --git a/docs/mac/M5mcp2xml.applescript b/docs/mac/M5mcp2xml.applescript index 6902cfb383..9a7179c4f5 100644 --- a/docs/mac/M5mcp2xml.applescript +++ b/docs/mac/M5mcp2xml.applescript @@ -40,6 +40,8 @@ tell me to display dialog "Exported " & theProjectSuccessCount & " projects out on ExportProjects(inFolder) global theProjectCount, theProjectSuccessCount + tell application "Finder" to update inFolder + try tell application "Finder" to set theProject to ((the first file of inFolder whose name ends with gProjectSuffix) as string) on error @@ -82,7 +84,7 @@ on ExportProjects(inFolder) end tell end if - tell application "Finder" to set theSubFolders to every folder of inFolder + tell application "Finder" to set theSubFolders to every folder of inFolder whose name does not end with " Data" repeat with theFolder in theSubFolders ExportProjects(theFolder) end repeat