local LrTasks = import 'LrTasks' local LrDialogs = import 'LrDialogs' local Bridge = require 'Bridge' LrTasks.startAsyncTask(function() local ok, result = LrTasks.pcall(Bridge.processInbox) if ok then LrDialogs.showBezel('Lichtkasten: ' .. tostring(result or 0) .. ' Auftrag/Aufträge verarbeitet') else LrDialogs.message('Lichtkasten Bridge', tostring(result), 'critical') end end)