Search found 23 matches

by derr1ck
Mon Jun 09, 2014 3:12 pm
Forum: Mac OS
Topic: Playing videos form a directory
Replies: 4
Views: 4045

Playing videos form a directory

Hi All, If I have a list of video files on a server how can I use the video player to play in sequence whatever video files are in a directory. So far I have this working:- on mouseup put ("http://pathtovideofile/videofile.mov") into theURL set the filename of player "Viewer1" to theURL start player...
by derr1ck
Mon Apr 29, 2013 1:36 pm
Forum: Internet
Topic: Help! - Unable to aquire FTP file list!
Replies: 16
Views: 16192

Re: Help! - Unable to aquire FTP file list!

So far I have this........ constant FTPHOST = "mydomain.com"    put the urlencode of "myusername@mydomain.com" into FTPUSER put the urlencode of "mypassword" into FTPPASS --libURLSetFTPListCommand "LIST" get liburlftpcommand("ls","mydomain.com","myusername","mypassword") put url ("ftp://" & FTPUSER ...
by derr1ck
Mon Apr 29, 2013 10:31 am
Forum: Internet
Topic: Help! - Unable to aquire FTP file list!
Replies: 16
Views: 16192

Re: Help! - Unable to aquire FTP file list!

Hi,

I'm trying to decipher this ftp list example as I'm trying to do the same thing :D Anyone have a complete working example of how to list an FTP directory, Thanks.
by derr1ck
Thu Apr 18, 2013 11:45 am
Forum: Mac OS
Topic: Streaming Video?
Replies: 5
Views: 4202

Re: Streaming Video?

Thanks Bernd,

It has now been decided that the app should connect via SFTP instead, I take it this would be done in the same way or is there sftp support within livecode?.

Thanks again.
by derr1ck
Wed Apr 17, 2013 11:18 pm
Forum: Mac OS
Topic: Streaming Video?
Replies: 5
Views: 4202

Re: Streaming Video?

Thanks Bernd,

This is exactly what I had in mind :D any further code in helping would be great!!
by derr1ck
Wed Apr 17, 2013 3:54 pm
Forum: Mac OS
Topic: Streaming Video?
Replies: 5
Views: 4202

Streaming Video?

Hi All, I'm working on a new small project that's based on the video player tutorial. I would like to be able to select a folder on another mac on the same network, list those video files and allow the user to play them back within the app. The app will need to automatically enter network sign on cr...
by derr1ck
Tue Nov 06, 2012 11:53 am
Forum: Mac OS
Topic: Display Home folder space in Menu Bar
Replies: 7
Views: 5472

Re: Display Home folder space in Menu Bar

Yes Richard, there is a quota on user accounts, but its only enforced by a php script that runs nightly & checks the users account and if over quota moves the account from the Users folder. I want a visual display of the users account space while the user is logged in or something that pops up befor...
by derr1ck
Mon Nov 05, 2012 11:39 am
Forum: Mac OS
Topic: Display Home folder space in Menu Bar
Replies: 7
Views: 5472

Display Home folder space in Menu Bar

Hi,

I would like to create a small app that shows the logged in user how much space is left in their User directory visually within the menu bar. Is there a way to do this within livecode without any 3rd party apps/software?

Thanks in advance for any help forthcoming :D
by derr1ck
Fri Jun 01, 2012 8:54 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using Ping command
Replies: 9
Views: 6045

Re: Using Ping command

One other question: How can I have the script repeat the ping command, say every 5 mins? so far, via a button I check it by doing:- set the backgroundColor of graphic monitor to "white" put shell ("ping -c2 mydomain.com") into results put item 2 of results into testit if testit is empty then set the...
by derr1ck
Wed May 30, 2012 11:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using Ping command
Replies: 9
Views: 6045

Re: Using Ping command

sturgis wrote:If you're on windows it should return after 4 pings. If you're on ox x I believe ping continues indefinitely. To fix this use the -c switch

put shell("ping -c4 yourdomain.to.check.com") into field 1 -- will send 4 pings -c = count

Thanks that seems to have worked :)
by derr1ck
Wed May 30, 2012 8:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using Ping command
Replies: 9
Views: 6045

Using Ping command

Hi, I need to be able to ping a domain form within my desktop program, I have tried using :- put shell ("ping mydomain.com") into field 1 Put this doesn't work and it seems to lockup livecode and I need to force quit the program on my Mac. Any ideas on how I can do this, would like to check if a web...
by derr1ck
Wed Nov 09, 2011 3:29 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Where's the Stock Program Code?
Replies: 2
Views: 2520

Where's the Stock Program Code?

Hi All,

can anyone tell me where to find the code for this LiveCode Lesson mentioned here:-

http://lessons.runrev.com/s/lessons/m/8 ... riginal-UI

Thanks
by derr1ck
Wed Oct 26, 2011 11:28 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Reading a CSV file (with commas in 1 of the fields)
Replies: 27
Views: 16591

Re: Reading a CSV file (with commas in 1 of the fields)

Ah, Now Just one more thing.............. How can I now save the data form the datagrid to a new sqlite/mysql file. I'm trying to build an inventory program and have so far transferred contents from a excel file and now want to populate a sqlite or mysql database with that data and then allow a user...
by derr1ck
Wed Oct 26, 2011 10:07 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Reading a CSV file (with commas in 1 of the fields)
Replies: 27
Views: 16591

[SOLVED]Re: Reading a CSV file (with commas in 1 of the fiel

I just changed

answer file "/path/to/file/myfile.csv"
put url ("file:" & it) into theData
put false into firstLineContainsColumnNames -- or false, depending
set the dgText[false] of group "Display" to theData


and it worked ! :)

Go to advanced search