Search found 46 matches

by TKYTKY
Thu Dec 05, 2013 8:50 am
Forum: iOS Deployment
Topic: Problem with updating HTML files in LiveCode
Replies: 58
Views: 26447

Re: Problem with updating HTML files in LiveCode

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? :)

Thanks

Jeremy
by TKYTKY
Thu Dec 05, 2013 8:36 am
Forum: iOS Deployment
Topic: Problem with updating HTML files in LiveCode
Replies: 58
Views: 26447

Re: Problem with updating HTML files in LiveCode

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"
by TKYTKY
Thu Dec 05, 2013 8:32 am
Forum: iOS Deployment
Topic: Problem with updating HTML files in LiveCode
Replies: 58
Views: 26447

Re: Problem with updating HTML files in LiveCode

Haha nope. The zip file is named "Content.zip" and the folder is Contents. Because Content.zip is being "copy files" into already individually.
by TKYTKY
Thu Dec 05, 2013 8:27 am
Forum: iOS Deployment
Topic: Problem with updating HTML files in LiveCode
Replies: 58
Views: 26447

Re: Problem with updating HTML files in LiveCode

It's from the same card the button is at and it's at the opencard of it.
by TKYTKY
Thu Dec 05, 2013 8:26 am
Forum: iOS Deployment
Topic: Problem with updating HTML files in LiveCode
Replies: 58
Views: 26447

Re: Problem with updating HTML files in LiveCode

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")) 
by TKYTKY
Thu Dec 05, 2013 8:23 am
Forum: iOS Deployment
Topic: Problem with updating HTML files in LiveCode
Replies: 58
Views: 26447

Re: Problem with updating HTML files in LiveCode

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...
by TKYTKY
Thu Dec 05, 2013 8:17 am
Forum: iOS Deployment
Topic: Problem with updating HTML files in LiveCode
Replies: 58
Views: 26447

Re: Problem with updating HTML files in LiveCode

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 ...
by TKYTKY
Thu Dec 05, 2013 8:03 am
Forum: iOS Deployment
Topic: Problem with updating HTML files in LiveCode
Replies: 58
Views: 26447

Re: Problem with updating HTML files in LiveCode

I tried "answer the result" and "answer result" and "result" but it doesn't work

I used the dictionary to find "result" but don't get what it does and except check for errors but it doesn't tell me what errors there are too.
by TKYTKY
Thu Dec 05, 2013 7:36 am
Forum: iOS Deployment
Topic: Problem with updating HTML files in LiveCode
Replies: 58
Views: 26447

Re: Problem with updating HTML files in LiveCode

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...
by TKYTKY
Thu Dec 05, 2013 7:18 am
Forum: iOS Deployment
Topic: Problem with updating HTML files in LiveCode
Replies: 58
Views: 26447

Re: Problem with updating HTML files in LiveCode

Just edited it again.

And does the code "send unzip to me in 0 milliseconds" actually does the command "unZip"? :O

## Edit: As seen, I have 4 "answer it". But I only got 2 answers which are blank.

Thanks

Jeremy
by TKYTKY
Thu Dec 05, 2013 7:06 am
Forum: iOS Deployment
Topic: Problem with updating HTML files in LiveCode
Replies: 58
Views: 26447

Re: Problem with updating HTML files in LiveCode

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...
by TKYTKY
Thu Dec 05, 2013 6:24 am
Forum: iOS Deployment
Topic: Problem with updating HTML files in LiveCode
Replies: 58
Views: 26447

Re: Problem with updating HTML files in LiveCode

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...
by TKYTKY
Thu Dec 05, 2013 6:12 am
Forum: iOS Deployment
Topic: Problem with updating HTML files in LiveCode
Replies: 58
Views: 26447

Re: Problem with updating HTML files in LiveCode

I guess, I'll do it with the zip portion. Should be able to work fine for me. (: I will try it now. Thanks to all of you, Klaus, Simon and Gerry! :)

Jeremy
by TKYTKY
Thu Dec 05, 2013 5:33 am
Forum: iOS Deployment
Topic: Problem with updating HTML files in LiveCode
Replies: 58
Views: 26447

Re: Problem with updating HTML files in LiveCode

Because in the engine folder the folder is named "Content" and in the Documents folder it's named as "Contents"
by TKYTKY
Thu Dec 05, 2013 5:04 am
Forum: iOS Deployment
Topic: Problem with updating HTML files in LiveCode
Replies: 58
Views: 26447

Re: Problem with updating HTML files in LiveCode

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...

Go to advanced search