Search found 18 matches
- Sun Jul 27, 2014 11:08 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: create a PDF and email it as an attachment.
- Replies: 1
- Views: 1610
create a PDF and email it as an attachment.
Is it possible to create a PDF within an app and then automatically send it as an attachment to a predetermined email address? How would you go about doing this? I can currently create and save a PDF, and I can create and send an email with livecode. I'm just not sure how to join the two so that the...
- Sun Jul 27, 2014 11:04 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Printing to PDF - wants the card to be open
- Replies: 2
- Views: 2292
Re: Printing to PDF - wants the card to be open
Excellent! thank you!
- Sun Jul 27, 2014 5:26 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Printing to PDF - wants the card to be open
- Replies: 2
- Views: 2292
Printing to PDF - wants the card to be open
I currently have a program running where I ask for a bunch of user input and then save it to a PDF. However, since this is to be a mobile application that creates a full size printable PDF, I am using a substack of the appropriate A4 paper size and saving that. Unfortunately it will not create a PDF...
- Wed Jul 23, 2014 1:59 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: populating field contents into a table
- Replies: 4
- Views: 2999
Re: populating field contents into a table
Klaus, you are the best! Thanks!


- Wed Jul 23, 2014 1:22 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: populating field contents into a table
- Replies: 4
- Views: 2999
Re: populating field contents into a table
First of all, let me say thank you for your comment and suggestion! I really do appreciate it. As far as my initial question, i should have been more clear. I was initially trying to populate a datagrid with data from a field separated by commas, line by line. The commas in the questions kept screwi...
- Wed Jul 23, 2014 12:05 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: populating field contents into a table
- Replies: 4
- Views: 2999
populating field contents into a table
I have a dataset that involves both questions and answers that I want populated into a data grid with 2 columns in it: 1 for the question, and 1 for the score. I am trying to figure out the best way to display the information in the data grid and have run into a slight snag. Some of the questions ha...
- Fri Jul 18, 2014 12:32 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Need help with this array format
- Replies: 2
- Views: 2194
Re: Need help with this array format
Don't see anything obviously wrong with what you're doing. I'd suggest stepping through the code that increments the score in the array in debug to make sure your array is being updated correctly. Maybe post the code you're using to display the results too since the problem may be in it rather than...
- Wed Jul 16, 2014 6:57 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Need help with this array format
- Replies: 2
- Views: 2194
Need help with this array format
Ok, I have been playing around with arrays and am trying to figure out why this does not work. What I have is a small quiz applet that asks 9 questions using a group of 4 radio buttons ("Answergroup") and keeps track of the score (each button being worth 0-3 points). What i want to do is at the end,...
- Wed Jul 16, 2014 2:43 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Need help with arrays
- Replies: 10
- Views: 6224
Re: Need help with arrays
Hi. You are tackling arrays, but do not know how to populate a variable. OK. The word "into", as in: put someValue into someVariable must be familiar, no? "After", and "before" are similar keywords, and work just as they ought to: put "yy" after "xx" --yields "xxyy" put space & "yy" after "xx" -- y...
- Tue Jul 15, 2014 3:36 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Need help with arrays
- Replies: 10
- Views: 6224
Re: Need help with arrays
All good stuff. But I think you should make your own arrays and experiment with them. I will give you two, which are generically old hat around here, but will be very good teaching tools. Try this on a new card with a button and a fairly large field named "wordList". In the button script: on mouseu...
- Tue Jul 15, 2014 2:46 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Need help with arrays
- Replies: 10
- Views: 6224
Re: Need help with arrays
Thanks everyone! Very helpful for my reading!
- Mon Jul 14, 2014 4:39 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Need help with arrays
- Replies: 10
- Views: 6224
Need help with arrays
Hello all, I am on my sojourn to learn live code, and hopefully eventually become fluent in it. I have just recently completed the Livecode university, which I cannot compliment enough. Great resource for absolute beginners like myself. However, there wasn't much of a tutorial on arrays. Can someone...
- Fri Jul 04, 2014 4:56 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: problems scoring selections in a form
- Replies: 11
- Views: 5616
Re: problems scoring selections in a form
You must listen to Jacque. When you have a free moment, and as an aside, think about this construction: #section 3 repeat with y = 1 to 9 put "Question number" && y into qArray[y]["question"] end repeat What do you think? Craig I think I learn something new every day. The repeat function is a nice ...
- Fri Jul 04, 2014 4:51 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: problems scoring selections in a form
- Replies: 11
- Views: 5616
Re: problems scoring selections in a form
qTab is always zero because the button scripts don't declare it as a global, so the handlers in the card script don't know it changed. You can fix the problem by adding a "global qTab" to each button handler, but that isn't a great way to do it. Using a single card script is better, and since you a...
- Wed Jul 02, 2014 9:36 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: problems scoring selections in a form
- Replies: 11
- Views: 5616
Re: problems scoring selections in a form
You're doing fine, and your buttons are named correctly. ... And welcome to LiveCode. I'm with you, I learned by jumping in and making all kinds of mistakes. That was a long time ago. The learning, I mean. Not the mistakes, which I still manage to produce with some regularity. Thanks for your help!...