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
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
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
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
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
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]
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
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