7 Replies Latest reply on Mar 10, 2013 3:57 PM by Malcolm

    Filemaker Applescript

    JFWX5

      Hi All,

       

       

       

      I have the following Applescript I wish to run from Filemaker 12 (Mac)

       

      I wish the "Scan to Print" to be a Filemaker Field i.e. "MBS:Scan Profile"

       

      As the Scan Profile will change depending on the jobs called for how would I do this?

       

       

      FM Applescript Calculated or Native?

       

      And what about the "" & () ¶ how would they be set up?


       

       

       

      tell application "System Events"

       

      tell application process "ScanSnap Manager"

      activate

      tell menu 1 of menu bar item "ScanSnap Manager" of menu bar 1

      click menu item "Settings..."

      end tell

      end tell

      end tell

      tell application "System Events"

      tell application process "ScanSnap Manager"

      tell (pop up button 1 of group 2 of window 1)

      click

       

      tell menu 1

      try

      click menu item "Scan to Print"

       

      end try

       

      end tell

       

      end tell

       

      end tell

       

      tell application "System Events"

      tell application process "ScanSnap Manager"

      -- Apply

      click button "Apply" of window 1

      -- Close

      click button 1 of group 2 of window 1

      end tell

       

      end tell

       

      end tell

       

       

       

      Thanks,

       

       

      John