This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Launch it button

Tags: None
(comma "," separated)
ellinuxloco
Registered Member
Posts
3
Karma
0
OS

Launch it button

Wed Apr 04, 2012 9:44 pm
I want to know if it is possible to have a "Launch It" button in a kexi form. An example of this would be to have a simple database that let me store data about a movie that exists on my file system and if I wanted to watch the movie, I could just click the "Launch It" button. Clicking the button would run a command or a bash shell script that I embed under the button that played the movie using a player of my choice and the movie is only stored on the file system and not in the database. I would like it so any command or script that could be stored in the text space of the button itself could be launched for an outside viewer, player, application etc to handled by the operating system.
Is this already available? If not how can I do it? If so, how is it done? I appreciate any responses and I am very new to Kexi so keep that in mind when you respond. Also, I am not afraid to learn or put the time into solutions that you suggest.
User avatar
jstaniek
Moderator
Posts
1027
Karma
2
OS

Re: Launch it button  Topic is solved

Thu Apr 05, 2012 10:11 pm
Hi ellinuxloco,
This is not currently possible. While it would be easy to add, I wonder how to do it securely.

Imagine some attacker adding a "Print" button but attaching a "rm -rf /home" command to it.

One idea is securely signing, another idea is to mark specific Kexi databases are "secure" or privileged. We can always ask the users too before executing scripts for permission (Vista's way of confusing users).

As with any wish, please add it to http://bugs.kde.org and continue discussion there until implemented :)


Best regards,
Jarosław Staniek
• Qt Certified Specialist
KEXI - Open Source Visual DB Apps Builder
• Request a feature or fix for KEXI here
May I help you? Please mention your app's version and OS when asking for help


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], markhm, sethaaaa, Sogou [Bot], Yahoo [Bot]