1st Post
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Livecode Opensource Backer
- Posts: 9
- Joined: Thu Aug 02, 2012 2:30 am
1st Post
Hi everyone,
This is my first post and I am very new to programming. I chose LiveCode as it is English like and seams not too difficult to understand.
I need some help, I was hoping to make a program for both for Mac and iPhone. In which I can create a file in Mac and use iPhone as a reader of that file. I have about 7 or 800 questions and answers (is it a lot??)
What I have in mind is a simple Q&A app with questions in one card and answers in other. It is for personal use so aesthetics is not an issue. I just want a simple app in which I can use. I want to organise these questions in both group wise and date wise and want next and back buttons to navigate between these but gestures to go to and fro one question answer to another in the same group.
Your help will be mush appreciated.
Kind regards.
Faisal
This is my first post and I am very new to programming. I chose LiveCode as it is English like and seams not too difficult to understand.
I need some help, I was hoping to make a program for both for Mac and iPhone. In which I can create a file in Mac and use iPhone as a reader of that file. I have about 7 or 800 questions and answers (is it a lot??)
What I have in mind is a simple Q&A app with questions in one card and answers in other. It is for personal use so aesthetics is not an issue. I just want a simple app in which I can use. I want to organise these questions in both group wise and date wise and want next and back buttons to navigate between these but gestures to go to and fro one question answer to another in the same group.
Your help will be mush appreciated.
Kind regards.
Faisal
Re: 1st Post
Hi.
Start with the user guide, and read lightly in it, thinking about what it says, Most importantly, experiment regularly as you read, making small gadgets and trying to get them to work. There is no substitute for this. Once you have a few objects working, and it really makes no difference at all what they do, you will quickly start putting the whole together.
LiveCode is immense, and rich. But the good news is that you can do quite well with only a few percent of its potential, adding to your abilities as you gain experience.
Can you make a new stack? Can you place a few buttons on it? You should be able to do this. In those buttons, you will write handlers that will reside in their "scripts". You need to be able to open the script editor. Write back as soon as you have your first stack assembled, and we will start making some of the things you mentioned.
Find the dictionary, and read about "put", "go", and "ask".
The other good news is that the community here is tireless and infinitely patient. You will have your 800 questions answered in about 800 minutes.
Craig Newman
Start with the user guide, and read lightly in it, thinking about what it says, Most importantly, experiment regularly as you read, making small gadgets and trying to get them to work. There is no substitute for this. Once you have a few objects working, and it really makes no difference at all what they do, you will quickly start putting the whole together.
LiveCode is immense, and rich. But the good news is that you can do quite well with only a few percent of its potential, adding to your abilities as you gain experience.
Can you make a new stack? Can you place a few buttons on it? You should be able to do this. In those buttons, you will write handlers that will reside in their "scripts". You need to be able to open the script editor. Write back as soon as you have your first stack assembled, and we will start making some of the things you mentioned.
Find the dictionary, and read about "put", "go", and "ask".
The other good news is that the community here is tireless and infinitely patient. You will have your 800 questions answered in about 800 minutes.
Craig Newman
-
- Livecode Opensource Backer
- Posts: 9
- Joined: Thu Aug 02, 2012 2:30 am
Re: 1st Post
Thanks Craig,
I have just done what you asked and I already started enjoying LiveCode.
Guess I have made a right decision.
I also have added Card 2 and put a Back button used a go command to go back to the first card in the stack.
Eager to see What next?
Kind regards.
Faisal
I have just done what you asked and I already started enjoying LiveCode.
Guess I have made a right decision.

I also have added Card 2 and put a Back button used a go command to go back to the first card in the stack.
Eager to see What next?
Kind regards.
Faisal
Re: 1st Post
Hi Faisal,
welcome to the forum!
Please check these stacks to get the basics of LiveCode:
http://www.runrev.com/developers/lesson ... nferences/
Best
Klaus
welcome to the forum!

Please check these stacks to get the basics of LiveCode:
http://www.runrev.com/developers/lesson ... nferences/
Best
Klaus
-
- Livecode Opensource Backer
- Posts: 9
- Joined: Thu Aug 02, 2012 2:30 am
Re: 1st Post
Thanks Klaus,
Very informative.
Kind regards.
Faisal
Very informative.
Kind regards.
Faisal
-
- Livecode Opensource Backer
- Posts: 9
- Joined: Thu Aug 02, 2012 2:30 am
Re: 1st Post
Thanks every one,
I have a simple program now, managed to make a stack added fields and button in it.
Then Make them as group, set behave as background.
Scripted New button to create card, then a button to go next and go previous card.
That was all grate.
What I want to do now is to save that stack as a file say "my contents" with some file extension like ".cont" I mean not as .txt file.
2nd thing i want to do now is to make a reader for that file. I dont want to show any button now and only want to use keyboard to navigate between cards.
Can any one guide me further?
Your help is much appreciated.
Best regards.
Faisal
I have a simple program now, managed to make a stack added fields and button in it.
Then Make them as group, set behave as background.
Scripted New button to create card, then a button to go next and go previous card.
That was all grate.
What I want to do now is to save that stack as a file say "my contents" with some file extension like ".cont" I mean not as .txt file.
2nd thing i want to do now is to make a reader for that file. I dont want to show any button now and only want to use keyboard to navigate between cards.
Can any one guide me further?
Your help is much appreciated.
Best regards.
Faisal
Re: 1st Post
Hi Faisal,
Best
Jean-Marc
only want to use keyboard to navigate between cards.
Code: Select all
on arrowkey pKey
if pkey = left then go to prev cd
if pkey = right then go to next cd
pass arrowkey
end arrowkey
Jean-Marc
https://alternatic.ch
-
- Livecode Opensource Backer
- Posts: 9
- Joined: Thu Aug 02, 2012 2:30 am
Re: 1st Post
Hi Jean-Marc.
That is great.
So only thing left now Is how can I save this stake as file without any buttons and how can i make a reader for that file. I want to save file with an extension different to .txt file.
Best regards.
Faisal
That is great.
So only thing left now Is how can I save this stake as file without any buttons and how can i make a reader for that file. I want to save file with an extension different to .txt file.
Best regards.
Faisal
Last edited by drfaisalfarooqueBUSJWQK on Thu Oct 18, 2012 7:42 am, edited 1 time in total.
Re: 1st Post
Marhaba Feisal,
ist the stack in question part of a standalone?
Since this is not so easy to explain and this forum might not be the best place for the neccessary lenghty explanations
,
you can mail me privately if you like: klaus AT major-k.de
Best
Klaus
ist the stack in question part of a standalone?
Since this is not so easy to explain and this forum might not be the best place for the neccessary lenghty explanations

you can mail me privately if you like: klaus AT major-k.de
Best
Klaus
-
- Livecode Opensource Backer
- Posts: 9
- Joined: Thu Aug 02, 2012 2:30 am
Re: 1st Post
Thanks Klaus.
I have just sent you an email.
Best regards.
Faisal
I have just sent you an email.
Best regards.
Faisal