Search found 36 matches
- Thu Oct 26, 2017 7:01 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: extract data from socket?
- Replies: 4
- Views: 3454
Re: extract data from socket?
With that piece of code I now managed to get the two lines: <instance name="f1" type="CasparTextField"/> <instance name="f0" type="CasparTextField"/> inside a field, but i need pass the "f0" and "f1" on two lines in a datagrid. So I guess I have to extract only what's inside the instance name="" int...
- Wed Oct 25, 2017 5:15 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: extract data from socket?
- Replies: 4
- Views: 3454
extract data from socket?
Hello. Right now i'm able to send a command to a socket and I recieve this: 201 INFO TEMPLATE OK <?xml version="1.0" encoding="utf-8"?> <template version="2.0.0" authorName="Tue Sandbæk" authorEmail="tue@broadcastsupport.dk" templateInfo="TV SYD, KV17 credit" originalWidth="1920" originalHeight="10...
- Tue Oct 24, 2017 10:37 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: [SOLVED] list of files with foldername on files in subfolder
- Replies: 9
- Views: 6576
Re: list of files with foldername on files in subfolder
So simple, but it works!Klaus wrote: ↑Tue Oct 24, 2017 9:25 pmHi tusa,
I would simply:But only because I have no idea of regexCode: Select all
... replace ".html" with EMPTY in fld "FileList" replace ".ft" with EMPTY in fld "FileList" ...
![]()
Best
Klaus
Thank you.
- Tue Oct 24, 2017 8:56 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: [SOLVED] list of files with foldername on files in subfolder
- Replies: 9
- Views: 6576
Re: list of files with foldername on files in subfolder
This was my solution, that works just the way I expect: # Pops up a dialog box letting the user select a folder answer folder "Vælg mappe" ## Check if user cklicked CANCEL!! if it = EMPTY then exit menuPick end if # Set the default folder to the folder selected by the user # (this is stored in the '...
- Tue Oct 24, 2017 2:23 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: [SOLVED] list of files with foldername on files in subfolder
- Replies: 9
- Views: 6576
Re: list of files with foldername on files in subfolder
Right now my List i showing all files like this: file_1.ft file_2.ft file_3.ft file_in_subfolder_2.ft file_in_subfolder_2.ft file_in_subfolder_2.ft I wan't it to show this: file_1.ft file_2.ft file_3.ft subfolder/file_in_subfolder_2.ft subfolder/file_in_subfolder_2.ft subfolder/file_in_subfolder_2.f...
- Tue Oct 24, 2017 5:51 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: [SOLVED] list of files with foldername on files in subfolder
- Replies: 9
- Views: 6576
[SOLVED] list of files with foldername on files in subfolder
Hello I have an open button, and when I click on it I can choose a folder and get a list of all the files in it, including subfolders. # Pops up a dialog box letting the user select a folder answer folder "Vælg mappe" # Set the default folder to the folder selected by the user # (this is stored in t...
- Mon Apr 03, 2017 4:42 pm
- Forum: Talking LiveCode
- Topic: datagrid won't work as livecode-file?
- Replies: 14
- Views: 9937
Re: datagrid won't work as livecode-file?
Then how do I include the answer extension in the standalone?
- Mon Apr 03, 2017 6:28 am
- Forum: Talking LiveCode
- Topic: datagrid won't work as livecode-file?
- Replies: 14
- Views: 9937
Re: datagrid won't work as livecode-file?
It's not the standalone application.
I'm running it with a splash launcher, because I need opptunity too save the date before I close the app.
So it is the livecode stack file.
I'm running it with a splash launcher, because I need opptunity too save the date before I close the app.
So it is the livecode stack file.
- Sun Apr 02, 2017 8:03 am
- Forum: Talking LiveCode
- Topic: datagrid won't work as livecode-file?
- Replies: 14
- Views: 9937
Re: datagrid won't work as livecode-file?
Could it be related to my answer dialog box?
If I just use this piece of code: there is no problem.
Maybe that's why I don't get the dialog box when I save the stack also?
If I just use this piece of code:
Code: Select all
on mouseUp
set the dgData of group "seqGrid" to empty
end mouseUp
Maybe that's why I don't get the dialog box when I save the stack also?
- Sun Apr 02, 2017 7:42 am
- Forum: Talking LiveCode
- Topic: datagrid won't work as livecode-file?
- Replies: 14
- Views: 9937
Re: datagrid won't work as livecode-file?
Delete line is no problem: on mouseUp put the dgHilitedIndex of group "seqGrid" into theIndex send "DeleteIndex theIndex" to the dgControl of group "seqGrid" end mouseUp But delete the whole stuff is not working when I use a launcher: on mouseUp answer question "Er du sikker på at du vil slette din ...
- Sun Apr 02, 2017 2:17 am
- Forum: Talking LiveCode
- Topic: datagrid won't work as livecode-file?
- Replies: 14
- Views: 9937
Re: datagrid won't work as livecode-file?
I've found this:
http://lessons.livecode.com/m/datagrid/ ... -data-grid
Now I can use the datagrid, and now I can delete a line ind the datagrid but not delete all data?
I even can't save stack...
http://lessons.livecode.com/m/datagrid/ ... -data-grid
Now I can use the datagrid, and now I can delete a line ind the datagrid but not delete all data?
I even can't save stack...
- Sun Apr 02, 2017 12:55 am
- Forum: Talking LiveCode
- Topic: datagrid won't work as livecode-file?
- Replies: 14
- Views: 9937
datagrid won't work as livecode-file?
I've made an application with a datagrid in.
When I save as an standalone application every thing works fine.
When I just save it as a livecode-file the datagrid wo'nt get any data in?
What do I miss?
When I save as an standalone application every thing works fine.
When I just save it as a livecode-file the datagrid wo'nt get any data in?
What do I miss?
- Wed Mar 22, 2017 2:35 pm
- Forum: Talking LiveCode
- Topic: number of items?
- Replies: 4
- Views: 3753
Re: number of items?
Thank you, that solved my problem.
I did only use part of your suggestion, but that was what I needed.
I did only use part of your suggestion, but that was what I needed.
- Wed Mar 22, 2017 11:01 am
- Forum: Talking LiveCode
- Topic: number of items?
- Replies: 4
- Views: 3753
number of items?
Can I count the numbers of items after setting the item delimiter?
- Wed Mar 15, 2017 2:15 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: store and compare data in variable?
- Replies: 11
- Views: 8923
Re: store and compare data in variable?
For now I have 5 groups, but I need 2 more.
I did'nt have time to try it out yet.
I did'nt have time to try it out yet.