Search found 1942 matches

by SparkOut
Wed Aug 06, 2008 1:51 am
Forum: Feature Requests
Topic: revMail - include attached file
Replies: 5
Views: 3035

You can open a file with the URL command, as in answer file "What file would you like to encode?" put the base64Encode of url ("binfile:" & it) into tAttachment You could then include it in a text structure which holds the header information and the MIME content boundaries. (That is not a trivial th...
by SparkOut
Mon Aug 04, 2008 5:24 pm
Forum: Windows
Topic: bringing a program or files icon into rev
Replies: 9
Views: 3096

This might be a good place to look

http://www.jsware.net/jsware/scripts.php5#iconextr
by SparkOut
Wed Jul 30, 2008 9:27 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Using "offset"
Replies: 3
Views: 882

Ah, right, no problem. :)
I was a bit conscious it might mean there's a docs issue that meant some docs or even features get "adjusted" in v. 3.0 beta.
by SparkOut
Wed Jul 30, 2008 4:05 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Using "offset"
Replies: 3
Views: 882

That's odd. On my copy Value: The offset function returns a non-negative integer. Comments: The value returned by the offset function is the number of the character where charsToFind appears in stringToSearch. If the charsToFind is not in stringToSearch, the offset function returns zero. There's a s...
by SparkOut
Mon Jul 28, 2008 10:55 am
Forum: Databases
Topic: revOpenDatabase and revCloseDatabase
Replies: 3
Views: 2178

The error report says that you have an invalid database id. That makes me wonder whether you have not got a value in your dataConnectionID because it is a local variable to your disconnection handler. If you declare dataConnectionID as a global variable, (or as a script local variable where the two ...
by SparkOut
Mon Jul 28, 2008 10:42 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: tabbing from a combo box to another field
Replies: 3
Views: 766

I don't get it. Hitting tab in a Combo box moves to the next field for me (Rev Studio 2.9 on Windows XP).
Could it be anything to do with the "autoTab" property being set to false?
by SparkOut
Sun Jul 27, 2008 10:44 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Functions ARGH! Help with this simple SUM script pls?
Replies: 3
Views: 1039

I started playing with a test stack, and in the meantime you have already got some answers, but I typed a reply anyway, so I'll paste it below, as there may be some other areas you want to examine (eg closeField) Hi heatherbee (so far as I know) keyDown or rawKeydown may or may not be the appropriat...
by SparkOut
Tue Jul 22, 2008 8:49 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: basic draw line graphic
Replies: 10
Views: 5669

Actually I taught myself something too:

the lineSize property is used to control the thickness of the line, rather than border
by SparkOut
Mon Jul 21, 2008 11:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: basic draw line graphic
Replies: 10
Views: 5669

Glad to help. If there's a more comprehensive tutorial I find I'll post info, but examining the options you can set in the Properties Inspector for a graphic will give you a good idea. Have a look in the docs for points and relativePoints too.
by SparkOut
Mon Jul 21, 2008 10:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: basic draw line graphic
Replies: 10
Views: 5669

Re: basic draw line graphic

local tPointsList --this will hold the list of coordinates, one per line put "10,10" into tPointsList --the first coordinate put cr & "100,100" after tPointsList --the next coordinate create invisible graphic "myNewLine" --optionally invisible, but allows you to manipulate the properties before sho...
by SparkOut
Sat Jul 19, 2008 11:36 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Date epoch problem
Replies: 4
Views: 1471

I should also mention I'm using Windows (XP). Rereading the documentation for the "convert" command I notice Note: The range of dates that the convertcommand can handle is limited by the operating system's date routines. In particular, Windows systems are limited to dates after 1/1/1970. Although I'...
by SparkOut
Sat Jul 19, 2008 11:29 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Date epoch problem
Replies: 4
Views: 1471

There's definitely something problematic with the epoch cutoff pre 1970. local tDate set the useSystemDate to true put "01/01/1970" into tDate convert tDate to dateItems if tDate is a date then answer tDate && "is a valid date" -- this is valid subtract 1 from item 1 of tDate convert tDate to short ...
by SparkOut
Sat Jul 19, 2008 11:17 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Date epoch problem
Replies: 4
Views: 1471

Thanks Mark I already looked at the centuryCutoff but I couldn't see how that could apply here. The docs quote centuryCutoff as Value: The centuryCutoff is a two-digit number. By default, the centuryCutoff is set to 35. Comments: The centuryCutoff specifies the two-digit year that ends the century. ...
by SparkOut
Fri Jul 18, 2008 4:45 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Date epoch problem
Replies: 4
Views: 1471

Date epoch problem

I searched for info in the documents, guide and here, but I can't see anything that points me right so please direct me to the proper place if necessary. I have made a date entry checker function, to make it quicker than a calendar popup and less tedious than entering a whole date. (It will only be ...
by SparkOut
Tue Jul 15, 2008 11:39 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Event: "New file in folder"
Replies: 5
Views: 1423

At least on Windows, you could try calling "handle.exe" http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx and parsing the info returned. There's an Expert's Exchange article on using vbscript to do this, which you could fire off from Rev if necessary http://www.experts-exchange.com/Progr...

Go to advanced search