Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Button to open/edit Image in application from FMP8 (OSX)


metheartist
 Share

Recommended Posts

If the picture is stored as a reference only, then double-clicking the container should open it in the default application set for this file type.

Link to comment
Share on other sites

  • 4 weeks later...

Re-reading, I sound like a psycho.

 

If I can simply locate an image in a container field on my hard-drive that would be good enough. I have toyed around with "Send Event" and "Open URL" but I can't seem to make it work. I have read that there are plugins to do this stuff, but it seems simple enough to do without them. Maybe adding a little applescript? I am looking now...

 

------------

 

set theFolder to alias "-how can i get the path from FMP in here?-"

 

tell application "Finder"

items of theFolder whose name contains "-how can i get a specific file name in here?-"

end tell

 

------------

 

Like on OSX, in iTunes, you can select a song and choose "Show Song File" from the menu and it will open it in the finder. This has got to be sooo easy.

 

I also got this code to work to extract JUST the filename from the info string associated with the container image field:

 

"Image Name ="

Let( var=GetAsText ( Container ) ; Right ( var ; Length ( var ) - Position ( var ; "/" ; 1 ; PatternCount ( var ; "/" ) ) ) )

 

(results in Text)

 

Can I put this into the applescript?

Link to comment
Share on other sites

 Share



×
×
  • Create New...

Important Information

Terms of Use