Mobile write to text file woes

2018-09-22 Thread FlexibleLearning.com via use-livecode
I have a little app It works and makes me smile It reads text data in a snap But won't write with "Can't open file" The path is set the same for both The file is in the bundle So why can't I write to the file it reads? Mutter, mumble, grumble, grumble... Hugh Senior

Re: Mobile write to text file woes

2018-09-22 Thread Paul Dupuis via use-livecode
On the pretense of increased security, more and more OSes are incorporating various levels of Sandboxing. Eventually it seems, you will only be able to write to the users Documents folder and no where else. I'd don't know what OS and version you are on, but I am not surprised you can not write,

Re: Mobile write to text file woes

2018-09-22 Thread AndyP via use-livecode
Hi Hugh, Have a look at this lesson I'm sure it will help If the location is right then the file you can write http://lessons.livecode.com/m/4069/l/14301-how-do-i-read-write-to-files-on-mobile - Andy

Re: Mobile write to text file woes

2018-09-22 Thread Brian Milby via use-livecode
To be more clear, “engine” and “resources” paths are read only on iOS. When starting an app, you need to copy any resources you need to change to the “documents”, “cache”, “temporary”, or “library” specialFolderPath depending on how you want the file to last. Thanks, Brian On Sep 22, 2018,

Re: Mobile write to text file woes

2018-09-22 Thread J. Landman Gay via use-livecode
On 9/22/18 6:39 AM, FlexibleLearning.com via use-livecode wrote: I have a little app It works and makes me smile It reads text data in a snap But won't write with "Can't open file" The path is set the same for both The file is in the bundle So why can't I write to the file it reads? Mutter,

Re: Mobile write to text file woes

2018-09-22 Thread AndyP via use-livecode
Jacqueline, love the prose, put a smile on my face before bed. - Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode Script editor Themer for LC http://2108.co.uk PointandSee is a FREE simple

mousemove doesn't recognize "shiftkey is down", but only under Windows

2018-09-22 Thread Howard Bornstein via use-livecode
This is exceedingly weird. I can't get a mousemove handler to recognize if the shiftkey is down (although I think this is true for all key modifiers—Shiftkey down and OptionKey down for sure). The only way it detects this state is if I click the mouse button while holding the shiftkey down. Then

Re: Mobile write to text file woes

2018-09-22 Thread scott--- via use-livecode
sweet! > On Sep 22, 2018, at 2:10 PM, J. Landman Gay via use-livecode > wrote: > > On 9/22/18 6:39 AM, FlexibleLearning.com via use-livecode wrote: >> I have a little app >> It works and makes me smile >> It reads text data in a snap >> But won't write with "Can't open file" >> The path is set

saving file on android to use as email attachment

2018-09-22 Thread scott--- via use-livecode
I have an app that creates a pdf, then opens the client’s mail app and attaches the pdf to an email. This works fine with iOS and used to work fine on android. However I now have customers reporting problems on android. These problems appear to be connected to where the pdf file is saved. I

RE: saving file on android to use as email attachment

2018-09-22 Thread Ralph DiMola via use-livecode
If there is no immediate clean solution offered on the list then my first instinct is to use the SD card. This assumes that everyone has "external storage". Most do. So the edge case would be...if you can't write to external storage then ask for the preference. No prose from me. JLG, made me

Script-only-stack file issue 9.0.1

2018-09-22 Thread Mike Kerner via use-livecode
Is anyone having issues with creating and assigning SOS's as behaviors in 9.0.1? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is

Re: Script-only-stack file issue 9.0.1

2018-09-22 Thread Mike Kerner via use-livecode
NM. This is related to having double-quotes in a foldername. On Sat, Sep 22, 2018 at 3:47 PM Mike Kerner wrote: > Is anyone having issues with creating and assigning SOS's as behaviors in > 9.0.1? > > -- > On the first day, God created the heavens and the Earth > On the second day, God created