Search found 27 matches

by Tim
Thu Apr 16, 2009 1:21 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Inserting date in text
Replies: 6
Views: 5230

The best way is to use the "merge" command and have the rev date command in double square brackets - [[ ]] Here is an example: put "The day today is [[the long date]]" into tVar put merge(tVar) Will output : "The day today is Thursday, April 16, 2009" You can use any Rev command inside the [[ ]] and...
by Tim
Thu Mar 19, 2009 9:16 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Upload File To Website
Replies: 5
Views: 5117

Hi Warren,

try:

put url "file:work.db" into url "ftp://user:password@ftp.website.com/work.db"

Best,

Tim.
by Tim
Thu Feb 05, 2009 6:46 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Permutations algorithm
Replies: 12
Views: 8622

Hi,

Have a look through the newsletter archives - one of the staff here (Laura) did an article on creating a word search/anagram program which does exactly what you want.

Best,

Tim.
by Tim
Tue Jan 20, 2009 11:27 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: put lines 2 to 5 of fld "Choice" into fld "te
Replies: 6
Views: 5061

Use line rather than lines

put line 2 to 5 of field "foo" into field "bar"
by Tim
Sun Jan 04, 2009 3:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Autocomplete in v3 script editor
Replies: 3
Views: 5387

Pressing the Tab key in your script will re-format it in the same way that the "Format this handler" used to.

Tim.
by Tim
Fri Oct 17, 2008 3:36 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Newbie Question :)
Replies: 5
Views: 4512

Hi Riff,

Have a look here :

http://www.runrev.com/developers/tutori ... et-images/

As a place to start.

Tim.
by Tim
Fri Oct 17, 2008 12:26 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Am I missing something in Version 3.0
Replies: 8
Views: 6357

Hi Mark,

If you are trying to get it to jump to the definition of things that are part of the IDE libs then you need to set gRevDevelopment to true.

Best.

Tim.
by Tim
Fri Oct 17, 2008 10:26 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Am I missing something in Version 3.0
Replies: 8
Views: 6357

Hi all, I was trying this too and could not get it to work. However, after talking to Oli (chief architect of the new script editor) I know what I was doing wrong. If the handler that you are trying to "go to definition" is NOT in the message path then it will not be selectable --- i.e. the menu opt...
by Tim
Wed Sep 17, 2008 12:06 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: no script editor
Replies: 4
Views: 3999

Hi Patrick,

What platform (Hardware, OS etc) are you on?

Regards,

Tim
by Tim
Wed Jul 23, 2008 7:17 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Refering to an odd number
Replies: 2
Views: 3621

Hi,

Use

Code: Select all

if gCount mod 2 is 0 then
    --do something for an even number
else
    -- do something for an odd number
endif
Regards,

Tim
by Tim
Tue Jul 15, 2008 11:23 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Event: "New file in folder"
Replies: 5
Views: 6884

Hey Frank, Here is some code that will monitor a folder - I've written it so it all goes in the script of a button at the moment : on mouseUp send "monitorFolder C:\Users\Tim\Desktop" to me in 0 milliseconds end mouseUp local sFileList, sMonitoredFolder on monitorFolder pFolder put pFolder into sMon...
by Tim
Thu Jul 10, 2008 9:46 am
Forum: Talking LiveCode
Topic: Cracking the password
Replies: 5
Views: 5547

Hi bjb007, I have to agree with Malte on this one - no reasonable rev coder would help you crack the password on someone elses stack. If your client bought the software then they probably do not have the legal right to change it in the first place. If the client contracted a 3rd party to write some ...
by Tim
Thu Jun 26, 2008 3:52 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Saving data to a file
Replies: 5
Views: 4842

Here is a little chunk of script that will output the data into a file in the same directory as the engine is running from : local tFullEnginePath local tEngineFolder set the itemdel to ":" put item -2 to -1 of the address into tFullEnginePath set the itemdel to "/" put item 1 to -2 of tFullEnginePa...
by Tim
Thu Jun 26, 2008 7:19 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Saving data to a file
Replies: 5
Views: 4842

Try

put myData into URL ( "file:fred" & the seconds & ".txt")

Regards,

Tim