![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is there a way to know if a container field has changed data? I mean, can I get a checksum or data dimension in byte or data type (image, sound, etc...) and then for image the size in pixel... |
#3
| |||
| |||
|
|
Is there a way to know if a container field has changed data? I mean, can I get a checksum or data dimension in byte or data type (image, sound, etc...) and then for image the size in pixel... |
#4
| |||
| |||
|
|
Aladino wrote: Is there a way to know if a container field has changed data? I mean, can I get a checksum or data dimension in byte or data type (image, sound, etc...) and then for image the size in pixel... You could probably use DataLog (from NightWing ) and a calc to flag for modificationdate/time changes. That would flag the same data been put in again asa change, i.e. that there had been a 'change' event. regards Chris |
#5
| |||
| |||
|
|
Easy, and you don't need an external. Just set up a text field with an auto-enter calculation: MyContainerField & Get (CurrentTimeStamp) Deselect "Do not replace existing value..." The calc will change value only when the container field is modified. If for some reason you need to know the size of the image (in pixels) then you can store it as a reference; the dimensions are stored as the first line of data returned by ContainerData (calculation, text result) = MyContainerField e.g.: size:320,240 image:myimage.jpg imagewin:/D:/Desktop/myimage.jpg "Chris Brown" <cbrown (AT) medicine (DOT) adelaide.edu.au> wrote in message news:f76gbb$e98$1 (AT) aioe (DOT) org... Aladino wrote: Is there a way to know if a container field has changed data? I mean, can I get a checksum or data dimension in byte or data type (image, sound, etc...) and then for image the size in pixel... You could probably use DataLog (from NightWing ) and a calc to flag for modificationdate/time changes. That would flag the same data been put in again asa change, i.e. that there had been a 'change' event. regards Chris |
#6
| |||
| |||
|
|
If for some reason you need to know the size of the image (in pixels) then you can store it as a reference; the dimensions are stored as the first line of data returned by ContainerData (calculation, text result) = MyContainerField |
#7
| |||
| |||
|
|
The text field records the change, something is needed to compare to, i.e to track the changes, the DataLog is handy; or a variation field... |
|
The second part doesn't work for me: calc field, text result, = container I just get teh file name |
#8
| |||
| |||
|
|
I do want the size of the image. I have tried everyhing I can think of, and do not get what you describe. Imported a folder of images as reference. Calculation returned as text in all cases is "image:/Path/to/Folder/FileName.JPG" Same if not as reference. |
#9
| |||
| |||
|
|
Unfortunately, FileMaker operates slightly differently when you import a FOLDER of images, versus a single image. It does not record the pixel dimensions in the container field when importing a folder. It's impossible to get a file path in the container field if you are not importing as reference (folder or single). FileMaker simply doesn't store that there when is has possession of the actual file. However, you can put the file path into a separate field. Perhaps you had it mapped accidentally. If you have a folder of images and need to obtain the pixel size of each, you can do one import of the folder to obtain the path to each image (but don't import the pictures) then cycle through the imported records with a script which does the one-by-one import by reference of each image as specified by the path. I do want the size of the image. I have tried everyhing I can think of, and do not get what you describe. Imported a folder of images as reference. Calculation returned as text in all cases is "image:/Path/to/Folder/FileName.JPG" Same if not as reference. |
#10
| |||
| |||
|
|
I'm surely missing something. Whether manually or using a script, the only image option available is in importing a full folder. Importing a single file, there's no image option available, and all I get is the text representation of the file (such as you would see if you opened a JPG in a text editor. Nowhere do I see recognizable representation of the image size. I also tried Insert Image, using the same script variable to specify the file. The image is stored, but that's all. Matt In article <9ridnbLaZs-RggfbnZ2dnUVZ_gWdnZ2d (AT) comcast (DOT) com "BillMarriott" <wjm (AT) wjm (DOT) org> wrote: Unfortunately, FileMaker operates slightly differently when you import a FOLDER of images, versus a single image. It does not record the pixel dimensions in the container field when importing a folder. It's impossible to get a file path in the container field if you are not importing as reference (folder or single). FileMaker simply doesn't store that there when is has possession of the actual file. However, you can put the file path into a separate field. Perhaps you had it mapped accidentally. If you have a folder of images and need to obtain the pixel size of each, you can do one import of the folder to obtain the path to each image (but don't import the pictures) then cycle through the imported records with a script which does the one-by-one import by reference of each image as specified by the path. I do want the size of the image. I have tried everyhing I can think of, and do not get what you describe. Imported a folder of images as reference. Calculation returned as text in all cases is "image:/Path/to/Folder/FileName.JPG" Same if not as reference. |
![]() |
| Thread Tools | |
| Display Modes | |
| |