Search found 12 matches
- Wed Oct 19, 2022 5:45 pm
- Forum: Mac OS
- Topic: Where to store an app's data file so it can be modified by all users
- Replies: 7
- Views: 5613
Re: Where to store an app's data file so it can be modified by all users
Thank you Richard for the sound advice. It's much appreciated.
- Wed Oct 19, 2022 5:25 pm
- Forum: Mac OS
- Topic: Where to store an app's data file so it can be modified by all users
- Replies: 7
- Views: 5613
Re: Where to store an app's data file so it can be modified by all users
Thank you. I'll put my file in
/Users/Shared/MyApp
and then i'll use to give the other users write access.
/Users/Shared/MyApp
and then i'll use
Code: Select all
shell "chmod o=wrx /Users/Shared/MyApp/Myfile"
- Wed Oct 19, 2022 5:12 pm
- Forum: Mac OS
- Topic: Where to store an app's data file so it can be modified by all users
- Replies: 7
- Views: 5613
Re: Where to store an app's data file so it can be modified by all users
Why not just use -> specialfolderpath("documents") (in a subfolder)? The average user does not want to mess with/in any Library folder! specialfolderpath("documents") yields a location writable only by the current user. I would like the data file to be stored where the app can modify the same file ...
- Wed Oct 19, 2022 4:46 pm
- Forum: Mac OS
- Topic: Where to store an app's data file so it can be modified by all users
- Replies: 7
- Views: 5613
Where to store an app's data file so it can be modified by all users
Dear forum,
After some searching I've found two locations where an app can store a data file so other users can modify it:
and
Which one of the two locations is the best place to use?
Thank you
After some searching I've found two locations where an app can store a data file so other users can modify it:
Code: Select all
/Users/Shared/YourApp
Code: Select all
/Library/Application Support/YourApp
Thank you
- Wed Oct 19, 2022 4:29 pm
- Forum: Mac OS
- Topic: Can LiveCode set file permissions?
- Replies: 3
- Views: 3829
Re: Can LiveCode set file permissions?
Thank you, Klaus and Richard.
I will use LiveCode's shell function.
I will use LiveCode's shell function.
- Wed Oct 19, 2022 11:48 am
- Forum: Mac OS
- Topic: Can LiveCode set file permissions?
- Replies: 3
- Views: 3829
Can LiveCode set file permissions?
Dear forum,
I need to give write access to a file, to all users of the Mac. I know this can be done using a shell command, but is there perhaps a built-in LiveCode function or command to do this?
Thank you
I need to give write access to a file, to all users of the Mac. I know this can be done using a shell command, but is there perhaps a built-in LiveCode function or command to do this?
Thank you
- Wed May 18, 2022 5:33 pm
- Forum: HTML5
- Topic: Curved text with Browserwidget
- Replies: 4
- Views: 6286
Re: Curved text with Browserwidget
Here's a modified version of the makeMask command to illustrate how you might do it: command makeMask pObj local tAData get the imageData of img "snapshot" -- 4 bytes, 0,r,g,b white = 255, black = 0 put the number of bytes in it into X repeat with i=1 to X step 4 if i > X then exit repeat put byte (...
- Wed May 18, 2022 5:13 pm
- Forum: HTML5
- Topic: Curved text with Browserwidget
- Replies: 4
- Views: 6286
Re: Curved text with Browserwidget
It works exactly like the maskData property except that each byte represents the pixel's transparency level, ranging between 0 and 255.williamdesmet wrote: ↑Wed May 18, 2022 4:31 pm@Gert: thanks for replying.
I will try to figure out how the alphaData property works.
- Wed May 18, 2022 12:22 pm
- Forum: HTML5
- Topic: Curved text with Browserwidget
- Replies: 4
- Views: 6286
Re: Curved text with Browserwidget
Hi William,
The data in the maskData property makes pixels either fully transparent or fully opaque.
If you want the transparency to blend in smoothly around the edges, you're going to have to manipulate the alphaData property instead of the maskData property.
Regards
Gert
The data in the maskData property makes pixels either fully transparent or fully opaque.
If you want the transparency to blend in smoothly around the edges, you're going to have to manipulate the alphaData property instead of the maskData property.
Regards
Gert
- Sat Oct 30, 2021 6:14 pm
- Forum: iOS Deployment
- Topic: Cannot drag controls onto a card [solved]
- Replies: 3
- Views: 2942
Re: Cannot drag controls onto a card [solved]
I figured it out. Thierry Douez's sample stack "SunnYBeep", was to blame. I found his 5-star rated sample stack in the Mac OS X section. After opening the sample stack, any new stack I create has its cantModify property set. I didn't suspect that a 5-star rated sample stack could be so cruel. :mrgre...
- Sat Oct 30, 2021 5:36 pm
- Forum: iOS Deployment
- Topic: Cannot drag controls onto a card [solved]
- Replies: 3
- Views: 2942
Re: Cannot drag controls onto a card
Thank you, Richard! That was indeed the problem. Somehow the cantModify property got set. Now my next quest is to find out how that happened...
- Sat Oct 30, 2021 2:20 pm
- Forum: iOS Deployment
- Topic: Cannot drag controls onto a card [solved]
- Replies: 3
- Views: 2942
Cannot drag controls onto a card [solved]
Dear forums, I've just installed LiveCode version is 9 .6 .4 on MacOS 10 .13 .6 (High Sierra). My XCode version is 10 .1. The iOS SDK location is correctly set in the preferences. I create a new default stack. I can't drag controls onto a card. I can't select controls that are already on a card. The...