Re: exists(file on my computer) not doing very well

2014-09-02 Thread Richmond
On 1.09.2014 23:46, Klaus major-k wrote: not sure about the syntax for EXISTS and FILE, but -> url("file:"...) is surely not the way to go! Why not just use: if there is a file xyz...? Worked extremely well. Many thanks! Richmond. ___ use-live

Re: exists(file on my computer) not doing very well

2014-09-01 Thread Richmond
On 1.09.2014 23:46, Klaus major-k wrote: Hi Richmond, Am 01.09.2014 um 21:21 schrieb Richmond : In a card of my upcoming "Grendel" for Anglo-Saxon, Gothic and other warped Germanic languages/writing-systems I have this script: on preOpenCard set the title of stack "grendel" to the short n

Re: exists(file on my computer) not doing very well

2014-09-01 Thread Klaus major-k
Hi Richmond, Am 01.09.2014 um 21:21 schrieb Richmond : > In a card of my upcoming "Grendel" for Anglo-Saxon, Gothic and other warped > Germanic languages/writing-systems I have this script: > > on preOpenCard > set the title of stack "grendel" to the short name of this card > ## if exists(url

Re: exists(file on my computer) not doing very well

2014-09-01 Thread Richmond
On 1.09.2014 22:21, Richmond wrote: In a card of my upcoming "Grendel" for Anglo-Saxon, Gothic and other warped Germanic languages/writing-systems I have this script: on preOpenCard set the title of stack "grendel" to the short name of this card if exists(url("file:" & "GrendelBackUp.rtf

Re: exists

2010-12-11 Thread Richmond
Thanks Mark, Scott and Damien . . . :) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode

RE: exists

2010-12-11 Thread Damien Girard
Exists if for Livecode objects, to check the presence of a file use "there is". if there is "ABC.jpg" then -- do something end if Kind Regards, Damien Girard NativeSoft, France. -Message d'origine- DeĀ : use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com]

Re: exists

2010-12-11 Thread Scott Rossi
Recently, Richmond wrote: > I wonder why this does NOT work: > > if exists(file: "ABC.jpg") is true then > ---do something > end if > > how do I check if a file is present or not? I use this form: if there is a file "filepath.jpg" then -- do something end if Regards, Scott Rossi C

Re: exists

2010-12-11 Thread Mark Wieder
Richmond- Saturday, December 11, 2010, 2:54:03 PM, you wrote: > how do I check if a file is present or not? if there is a file "ABC.jpg" then -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please