Jump 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.

Featured Replies

  • Newbies

Need to choose a picture from iPhoto to enter into a container field. Need to intergrate iPhoto with FileMaker 7.

Applescript? I've not done much with iPhoto. But I whipped up this AppleScript, which will get either the current selection, if any, or the entire current album of iPhoto, as an AppleScript list of files. You could alternatively not do the whole album, and put up a dialog, if that's too many to deal with (I have only a few photos there, just for testing).

You would then have to do something with them, such as duplicate each to a known location to Insert into FileMaker.

iPhoto seems to return the "image path" as a POSIX (Unix syntax) path. Kind of awkward for AppleScript. So I changed it back to a Mac path, which is what the Finder uses.

-- Returns the current selection,if any, or the current album as a list

global thePhotos

property macPaths :P {}

tell application "iPhoto"

set thePhotos to the selection

if item 1 of thePhotos is current album then

-- there's no selection, do the whole album

set thePhotos to photos of current album

my parseItems(thePhotos)

else

-- there's a selection

if length of thePhotos = 1 then

set posPath to image path of (item 1 of thePhotos)

tell me to set macPaths to POSIX file (posPath)

else

my parseItems(thePhotos)

end if

end if

return macPaths

end tell

on parseItems(aList)

using terms from application "iPhoto"

repeat with i in thePhotos

set posPath to image path of i

tell me to set macPath to POSIX file (posPath)

set macPaths to macPaths & macPath

end repeat

end using terms from

end parseItems

 

Edited by Guest

Create an account or sign in to comment

Important Information

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

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.