Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

memory error

Featured Replies

I am running an applescript which loops through a found set in filemaker, copies the image, creates a thumbnail and extracts the path. In middle I get an out of memory error. I allocated more memory to clip2gif and filemaker pro 5 and it didn't help. I am running on os 9.2.

help!

I am including the full script :

property FM_DatabaseName : "Styles 99 Test"

property FM_Image_Small_Field : "ImageSmall"

tell application "Finder"

open application file id "c2gf"

end tell

tell application "FileMaker Pro 5v3"

activate --bring to front

go to database FM_DatabaseName

tell document 1 --document is the found set

set record_count to count of records --count the found set

repeat with i from 1 to record_count --looping through the found set

go to record i

if cell "ImageBigIn?" of record i = "Yes" then -- if no do nothing

try -- grab path: OK for path OK only

set image_path_var to get data of cell "SKETCH" of current record

tell application "Finder"

set image_name_var to name of image_path_var

end tell

tell application "FileMaker Pro 5v3"

activate --brin to front

set cell "ImagePath" of current record to (image_path_var as string)

set cell "ImageName" of current record to image_name_var

do script "Set <Image Smail Updated> to today"

end tell

on error

do script "Set <Date Image Smail Updated> to 2/1/2345" -- Add

end try

do script "Copy Image Big to clipboard" -- copy sketch field

tell application "clip2gif"

activate

save clipboard in window

delay 2

save window 1 in window 1 maximum size {144, 144} -- pixels AKA 2 inches

set picture_var to content of window 1

close window 1

end tell --application "clip2gif"

tell application "FileMaker Pro 5v3"

activate --bring to front

set cell FM_Image_Small_Field of record i to picture_var

end tell

end if -- cell "ImageBigIn?" = "Yes" then -- if no do nothing

delay 2

end repeat --looping through the found set

end tell --document 1

end tell

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.