So now the only thing I have to ask is just how to unzip a zip file. I have 3 folders to unzip in the Documents folder. I only need to unzip it into a "Contents" folder inside the documents folder and that's all already. Any help?
Is it confusing? haha. Meaning I have in the documents folder "Content.zip" and a folder named "Contents" where I want to put three of my folders inside the zip file into the folder "Contents"
Oh it's in another card and the Content zip file is already in my documents folder alr. put (specialFolderPath("engine") & "/Content.zip") into filePath put url ("binfile:" & filePath) into destFilePath put destFilePath into url ("binfile:"& (specialFolderPath("Documents") & "/Content.zip"))
put specialFolderPath("documents") & "/Content.zip" into TempFile put specialFolderPath("documents") & "/Contents" into TargetFile Is that correct? the TargetFile is in the documents' folder "Contents" folder and the folder name that I want to unzip is in the documents folder of zip file "Content.z...
on mouseUp if the environment = "development" then touchEnd 1 send unZip to me in 0 milliseconds end mouseUp command unZip put specialFolderPath("documents") & "/Content.zip" into TempFile put specialFolderPath("documents") & "/Contents" into TargetFile revZipOpenArchive TempFile, "read" answer ...
Oh ya and there are three folders in my Content.zip now already named "JS", "Images" and "Style" only. Is it possible to extract all three of them at once into the names they should be to the documents folder from the engine folder? ##Edit : Tried answering them one by one on top, only tList isn't a...
Yes I downloaded the file you used and substituted the codes I needed to unzip the folders into the documents folder. It still doesn't work. on mouseUp if the environment = "development" then touchEnd 1 send unZip to me in 0 milliseconds end mouseUp command unZip put specialFolderPath("docume...
html files are not binary files, so just "file:" Images are "binfiles:" also put the files into tLotsOfFiles repeat with x = 1 to the number of lines in tLotsOfFiles put line x of tLotsOfFiles into tFileName Now can you see how to use tFileName to copy the files? Simon Not sure about your codes her...
repeat with n = 1 to 11 put (specialFolderPath("engine") & "/Content/p"&n&".html") into filePath put url ("binfile:" & filePath) into destFilePath put destFilePath into url ("binfile:"& (specialFolderPath("Documents") & "/Contents/p"&n&".html")) end repeat this is my code for the files...