Search found 50 matches
- Thu Jan 31, 2019 7:59 pm
- Forum: Talking LiveCode
- Topic: Ask dialog for Standalone
- Replies: 4
- Views: 3094
Re: Ask dialog for Standalone
Just experimenting. Had a hunch that maybe LC wasn't finding my ask command in my code. My app has many stacks; the ask command is not used in very man of them. So in the preOpenStack script of my my main stack, I included put "111" into noticeAskMe if noticeAskMe = "888" then ask "Could you please ...
- Thu Jan 31, 2019 7:48 pm
- Forum: Talking LiveCode
- Topic: Ask dialog for Standalone
- Replies: 4
- Views: 3094
Re: Ask dialog for Standalone
Thanks Craig.
Any ideas as to what inclusions are being auto-added by LiveCode that make by graphics "work"? I need to fix one of these two problems.
Any ideas as to what inclusions are being auto-added by LiveCode that make by graphics "work"? I need to fix one of these two problems.
- Thu Jan 31, 2019 6:53 pm
- Forum: Talking LiveCode
- Topic: Ask dialog for Standalone
- Replies: 4
- Views: 3094
Ask dialog for Standalone
Several of my apps - build with LC7 - malfunctioned when Apple Mojave came out. The issue pertained to graphics. They became black rectangles the size of the graphic itself. It was easily fixed by rebuilding in LC 9.0.1. A different issue arose in the process. The ask dialog does not work and no err...
- Wed Sep 26, 2018 6:58 am
- Forum: iOS Deployment
- Topic: App is Crashing when Opening/Closing Stacks
- Replies: 1
- Views: 2270
App is Crashing when Opening/Closing Stacks
I updated an app for iOS 12 using LC 9.0.1. I made very few changes to the app. It works great in the IDE. There's several stacks in the build. Whenever I open a stack on a device, the app crashes. My code reads something like this go to card "target" of stack ("targetStack.livecode") set the destro...
- Sat Aug 18, 2018 4:08 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: specialFolderPaths
- Replies: 20
- Views: 10424
Re: specialFolderPaths
Thanks for testing this Brian. I'm in the process or re-writting all storage/retrieval scripts to use text files instead of stacks. When done, I may turn back and look at this issue some more to see if I can find the problem. That would be two days from now.
- Fri Aug 17, 2018 7:30 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: specialFolderPaths
- Replies: 20
- Views: 10424
Re: specialFolderPaths
Later this evening I should be able to build a test. For what it is worth, I'm using LC9.0.0. I've used this same method (copying an app listed in the Stacks pane and storing data in them) in apps from a couple of years ago - except I copied to specialFolderPath("documents") and I created the apps ...
- Fri Aug 17, 2018 6:55 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: specialFolderPaths
- Replies: 20
- Views: 10424
Re: specialFolderPaths
How does the main stack/app open the file that you copy? How does it save the data stack once it is updated? You may want to consider changing the defaultfolder. The script that contains the revCopy command to duplicate the stack into the "support" folder also creates three .txt files in the suppor...
- Fri Aug 17, 2018 6:52 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: specialFolderPaths
- Replies: 20
- Views: 10424
Re: specialFolderPaths
I have a theory: the dataStorage.livecode stack that I am trying to copy to the specialFolderPath("support") location is listed in my Standalone Applications Settings in the Copy Files pane. I do not list it in the Stacks pane. I noticed that a few of the stacks in my build (not all) that are listed...
- Fri Aug 17, 2018 5:53 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: specialFolderPaths
- Replies: 20
- Views: 10424
Re: specialFolderPaths
I'll go on a witch hunt later this afternoon when I get some time to see if I can find any scripts I'm not aware of. I think I have done this before but I'll hunt again.
- Fri Aug 17, 2018 4:58 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: specialFolderPaths
- Replies: 20
- Views: 10424
Re: specialFolderPaths
The dataStorage stack is included in the bundle and I can see it inside the Resources folder. When I use the revCopy command, the engine makes two copies of dataStorage.livecode - one inside the Applications folder but outside of the Resources folder and the other in the Application Support folder i...
- Fri Aug 17, 2018 4:00 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: specialFolderPaths
- Replies: 20
- Views: 10424
Re: specialFolderPaths
So can I infer from what you are saying: If I want to test the functionality of my app, I would need to side-load it onto another Apple computer that is not associated with my Apple ID. Then that copy in the Applications folder would not exist and the app would store in the copy and not the source. ...
- Thu Aug 16, 2018 6:37 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: specialFolderPaths
- Replies: 20
- Views: 10424
Re: specialFolderPaths
Could the fact that my app is not yet signed and packaged make a difference here? I am simple dropping the build made from LiveCode into the Applications folder and then creating a folder for my files inside of the Applications Support folder. I'm noticing in the Application Support folder that ther...
- Thu Aug 16, 2018 4:55 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: specialFolderPaths
- Replies: 20
- Views: 10424
Re: specialFolderPaths
I was able to attach my revCopyFile command to a button on card 1 of the stack. No change in the results. There's still two stacks copied to two different locations. What is odd is that I am also writing three .txt files to Users/myUserName/Library/Application Support/myFolderName … which I referenc...
- Thu Aug 16, 2018 4:03 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: specialFolderPaths
- Replies: 20
- Views: 10424
Re: specialFolderPaths
I tried your suggestion. The result was empty. I did notice in the Dictionary that in stand-alones, the revCopyFile code is not loaded until after the preOpenStack messages are sent. "Note: In a standalone application the Common library is implemented as a hidden group and made available when the gr...
- Thu Aug 16, 2018 5:00 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: specialFolderPaths
- Replies: 20
- Views: 10424
specialFolderPaths
I'm having trouble with data storage and retrieval in my app. I make the stand-alone and put the build into the Applications folder. When it opens, i make a variable called storagePath and I put specialFolderPath("support") & "/" & "myFolderName" into it. I then look for a stack called "dataStack.li...