X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/643b97f8a7f3ba5b2b22fe2545a7b9ec20207d34..6ba5438dda164146bf36ca729f8328332fae36b7:/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