Search found 78 matches
- Fri May 29, 2020 9:36 am
- Forum: Mac OS
- Topic: macOS error when running AppleScript in a stack on a server
- Replies: 7
- Views: 5637
Re: macOS error when running AppleScript in a stack on a server
Yes, I added the entitlements file and signed my app with it. I also checked if the entitlements were in the app with this command and they were: codesign -d --entitlements :- /Applications/MyApp.app Executable=/Applications/MyApp.app/Contents/MacOS/MyApp <?xml version="1.0" encoding="UTF-8"?> <!DOC...
- Tue May 19, 2020 4:19 pm
- Forum: Mac OS
- Topic: macOS error when running AppleScript in a stack on a server
- Replies: 7
- Views: 5637
Re: macOS error when running AppleScript in a stack on a server
Thanks for the suggestion Craig, I may do that eventually!
- Mon May 11, 2020 8:05 am
- Forum: Mac OS
- Topic: macOS error when running AppleScript in a stack on a server
- Replies: 7
- Views: 5637
Re: macOS error when running AppleScript in a stack on a server
OK, some more in this talking-to-myself topic. Looks like I might need an Entitlements file with com.apple.security.automation.apple-events set to true. Will explore that route further. Not sure how to do that easily in LiveCode. Read something about Levure, but it seems a lot of overkill. Will expl...
- Sun May 10, 2020 12:40 pm
- Forum: Mac OS
- Topic: macOS error when running AppleScript in a stack on a server
- Replies: 7
- Views: 5637
Re: macOS error when running AppleScript in a stack on a server
After disabling System Integrity Protection, the problem is gone... But I don't really want to tell people: "Hey, if you want to use this tool, please disable System Integrity Protection"...
- Sun May 10, 2020 12:08 pm
- Forum: Mac OS
- Topic: macOS error when running AppleScript in a stack on a server
- Replies: 7
- Views: 5637
Re: macOS error when running AppleScript in a stack on a server
Still trying to get to the bottom of this. I'm now using a standalone application and no longer using a launcher application and a livecode file on a server. I've signed the app, but my AppleScript which is sending System Events does not work. Console shows me this: "Since sending application [sess=...
- Fri May 08, 2020 5:09 pm
- Forum: Mac OS
- Topic: macOS error when running AppleScript in a stack on a server
- Replies: 7
- Views: 5637
macOS error when running AppleScript in a stack on a server
I'm working on a small project for myself and a few other people. I'm using a launcher stack saved as a standalone. This launcher opens a Livecode stack which resides on a server. The stack loads and runs fine. However, the stack tries to run a small Applescript at some point and some people, mostly...
- Thu Apr 16, 2020 12:48 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Is it possible to encrypt some data in the Community Edition?
- Replies: 6
- Views: 3303
Re: Is it possible to encrypt some data in the Community Edition?
Thanks Richard, that's very useful!
- Wed Apr 15, 2020 9:02 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Is it possible to encrypt some data in the Community Edition?
- Replies: 6
- Views: 3303
Re: Is it possible to encrypt some data in the Community Edition?
My script is making a curl call to a website using the shell command. The API key is in the curl call and I don’t want people to see my API key.
- Wed Apr 15, 2020 5:55 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Is it possible to encrypt some data in the Community Edition?
- Replies: 6
- Views: 3303
Is it possible to encrypt some data in the Community Edition?
I’m working on a small project for a very limited audience. I’m using the Community Edition and it’s absolutely fine that they can see my code. But I’m also using an API key stored in a field that I’m using for a call and I’d like to keep that key private. Is that possible at all in the Community Ed...
- Sun Apr 05, 2020 6:34 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Isn't it possible to set Cmd-Shift-1 as keyboard shortcut for a menu item?
- Replies: 3
- Views: 2183
Re: Isn't it possible to set Cmd-Shift-1 as keyboard shortcut for a menu item?
Thanks Klaus and Richmond! This 'thing' about CMD-SHIFT-1 has already been mentioned elsewhere by the same OP. Uhh, did I really talk about this before? May be I did, my memory fails me (wouldn't be the first time). :shock: Mind you, inside LiveCode, at least, SHIFT-CMD-anything is a problem Yes, an...
- Sun Apr 05, 2020 3:19 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Isn't it possible to set Cmd-Shift-1 as keyboard shortcut for a menu item?
- Replies: 3
- Views: 2183
Isn't it possible to set Cmd-Shift-1 as keyboard shortcut for a menu item?
I'm creating a standalone app for use on a Mac. I have a menu with 4 menu items. Menu item 1 uses Cmd-1 Menu item 2 uses Cmd-2 Menu item 3 uses Cmd-Shift-1 Menu item 4 uses Cmd-Shift-2 At least.... that what's I would like them to be. But the menu displays: Menu item 1: Cmd-1 Menu item 2: Cmd-2 Menu...
- Sun Mar 29, 2020 4:09 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Converting Unicode codes to readable text
- Replies: 10
- Views: 5000
Re: Converting Unicode codes to readable text
Aw, many thanks for this Thierry, this is excellent! And I don't worry about long texts, because I should be dealing with sentences only.
- Sun Mar 29, 2020 10:25 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Converting Unicode codes to readable text
- Replies: 10
- Views: 5000
Re: Converting Unicode codes to readable text
Thanks Jacque and Thierry. Thierry, for my own small project I can't really afford a paid external, but it's good to know that it's there and I've made note of it, may be I will use it some time in the future. For now I've used a repeat loop which finds each \uXXXX string and replaces it with the ac...
- Sat Mar 28, 2020 6:38 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Converting Unicode codes to readable text
- Replies: 10
- Views: 5000
Re: Converting Unicode codes to readable text
Thanks for this richmond62! So it does look like I need to convert each character one by one. Was hoping that Livecode had some function for this that I overlooked, but I guess not. I’ll figure out a way to make sure the space gets preserved. Thanks again.
- Fri Mar 27, 2020 8:45 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Converting Unicode codes to readable text
- Replies: 10
- Views: 5000
Re: Converting Unicode codes to readable text
No, I checked both the returned JSON output and the API docs and encoding isn’t mentioned anywhere.