![]() | Register | FAQ | Members | Social Groups | User Map | Calendar | Search | Today's Posts | Mark Forums Read |
*nix
*nix forum sponsored by |
| ||
| | | LinkBack | Thread Tools | Search Thread |
| Sponsored Links |
| | #1 |
![]() Join Date: Apr 2008 Location: Sydney
Posts: 2,611
Thanks: 364
Thanked 225 Times in 124 Posts
Blog Entries: 4 Rep Power: 62 | Similar to the oldschool batch files, which any tom dick and pony could make, there wasnt really a GUI equivelent until AutoIT (as far as I know) My question is, is there anything a complete newbie like me can use to make a GUI frontend, that will take the options inserted into fields in a GUI, and then launch an external program populating the various flags with what has been entered into the various boxes in the GUI? Hope this makes sense?/ Cheers RB |
| |
| | #2 |
![]() Join Date: Feb 2008 Location: Alcester, Warwickshire
Posts: 3,553
Thanks: 223
Thanked 494 Times in 421 Posts
Rep Power: 106 | Hmm, I don't know if ncurses can do what you're after, it's worth looking at. But I think you'll probably be looking at a more complex language like python and PyGtk, which I think it probably the 'easiest' combination. |
| |
| | #3 |
![]() Join Date: May 2007 Location: Herefordshire
Posts: 196
Thanks: 21
Thanked 30 Times in 26 Posts
Rep Power: 11 | |
| |
| | #5 | |
![]() Join Date: Aug 2005 Location: Alton, Hampshire
Posts: 2,779
Thanks: 416
Thanked 315 Times in 265 Posts
Rep Power: 83 | Quote:
-- David Hicks | |
| |
| | #6 | |||
![]() Join Date: Apr 2008 Location: Sydney
Posts: 2,611
Thanks: 364
Thanked 225 Times in 124 Posts
Blog Entries: 4 Rep Power: 62 | Quote:
Quote:
Quote:
Python again I have not dabbled with. But will give it a look. | |||
| |
| | #7 |
![]() Join Date: Feb 2009 Location: Lancashire
Posts: 331
Thanks: 20
Thanked 24 Times in 22 Posts
Rep Power: 10 | if your using gnome you could allways use "zenity" your script can bring up a series of simple 1 line input boxes. Zenity examples it basically works by putting "var=$(zenity --entry --text "Does this work")", the users input is now in $var |
| |
| Thanks to Arcath from: | RabbieBurns (04-03-2009)
|
| | #8 |
![]() Join Date: Aug 2005 Location: Alton, Hampshire
Posts: 2,779
Thanks: 416
Thanked 315 Times in 265 Posts
Rep Power: 83 | |
| |
| Thanks to dhicks from: | RabbieBurns (04-03-2009)
|
| | #9 |
![]() Join Date: Nov 2007 Location: South Wales
Posts: 1,000
Thanks: 25
Thanked 139 Times in 121 Posts
Blog Entries: 5 Rep Power: 37 | RealBasic looks interesting, but it's $75. REAL Software: REALbasic, Cross-Platform Development Environment Here's a portal to some free stuff which might be of some use: Free cross-platform programming Tools, free cross-platform compilers, programming languages, etc. |
| |
| Thanks to jinnantonnix from: | RabbieBurns (04-03-2009)
|
| | #10 |
![]() Join Date: Feb 2009 Location: Lancashire
Posts: 331
Thanks: 20
Thanked 24 Times in 22 Posts
Rep Power: 10 | Is the machine that will be running the bash script a webserver? if it is write a simple PHP page with a form on it, then take the POST data and do this: system("sh /path/to/script/script.sh -flag \"{$_POST['value']}\") not sure if using \" will work, or if {$var['var']} will, but you get the idea |
| |
| | #11 |
![]() Join Date: Jul 2005 Location: Kent
Posts: 249
Thanks: 15
Thanked 5 Times in 5 Posts
Rep Power: 10 | Xdialog is a nice simple frontend for bash scripts. Xdialog That is the website, gives you lots of examples so you can copy and paste (just highlight what one you want and the script appears below), its what we use to use before we went web-based and is really simple. Jo |
| |
| Thanks to linuxgirlie from: | RabbieBurns (04-03-2009)
|
| | #12 |
![]() | looking at dialog at the moment for servers without X on them... |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| bash script doesnt like folders with spaces | RabbieBurns | Scripts | 20 | 12-02-2009 01:28 PM |
| batch to bash rewrite help needed please | RabbieBurns | Scripts | 4 | 22-09-2008 09:05 AM |
| GUI and some help needed | MK-2 | Windows | 4 | 01-03-2007 06:18 PM |
| One time runas gui | plexer | Coding | 4 | 29-07-2006 10:36 PM |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search Thread |
| |











