Thread: mbarcode
View Single Post
Posts: 252 | Thanked: 252 times | Joined on Nov 2009
#207
Originally Posted by hopla View Post
* Is there any Python script/plugin integration yet? (from what I could make out by reading this topic, there isn't?)
* If I wanted to integrate a Python script with this program at this moment, what are my options? (someone mentioned DBUS?)
It is not ready yet, but we are looking into PythonQt. It seems to be a bit more work than expected to integrate this, but we'll give it a try. For the moment I'm afraid there are no ways to interact with mbarcode other than through C++ Qt plugins.
Originally Posted by hopla View Post
* If there isn't any easy integration yet: wouldn't it be a good idea to provide a simple 'Execute program/script' plugin that just lets you configure (multiple) programs/scripts to be run, with the result of the scan as command line parameter(s)? Each configured program/script would be run when you click on it's button that is show on the 'Results from scan' screen.
This would allow integration with practically anything, no?
This sounds like a really good idea. It should be a simple case of making a plugin similar to the webrequest plugin, and just change the URLs to commands and have the commands run in terminal or something instead of opening the browser. However, I think I'll focus on integrating Python completely first, but a script launcher is a decent alternative.
Originally Posted by hopla View Post
* Regarding the latest improvement about refocus: I just installed mbarecode from extras-devel, but the auto refocus feature isn't there. Or is this just uploaded to the garage page, but not the repo?
There are no new buttons indicating auto focus other than that you will see the image refocusing and the refocus button becoming disabled every 1.5 seconds. The package should be in extras-devel. If it doesn't work you should try to update the package using App Manager and check that the version is 0.1.9. You can check the version of the package if you look at the number next to mbarcode in the uninstall menu in App Manager.