Search found 85 matches

by samjith
Fri Oct 28, 2016 1:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Contents from xml tag
Replies: 5
Views: 4840

Re: Contents from xml tag

@hh, Great work, but it may difficult to debug and maintain in future.

@MaxV thanks for your links.
by samjith
Fri Oct 28, 2016 5:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Contents from xml tag
Replies: 5
Views: 4840

Re: Contents from xml tag

You deal me, in a nice way :D

I understood something. But i don't know how to treat with the attributes.
put revXMLChildNames(XMLID,"/",comma,,true) # returns Tag1[1],Tag1[2],A[1],Tag1[3],A[2],A[3],Tag1[4],A[4]
and why the "test" tag not return here

How you know these things?
Can you suggest ...
by samjith
Thu Oct 27, 2016 11:37 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Contents from xml tag
Replies: 5
Views: 4840

Contents from xml tag

Is it possible to get the node contents from this sample XML?

i/p
******
<root>
<Tag1>just a tag</Tag1>
<Tag1>just a tag</Tag1>
<A att="10">
<text x="5"> some text 1</text>
<text x= "10"> some text 2</text>
</A>
<Tag1>just a tag</Tag1>
<A x="1"> some text 3</A>
<A x="2"> some text 4</A>
<Tag1>just ...
by samjith
Fri Jul 29, 2016 11:52 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Color points
Replies: 7
Views: 6446

Color points

I need to colour lines that set by points.

sample code
set the points of graphic "line" to the points of graphic "line" & cr & the mouseLoc

if i say "set the textcolor of the points of graphic "line" to "red".
the colour of all point changed to red.

How to colour some points in line?

I got a ...
by samjith
Mon Jul 18, 2016 12:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: concating the names of custom property
Replies: 4
Views: 4397

Re: concating the names of custom property

Hi Thierry,

Good idea! :D



Thanks

Samjith
by samjith
Mon Jul 18, 2016 11:02 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: concating the names of custom property
Replies: 4
Views: 4397

Re: concating the names of custom property

Hi Klaus,

is there any other method for doing this?

i have 100s of custom property in a card.

can we use functions to doing the same thing?

Thanks

Samjith
by samjith
Fri Jul 15, 2016 12:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: concating the names of custom property
Replies: 4
Views: 4397

concating the names of custom property

Hi,

1. i have a custom property with name x_interval_val in card i
2. item 1 of chunk_text contains x

is there any way to produce the result by?

put the (item 1 of chunk_text & "_interval_val") of card i into var
instead of doing
put the x__interval_val of card i into var



Thanks
by samjith
Fri Jun 10, 2016 9:45 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: wait with Key speed
Replies: 12
Views: 9885

Re: wait with Key speed

Hi,

The below mentioned code works partially for now. Something like this code is required for me.

on textchanged
set the backgroundcolor of me to lightblue
end textchanged

on idle
set the idleRate to 500
if the backgroundcolor of me is lightblue then
runfile
set the backgroundcolor of me ...
by samjith
Tue Jun 07, 2016 1:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Accessibility through voice as input
Replies: 3
Views: 4198

Re: Accessibility through voice as input

Hi Paul,

Apologies for the late reply and thanks for the simple sample stack.
Is there any way to on dictation through livecode? If no, no problem.

Thanks

Samjith
by samjith
Tue Jun 07, 2016 5:10 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to change card order of cards (numbers)?
Replies: 19
Views: 16263

Re: How to change card order of cards (numbers)?

Hi guys,

I am very happy, because i expect one answer, but i got more.

Actually i need

A-1
A-2
A-3
B-4
B-5
C-6
C-7
C-8
etc.

this type. but Klaus suggest me to do

Hint:
A clever naming scheme often make things easier to handle.
So can you please NAME your cards like:
A_1
A_2
A_3
B_1
B_2 ...
by samjith
Mon Jun 06, 2016 4:13 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to change card order of cards (numbers)?
Replies: 19
Views: 16263

Re: How to change card order of cards (numbers)?

Does that make sense? Do you need help with the code?

Sorry, I am very much confused. Could you help me with the code?
by samjith
Fri Jun 03, 2016 2:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to change card order of cards (numbers)?
Replies: 19
Views: 16263

Re: How to change card order of cards (numbers)?

A_1
A_2
A_3
B_1
B_2
C_1
C_2
C_3
C_4
C_5
D_1
D_2
D_3
D_4
D_5

Are in order 1 to 15, when i type "swapAC" in field, i want to see them look like this

C_1
C_2
C_3
C_4
C_5
B_1
B_2
A_1
A_2
A_3
D_1
D_2
D_3
D_4
D_5
by samjith
Fri Jun 03, 2016 1:29 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to change card order of cards (numbers)?
Replies: 19
Views: 16263

Re: How to change card order of cards (numbers)?

Hi Shalu,

I merged your two topics, please do not simply open a new thread
if noone seems to understand your previous one! 8)

I still do not have any idea what you are after, and there are no
SUB cards (like a SUB stack), just cards!


Best

Klaus

Firstly, i want to say that, i am not shalu, he ...
by samjith
Wed Jun 01, 2016 6:02 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to change card order of cards (numbers)?
Replies: 19
Views: 16263

How to change card order of cards (numbers)?

Hi,

hoping all gurus are fine. but i am not good, because of headache, with a topic.

I am attaching a zip file, which you can understand what i wan't to do.
but it doesn't contains code, because this is just an example of what i need.

I have total 15 cards, (each cards contains different values ...
by samjith
Mon May 30, 2016 6:55 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Accessibility through voice as input
Replies: 3
Views: 4198

Accessibility through voice as input

Is there any way to do a task as voice as input?

eg:- if i said "s" then i want to show my name
and
if i said "a" then i want to show my pet name
like that :?:

i am using mac


Thanks in advance
-/-
Samjith