Search found 184 matches

by KimD
Sun Feb 10, 2019 12:18 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Email Attachments on Windows
Replies: 10
Views: 788

Re: Email Attachments on Windows

Hi AxWald True - I'll revise my statement - Other than a "Hello World" VB script which I wrote as a test after reading the above responses to my original post, I've never worked with calling another programme from LC. The thing that put me off MailAlert was that it seemed to me that this solution wo...
by KimD
Fri Feb 08, 2019 4:19 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Email Attachments on Windows
Replies: 10
Views: 788

Re: Email Attachments on Windows

Thanks all I will follow-up on the Powershell option. I've never worked with calling another programme from LC before. My understanding of what I will need to do is: 1) Use a tool like PS2EXE-GUI to create a PowerShell standalone executable, that accepts arguments (e.g. email attachment file name) 2...
by KimD
Thu Feb 07, 2019 3:24 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Email Attachments on Windows
Replies: 10
Views: 788

Email Attachments on Windows

Hi I'm hoping to get some advice on which Livecode email solution to use within an app which I'm developing. Requirements: - must work on Windows desktop, Android & IOS mobile; but - if that's what's required - I am happy to use MobileComposeMail for Android & IOS, and something else for Windows des...
by KimD
Wed Jul 18, 2018 3:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: SQLite - OK in Development but not in Standalone
Replies: 1
Views: 350

Re: SQLite - OK in Development but not in Standalone

I went for a long walk on the beach and worked it out. To fix my missing SQLite db problem I had to: - Go into Standalone App settings > Copy Files & remove the existing database file; then - Go into Standalone App settings > Copy Files & add the database file back again. This had the effect of chan...
by KimD
Tue Jul 17, 2018 5:55 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: SQLite - OK in Development but not in Standalone
Replies: 1
Views: 350

SQLite - OK in Development but not in Standalone

I've got an app, which I want to run on Windows+Android+IOS, to which I want to pass a pre-populated SQLite db. On PreOpenStack ... If the environment = "development" then Put specialFolderPath("desktop") & "/TSER_Docs" into ggDocumentsFolder Put specialFolderPath("desktop") & "/TSER_Temp" into ggTe...
by KimD
Thu Jul 05, 2018 12:37 am
Forum: Talking LiveCode
Topic: Virus
Replies: 6
Views: 2080

Re: Virus WIN32:Xpaj-Gen

Seems to be a problem again. I'm currently developing a LC app, and my local Avast software just told me that it had quarantined my app because it contained the WIN32:Xpaj-Gen virus. This wasn't happening yesterday. Avast must have updated something.

LC9, Windows 10, Avast 18.5.2342
by KimD
Fri Jun 08, 2018 11:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: exitField firing multiple times
Replies: 8
Views: 1194

Re: exitField firing multiple times

Thanks Craig, Sparkout, Jacque & Richard It does appear to be something to do with an interaction between the Answer dialogue and exitField/CloseField. When I removed "Answer" and replaced this with writing to a logfile, the results for exitField and closeField where as-documented in the LC dictiona...
by KimD
Fri Jun 08, 2018 11:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: "One optionMenu to rule them all..."
Replies: 2
Views: 709

Re: "One optionMenu to rule them all..."

Thanks Jacqueline I've gone for your last suggestion - a field that displays when the button is pressed. I've put my solution below. I've spent about 15 minutes testing this on Windows & Android, and the early results look promising. Regards Kim ======================================================...
by KimD
Fri Jun 08, 2018 3:30 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: exitField firing multiple times
Replies: 8
Views: 1194

Re: exitField firing multiple times

Hi Craig

Card and stack script are empty

I am now wondering if its something to do with how exitField interacts with the Answer command.

Regards

Kim
by KimD
Fri Jun 08, 2018 3:07 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: exitField firing multiple times
Replies: 8
Views: 1194

Re: exitField firing multiple times

Sample stack attached
by KimD
Thu Jun 07, 2018 11:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: exitField firing multiple times
Replies: 8
Views: 1194

exitField firing multiple times

I create a new stack containing one field "AAA" - LockText is false - FocusWithKeyboard is true - Script is shown below: on closeField Answer "CloseField" & the name of me end closeField on exitField Answer "ExitField" & the name of me end exitField 1) If I click on field AAA, change its contents, a...
by KimD
Wed Jun 06, 2018 3:00 am
Forum: Talking LiveCode
Topic: LiveCode won't run anymore
Replies: 5
Views: 1249

Re: LiveCode won't run anymore

Probably the same problem - LC9 just stopped working on Windows10. Little lego "Start the Tour" man would pop-up, briefly taunt me, then LC would shut down.

Same solution - delete the LC preferences file - C:\Users\MyName\AppData\Roaming\RunRev\Preferences

Thanks for the post!
by KimD
Sun Jun 03, 2018 11:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: "One optionMenu to rule them all..."
Replies: 2
Views: 709

"One optionMenu to rule them all..."

I'm writing an app that needs to run on Windows desktop, and Android and iPhone. The app is going to need to have a lots (couple of hundred) of buttons that allow the user to pick from a pre-defined list of items. Typically the user will need to choose from a list of between 10 and 30 items. For Win...
by KimD
Fri May 18, 2018 9:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Test that JSON received is valid
Replies: 4
Views: 887

Re: Test that JSON received is valid

Thanks Craig, Max & Jacque. I will give try / catch a go. So much to learn............
by KimD
Fri May 18, 2018 5:15 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Test that JSON received is valid
Replies: 4
Views: 887

Test that JSON received is valid

I'm working on an app that reads JSON from a web service. For this I'm using JSONImport, putting the JSON into a LC array and from the array into an SQLite db. It seems to work nicely. Then I thought "I really should code this so that it doesn't explode if the web service passes it invalid JSON". So...

Go to advanced search