Search found 63 matches

by marcelloe
Mon Nov 14, 2016 6:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Extracting data from a form
Replies: 6
Views: 21319

Re: Extracting data from a form

The form is in PDF. This is the part I'm not sure about. I have been trying to talk myself through the process, but not really sure. At one point trying to determine if it would be better in Excel or if that was not necessary. I think I have confused myself in the process. Thank you for your help.
by marcelloe
Mon Nov 14, 2016 4:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Extracting data from a form
Replies: 6
Views: 21319

Re: Extracting data from a form

I want to upload the attached form and be able to extract the data from the fields. I hope that is more understandable.
by marcelloe
Fri Nov 11, 2016 9:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Extracting data from a form
Replies: 6
Views: 21319

Extracting data from a form

This is what I want to do, but not sure if it is possible. I have a bunch of the same forms and I want to extract the data form each form to be able to compare each form's data quickly. Is this something that can be done? I'm not sure how to get started. The quick version is this. 1. import the form...
by marcelloe
Thu Mar 06, 2014 3:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Intersecting Buttons
Replies: 36
Views: 22622

Re: Intersecting Buttons

ok, I am going to talk this out to see if I understand the concept. I want to create a list of the current button locations. I want to take the lines from the list and assign to a button and delete that line. I want to repeat for all 10 buttons If I understand this correctly that this will only use ...
by marcelloe
Thu Mar 06, 2014 3:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Intersecting Buttons
Replies: 36
Views: 22622

Re: Intersecting Buttons

I have been playing with the script you posted all night. I can't seem how to figure out how to make it work and keep the buttons appear at random places. The next best thing I can think of is to take the current button positions and move the button to those current locs. I can talk myself what need...
by marcelloe
Wed Mar 05, 2014 9:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Intersecting Buttons
Replies: 36
Views: 22622

Re: Intersecting Buttons

This is what i have figured out so far while playing around. I can get this script to work somewhat right until it exceeds its limit. I don't know how to send the buttons that are intersect to a new location. I know how to move 1 button to a specific locations, but not sure how to handle multiple bu...
by marcelloe
Wed Mar 05, 2014 8:34 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Intersecting Buttons
Replies: 36
Views: 22622

Re: Intersecting Buttons

I like the fact that the buttons will be in random areas on the card each time it opens. I am not sure how I could use this array to make the buttons not overlap. If I am wrong steer me in the right direction.
by marcelloe
Wed Mar 05, 2014 7:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Intersecting Buttons
Replies: 36
Views: 22622

Re: Intersecting Buttons

Let me see if I understand what is going on. Correct me if I am wrong. The follwoing script is creating a temp list of button positions. lock screen repeat with y = 1 to 3 repeat with u = 1 to 10 put y * 140 -60 & "," & u * 40 - 15 & return after temp end repeat end repeat The next part is just crea...
by marcelloe
Wed Mar 05, 2014 6:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Intersecting Buttons
Replies: 36
Views: 22622

Re: Intersecting Buttons

This might be a stupid question but how do I create that list? I have my buttons set to width to 80 and height to 80. to keep thing similar. I think I figured out how to create the loc list thanks to Klaus. The list is the locs after the buttons have been moved. This is the script I used. put the lo...
by marcelloe
Wed Mar 05, 2014 6:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Intersecting Buttons
Replies: 36
Views: 22622

Re: Intersecting Buttons

Ok, first off I want to thank everyone for their help yesterday. I got confused and I think i am still confused. I have the script to make the buttons move. Now I need to focus on making sure they don't get behind each other. I am not sure if using the intersect function is the best way from keep th...
by marcelloe
Tue Mar 04, 2014 7:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Intersecting Buttons
Replies: 36
Views: 22622

Re: Intersecting Buttons

1. Would the intersect function fix the overlapping issue.

2. i would assume the tLocList will gather the current locs? Am I getting the locs so the original position of all the buttons be reused, but with a different button? If not I am totally confused.
by marcelloe
Tue Mar 04, 2014 5:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Intersecting Buttons
Replies: 36
Views: 22622

Re: Intersecting Buttons

Now I need to figure out the intersect thing to keep the buttons from getting behind each other.
by marcelloe
Tue Mar 04, 2014 5:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Intersecting Buttons
Replies: 36
Views: 22622

Re: Intersecting Buttons

that is working now, but I think I have a much simpler way to do what I want. I thin this script works the same as the one you just gave me. Yes I was getting confused with all the different suggestions. repeat with i = 1 to 10 set the loc of button ("b" & i) to random (the width of this stack) , ra...
by marcelloe
Tue Mar 04, 2014 4:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Intersecting Buttons
Replies: 36
Views: 22622

Re: Intersecting Buttons

not sure what you mean about creating a list. This is what I was think?

Code: Select all

if intersect (button "b" & i, button "b" & i) then
  pass on preOpenCard
end if
Thanks

Mark
by marcelloe
Tue Mar 04, 2014 4:10 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Intersecting Buttons
Replies: 36
Views: 22622

Re: Intersecting Buttons

Even when I add another tLocList I still get the same error.

Code: Select all

set the loc of button ("b" & i) to line i of tLocList tLocList