Re: Quark not returning picture name or path properly
Re: Quark not returning picture name or path properly
- Subject: Re: Quark not returning picture name or path properly
- From: Hans Haesler <email@hidden>
- Date: Fri, 20 Jul 2001 17:31:49 +0200
On Fri, 20 Jul 2001, David Wadson wrote:
>
(...) When I run this script, instead of the file path I just get
>
the name of the file.
David,
you're running QXP 3.32, right? The command you are using is great for
getting the file name _without_ fiddling with the text item delimiters.
To get the whole path, insert 'alias' and 'as text':
---
set imagePath to alias (file path of image 1 of currentPictureBox) as text
---
>
(...) I have a similar script that was working before but when I
>
ask it for the file path of images, I just get the name of the drive
>
and the file as that path - none of the folders in between!
I bet that the images are missing. The result is typical for v3.32.
It can be used for detecting missing images.
[Note that the first "glitch/bug/bad code" has been "eliminated" with
the upgrade to v4.04 and the second with v4.1. Now it's less easy
to get the file name or to detect a missing image.]
Regards,
Hans
---
Hans Haesler | email@hidden