X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/643b97f8a7f3ba5b2b22fe2545a7b9ec20207d34..2d956b58023a4955313a1c1531bc70a0deb0b831:/docs/mac/M5xml2mcp.applescript diff --git a/docs/mac/M5xml2mcp.applescript b/docs/mac/M5xml2mcp.applescript index 9d993d6e74..d1eb0e3a1f 100644 --- a/docs/mac/M5xml2mcp.applescript +++ b/docs/mac/M5xml2mcp.applescript @@ -40,6 +40,8 @@ tell me to display dialog "Imported " & theXmlSuccessCount & " xml files out of on ImportProjects(inFolder) global theXmlCount, theXmlSuccessCount + tell application "Finder" to update inFolder + try tell application "Finder" to set theXml to ((the first file of inFolder whose name ends with gXmlSuffix) as string) on error @@ -78,7 +80,7 @@ on ImportProjects(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 ImportProjects(theFolder) end repeat