Bambus a simple Gui for any Console tool to draw the backgroundimage

Bambus is a smal and simple Gui(GTK) for any Console tool to draw the backgroundimage like feh, Esetroot, Habak, hsetroot etc.
To the Aur: http://aur.archlinux.org/packages.php?ID=34424!
Here is a german Wiki: https://wiki.archlinux.de/title/Hinterg … d_anpassen
Info:
Name: Bambus
Version: 2.2
Gui: gtkmm
Licens: GPL3
Screenshots:
To start bambus enter
bambus
To restore a backgroundimage type
bambus -restore
To restore any backgroundimage type
bambus -any
And to restore a backgroundimage in an order:
bambus -each
To add an extension in the extensionbox add a line in the .bambus.conf
command_extension=Esetroot -s
It is only a fun project and i am sorry for my bad english.:P
Last edited by ying (2010-04-26 17:57:59)

Tried it, worked as expected. Nice simple interface (maybe add a close button on the info window, well, maybe it's normal like this, i just don't like killing windows from outside(the window manager)).
Not that i'd use it, i rarely change my background image and if i do i do it via feh or similar on cli directly.
Btw, i modified the PKGBUILD a little, maybe you like the changes:
# Bambus
# Maintainer: Malisch Technology Solutions <http://malisch-ts.de>
# Contributor: Malisch Technology Solutions <http://malisch-ts.de>
pkgname=bambus
pkgver=2.2
pkgrel=5
pkgdesc="A small and simple GTK Gui to change Wallpapers using feh, Esetroot, hsetroot, habak or any other command tool."
url="http://malisch-ts.de"
arch=('i686' 'x86_64')
license=('GPL3')
depends=('gtkmm') # 'eterm' can be changed in any command tool to draw the wallpaper.
optdepends=('eterm/habak/feh/hsetroot/or others: for setting the background')
source=(http://malisch-ts.de/Downloads/bambus/bambus-${pkgver}-source.tar.gz)
md5sums=('7f6388cc6a74b1fe68f9ad6d04064a17')
build() {
g++ -o bambus main.cpp `pkg-config --cflags --libs gtkmm-2.4`
package() {
install -Dm755 bambus $pkgdir/usr/bin/bambus || return
Last edited by Ogion (2010-05-14 14:01:56)

Similar Messages

  • I want to upgrade from OS X 10.5.8 to Snow Leopard. When trying to back-up to a WD 1 TB external drive, the back-up process stalls at about 4 GB. Grateful for any clues to assist with the backup issue please.

    I want to upgrade from OS X 10.5.8 to Snow Leopard, then to Lion. When trying to back-up to a WD 1 TB external drive, the back-up process stalls at about 4 GB download. I would be very grateful for any clues to assist with the back-up process please.

    That disk is very probably formated as FAT 32, the normal format for PCs. FAT 32 cannot support files larger than 4 GB; also, it corrupts some types of Mac OS files. If you want to securely backup your mac files, you must have a disk prepared for Mac OS.
    Therefore, open Disk Utility, choose again 1 partition for your external disk and, under Options, GUID partition map (it may also be a boot disk for an intel mac), then format it as Mac OS Extended Journaled. Y0u are done.
    If you want to exchange data with PCs, you should chose Master Boot REcord and NTFS format, for this you must use a additional utility like NTFS-3G. But note that mac files may also get corrupt in NTFS format.

  • [svn:fx-trunk] 7824: Simple fix for SDK-21480 - Batik reports that the * selector has a null name so we handle this as a special case .

    Revision: 7824
    Author:   [email protected]
    Date:     2009-06-13 11:46:34 -0700 (Sat, 13 Jun 2009)
    Log Message:
    Simple fix for SDK-21480 - Batik reports that the * selector has a null name so we handle this as a special case.
    QE: Yes, this was really a compile time issue rather than a runtime issue.
    Doc: No
    Checkintests: Pass
    Bugs:
    SDK-21480 - Universal selector not applied
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21480
        http://bugs.adobe.com/jira/browse/SDK-21480
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java

    Try the following changes to the JS file
    Lines 103 and 104 change the values
    this.showDelay = 100; // was 250
    this.hideDelay = 200; // was 600
    Comment out line 286
    Spry.Widget.MenuBar.prototype.bubbledTextEvent = function()
    //    return Spry.is.safari && (event.target == event.relatedTarget.parentNode || (event.eventPhase == 3 && event.target.parentNode == event.relatedTarget));
    Comment out line 366 and add new lines 366 and 367
    var self = this;
    this.addEventListener(listitem, 'click', function(e){self.Click(listitem, e);}, false);
    this.addEventListener(listitem, 'click', function(e){self.mouseOver(listitem, e);}, false);
    //   this.addEventListener(listitem, 'mouseover', function(e){self.mouseOver(listitem, e);}, false);
    this.addEventListener(listitem, 'mouseout', function(e){if (self.enableKeyboardNavigation) self.clearSelection(); self.mouseOut(listitem, e);}, false);
    I have not tested the above changes ontouch screens; they do seem to work Ok on desktops.
    NOTE: Line numbers could be different because of the difference in our versions.

  • Simple GUI for simple client needed

    Greetings Gents
    I really need your help here. I have used this Client, and it works fine, but i need to add a GUI interface to it, to make it look professional. Unfortunatly, i am not a programmer, and have no background in programming. All what i need is just a simple Gui, where all typings occur. Can anyone help me, in adding a simple GUi to this client code?
    Your help is really highly appreciated
    best regards
    schwartz
    import java.io.*;
    import java.net.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Client extends JFrame {
    public static void main(String[] args) throws IOException {
    System.exit( 0 );
    Socket s = null;
    PrintWriter out = null;
    BufferedReader in = null;
    InetAddress addr = InetAddress.getByName(null);
    try {
    s = new Socket(addr, Server.PORT);
    out = new PrintWriter(s.getOutputStream(),true);
    in = new BufferedReader(new InputStreamReader(s.getInputStream()));
    } catch (UnknownHostException e) { System.err.println("Ckeck IP Address on the Host Server");
    System.exit(1);
    } catch
    (IOException e) { System.err.println("Run Server first");
    System.exit(1);
    } BufferedReader stdIn = new BufferedReader(new
    InputStreamReader(System.in));
    String fromServer;
    String fromUser;
    while((fromServer = in.readLine()) != null)
    System.out.println("Server: " + fromServer);
    if (fromServer.equals("Bye")) break;
    fromUser = stdIn.readLine();
    if (fromUser != null)
    { System.out.println("Client: " + fromUser);
    out.println(fromUser);

    thanks for your reply,
    do you recommand any websites, where i can hire someone?

  • Gtksql pkgbuild. Simple GUI for sql queries.

    This is simple program for running sql queries. I made this pkgbuild some time ago but I'm not sure how much it is good. Gtksql should support both mysql and postgresql but postgresql support is broken (probably to old). Developer promises a brand new gtk2 based application. We will see...
    Since I can't make this pkgbuild any better I'm just posting it.
    gtksql PKGBUILD
    pkgname=gtksql
    pkgver=0.4.2
    pkgrel=1
    pkgdesc="Gtk front-end for sql queries"
    url="http://gtksql.sourceforge.net/"
    depends=('lua' 'gtk')
    makedepends=('mysql')
    source=(http://dl.sourceforge.net/sourceforge/gtksql/$pkgname-$pkgver.tar.gz)
    md5sums=('a0ba598027cd49f69f951a31342b51fd')
    build() {
    cd $startdir/src/$pkgname-$pkgver
    ./configure --prefix=/usr
    --with-mysql
    --with-lua
    make || return 1
    make prefix=$startdir/pkg/usr install

    Hello:
    I'm trying to do add a calculated variable to my view that isn't an Entity
    Attribute, its simple really but i don't know if I'm leaving something out or
    not.
    I add the "new Attribute" , call it nCompleted, type - number
    I then check off everything as is required(as documented in Help)
    for an Sql Derived Attribute, the following code is entered in the
    Expression Box :
    Select group_services.office, count(client_group_services.clnt_group_services_id) as nCompleted
    Where group_services_id=client_group_services_id(+)
    And client_group_services_id.result="Completed";
    It isn't working, what am I missing???? Sheena:
    It probably isn't working because of missing 'group by' clause. I don't know the exact detail of your query statement, but suppose you want to count number of employees in a dept, then you're query should look like:
    select dept.deptno, dept.dname, count(emp.empno) as nCount
       from dept, emp where dept.deptno = emp.deptno(+)
       group by dept.deptno, dept.dname  // This group-by is important
    OR if you want to use nested SELECT
    select dept.deptno, dept.dname,
       (select count(emp.empno) from emp where dept.deptno=emp.deptno(+)) as nCount
       from dept

  • Simple GUI for ProjectServer

    Hi,
    i need a simple SharePoint-From to create projects with custom fields and show/update projectplan layers (Milestone, Date, Time, Description, Ressource...). Is it possible to do this programmatically? The Projectserver ist to complex for our user
    and the licencecosts for the PWA are very expensive for a simple use. Does anyone have
    other suggestions? Thanks. Chris

    Hi Chris,
    I think you can achieve something without programming anything. It is just a matter of creating a SharePoint list with all required fields (description etc.) and another list for the project tasks and use one of the SharePoint columns to link with the project
    list. You can create multiple lists if you want to manage the project task list using separate lists but it will make a little bit more difficult to manage reporting across all projects and, in the same time, it will make it easier to migrate to project server
    should you want to do so at some stage
    Hope this helps
    Paul

  • I can hear any sound when i play movies, music and for any alerts. what can be the cause?

    I've finished watching a movie on my computer last friday and shut down it. All has been so well. Yesterday nigh, I started it but I didn't hear the starting alert submitted by window 7. I tried hear a music but I was also unable to hear any sound both in media player, itunes and VLC that I use like media reader.
    I maked a test, all speackers are running and are not muted.
    How can I solve this problem please. Any help
    Thank you in advance.

    Troubleshooting issues with no audio from built-in speakers on Macs
    I hope this helps.

  • HT6030 Unread mail count still doesn't work for any mail accounts after installing the Nov. 7 Mail fix. I deleted Gmail from my Mac Mail so that's not the problem.

    I still cannot get an Unread Mail count in the Dock even after installing the the Nov. 7 Mavericks update. I deleted my Gmail account from my Mac, so I know that's not a problem. I checked the Mail preferences, and thay is configured correctly. Any suggestions?

    Point noted re multiples posts [ there were loads of  typos in previous]   . Your previous reply  may indeed be one way of  solving my problem. Thanks .
    Nevetheless  why does Apple prodcue "updated " software which isnt properly comptiable or tested;  with the result that it   now  doesnt work well with Gmail when the prevoius version worked fine. You would think an update  would at least work with Gmail as  well as the prevsoius version did.  G mail is  very widely used, so they, Apple,  and probably  Google too are  shooting themselves in the foot if they can't make the software compitable,

  • Do we have any design tool?

    Hi,
    Do we have any design tool to draw the Architecture diagram. For example, Fig.1 from the below blog.
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    Regards
    Sara

    Sara
    1. You can create Integration Scenario's in your XI server for this and this can be used to even create the Integartion Directory objects,
    /people/venkat.donela/blog/2006/02/17/companion-guide-to-integration-scenario
    /people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi
    2. Or you have modelling tools like ARIS for Netweaver where you model your process flow and import this into XI. More ,
    /people/michal.krawczyk2/blog/2006/11/27/xipi-bpm-modeling-in-aris-for-sap-netweaver--a-teaser
    /people/sap.user72/blog/2004/07/02/sap-bpm-and-aris
    Regards
    Bhavesh

  • Simple GUI - Help

    Hi, for my Java class, we have to write a simple GUI for a program that we wrote last week. This is what I have so far:
    import javax.swing.*;
    import java.awt.*;
    import java.util.Random;
    /* Class Kozyra which contains main method */
    public class Kozyra {     
        /* Method question: gets the user to enter whether or not he/she wants to continue
         * running the program */
        public static String question(){
              String s, answer;
              boolean valid;
              do{
                   s = JOptionPane.showInputDialog("Continue? (Y/N or P to Pause)");
                 answer = s.toUpperCase();
                 valid = answer.equals("Y") || answer.equals("N") || answer.equals("P");
                 if(!valid){
                        JOptionPane.showMessageDialog(null, answer + " is not a valid response. Please retype.");
                 } // end if
                 if(answer.equals("P")){
                      JOptionPane.showMessageDialog(null, "Game Paused.  Press OK to continue.");
              }while (!valid); // end do-while
              return answer;
        } // end method question
        public static void frame(){
             Homework3GUI frame = new Homework3GUI();
              frame.setTitle("CRAPS");
              frame.setLocationRelativeTo(null);
             frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setSize(600,400);
              frame.setLayout(new FlowLayout(FlowLayout.LEFT, 10, 20));
              frame.setVisible(true);
        } // end method frame
        /* Main method: creates new object called player and determines whether or not the game
         * continues running*/
        public static void main(String[] args){     
            frame();
            String answer = "Y";
              Dice player = new Dice(100, "");
              JOptionPane.showMessageDialog(null,"Welcome to CRAPS, " + player.getName());
              while(!player.busted() && !player.reachedGoal() && answer.equals("Y")){           
                player.begin();
                if(!player.busted() && !player.reachedGoal()){
                        answer = question();
                   } // end if
                   else{
                        answer = "N";
                   } // end if
              } // end while                 
        } // end main
    } // end class Homework3
    /* Beginning of class Dice (driver) */
    class Dice extends JPanel{
         // Declare variables
         private int amount, betValue;
         private int roll = 0;
        private String name;
            private boolean win, lose;
            private JTextField text1, text2, text3, text4, text5, text6;
         /* Constructor */
        public Dice(int amount, String name){
            this.name = name; // this refers to instance variabls
            this.amount = amount;
        } // end method Dice
        public void layout(){
             setLayout(new FlowLayout(FlowLayout.LEFT, 10, 20));
             text1 = new JTextField();
             text2 = new JTextField();
             text3 = new JTextField();
             text4 = new JTextField();
             text5 = new JTextField();
             text6 = new JTextField();
             add(text1, null);
             add(text2, null);
             add(text3, null);
             add(text4, null);
             add(text5, null);
             add(text6, null);
             text1.setSize(15,25);
             text2.setSize(15,25);
             text3.setSize(15,25);
             text4.setSize(15,25);
             text5.setSize(15,25);
             text6.setSize(15,25);
             text1.setLocation(10,10);
             text2.setLocation(10,40);
             text3.setLocation(10,70);
             text4.setLocation(10,100);
             text5.setLocation(10,130);
             text6.setLocation(10,160);
             setVisible(true);
        } // end method layout
        /* Prompts the user to enter his/her name using the scanner class and returns it as a string */
        public String getName(){
             String name = JOptionPane.showInputDialog("Please enter your name: ");
            return name;
        } // end method getName
        /* Asks the user to input his/her bet and determines if it is valid */
         private void getBet(){
              String betValueString = JOptionPane.showInputDialog("You have $" + amount +
                   ".  Please enter your bet: $");
              betValue = Integer.parseInt(betValueString);
              if(betValue > amount){
                      betValueString = JOptionPane.showInputDialog("You only have $" + amount +
                           ".  Please enter a bet that is less than or equal to $" + amount + ":  $");
                      betValue = Integer.parseInt(betValueString);
              } // end if
              if(betValue < 1){
                   betValueString = JOptionPane.showInputDialog("You have $" + amount +
                        ".  Please enter an amount greater than $1:  $");
                      betValue = Integer.parseInt(betValueString);
              } // end if
         } // end getBet
         /* Simulates the craps game and returns win */
         private boolean playGame(){
               int answer = roll();
               text1.setText("Your roll is: " + answer);
               win = answer == 11 || answer == 7;
               lose = answer == 2 || answer == 12;
               if(!(win || lose)){
                    int point = answer;
                    text2.setText("Your point value is: "+ point);
                    while(!(win||lose)){
                         answer = roll();
                         text3.setText("Your total is: " + answer);
                         win = answer == point;
                         lose = answer == 7;
                    } // end while
               } // end if
               return win;
          } // end method game
         /* Simulates the rolling of the die */
         public int roll(){
               int die1 = (int)(6*Math.random() + 1);
               int die2 = (int)(6*Math.random() + 1);
               text4.setText("You rolled " + die1 + " and " + die2 + ".  ");
               return die1 + die2;
          } // end method roll
         /* Informs the user of the result of his/her game and updates the amount of "money" */
         private void displayMessage(boolean win){
              if(win == true){
                   text5.setText("Congratulations, you won that round.  You bet $" + betValue +
                        " so you won $" + betValue + ". You now have $" + (amount += betValue));
              } // end if
              else{
                   text5.setText("Sorry, you lost that round.  You bet $" + betValue +
                        " so you lost $" + betValue + ".  You now have $" + (amount -= betValue));
              } // end else if
         } // end method displayMessage
        /* Determines if the user has busted or won and will or will not continue playing */
        public boolean terminate(){
             boolean go;
             if(busted() == true){
                  text6.setText("Sorry, you have lost. :( Somewhere, the world's tiniest violin is " +
                       "playing you a sad song.");
                  go = false;
             } // end if
             else if(reachedGoal() == true){
                  text6.setText("CONGRATULATIONS!  YOU HAVE BEAT THE ODDS AND WON!" +
                       " THE COSMOS SALUTES YOU! GO SPEND YOUR WINNINGS");
                  go = false;
             } // end else if
             else
                  go = true;
             return go;
        } // end method terminate
        /* Determines of goal of amount greater than or equal to $300 has been reached */
        public boolean reachedGoal(){
             return amount >= 300;
        } // end method reachedGoal
        /* Determines if the user has run out of money to play with */
        public boolean busted(){
            return amount <= 0;
        } // end method busted
        /* Calls other methods in order to play game */
        public void begin(){
            getBet();
            playGame();
            displayMessage(win);
            terminate();
        } // end begin
    } // end DiceI'm sure it's simple and terrible and all but I really don't know what I'm doing, and this is my first time writing a GUI (plus my professor's teaching consisted of him telling us to go look online). Firstly I can't get anything to show up on the frame. Secondly, it compiles but does not run and I am getting the following two errors:
    Exception in thread "main" java.lang.NullPointerException
    at Dice.roll(Kozyra.java:182)
    at Dice.playGame(Kozyra.java:155)
    at Dice.begin(Kozyra.java:238)
    at Kozyra.main(Kozyra.java:56)
    Note: C:\Program Files\Xinox Software\JCreatorV4LE\MyProjects\Honors2\Kozyra.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Any help would be appreciated, as I am becoming increasingly frustrated (I can't find where the pointer exception is and I have no idea what the "note" one is...). Thanks.

    Thanks, Corlett.
    The Homework3GUI thing was a vestige from something else that I missed correcting. However, I still cannot get anything to show up on the JFrame...Also, what does private static final long serialVersionUID = 54645635L; do?
    This is how the code reads now:
    import javax.swing.*;
    import java.awt.*;
    import java.util.Random;
    public class Kozyra2 extends JFrame{
          // returns true if user wishes to continue playing
         public static boolean playAgain() {
              return JOptionPane.YES_OPTION == JOptionPane.showConfirmDialog(null,
                   "Play again ?", "Do you wish to continue playing?", JOptionPane.YES_NO_OPTION);
          } // end method playAgain
          // builds and shows a GUI.
         public static void buildAndShowGUI(){
              Kozyra2 frame = new Kozyra2();
                 frame.setTitle("CRAPS");
                 frame.setLocationRelativeTo(null);
                 frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                 frame.setSize(600,400);
                frame.setLayout(new FlowLayout(FlowLayout.LEFT, 10, 20));
                 frame.setVisible(true);
          } // end buildAndShowGUI
         // Main method: gets this show on the road.
         public static void main(String[] args){
                buildAndShowGUI();
                Player player = new Player(100, enterName());
              JOptionPane.showMessageDialog(null,"Welcome to CRAPS, " + player.getName());
              while(player.play() && playAgain());
         } // end main method
         // returns the name entered by the user
         private static String enterName() {
              return JOptionPane.showInputDialog("Please enter your name: ");
         } // end method enterName
    } // end class
    class Player extends JPanel{
         private static final long serialVersionUID = 54645635L;
         private static final int TARGET_BALANCE = 300;
         private int balance;
         private String name;
         private JTextField[] text = null;
         public Player(int stake, String name){
              this.name = name;
                 this.balance = stake;
                 this.layoutPanel();
         } // end constructor
         public String getName() {
              return this.name;
         } // end method getName
         private void layoutPanel() {
                setLayout(new FlowLayout(FlowLayout.LEFT, 10, 20));
                 text = new JTextField[6];
                 for (int i=0; i<6; i++) {
                   text[i] = newTextField(10+i*30);
                   add(text, null);
              } // end for loop
              setVisible(true);
         } // end method layoutPanel
         private JTextField newTextField(int y) {
              JTextField t = new JTextField();
              t.setSize(15,25);
              setLocation(10,y);
              return t;
         } // end method newTextField
         // returns the users bet balance
         private int getBet(){
              while (true) {
                   try {
                        String response = JOptionPane.showInputDialog("You have " + balance + ". Your bet ? ");
                        int bet = Integer.parseInt(response);
                        if(bet>=1 && bet<=balance)
                             return bet;
                        JOptionPane.showMessageDialog(null, "Oops: An integer between 1 and " + balance + " is required.");
              } catch (NumberFormatException E) {
                   JOptionPane.showMessageDialog(null, "Oops: An integer value is required.");
              } // end try-catch
              } // end while loop
         } // end method getBet
         // returns true of the user wins this round.
         private boolean playRound(int bet){
              int score = roll();
              text[1].setText("Your score is: " + score);
              boolean win = (score == 11 || score == 7);
              boolean lose = (score == 2 || score == 12);
              int previousScore = score;
              while ( !(win||lose) ) {
                   score = roll();
                   text[3].setText("Your score is: " + score);
              win = (score == previousScore);
              lose = (score == 7);
              previousScore = score;
              } // end while loop
              if (win) {
                   balance += bet;
                   text[5].setText("You won. You won $" + bet + ". You now have $" + balance);
              } // end if statement
              else {
                   balance -= bet;
                   text[5].setText("You lost. You now have $" + balance);
              } // end else
              return win;
         } // end method playRoung
         // returns the total of rolling a pair of dice.
         public int roll(){
              int die1 = (int)(6*Math.random() + 1);
              int die2 = (int)(6*Math.random() + 1);
              int total = die1 + die2;
              text[4].setText("You rolled " + die1 + " and " + die2 + " = " + total);
              return total;
         } // end method roll
    // are we there yet?
         public boolean checkBalance(){
              if (balance <= 0) {
                   text[6].setText("Busted!");
              return true;
              } // end if statement
              if (balance >= TARGET_BALANCE) {
                   text[6].setText("Congratulations! Go spend your winnings.");
                   return true;
              } // end if statement
              return false;
         } // end method checkBalance
         public boolean play(){
              int bet = getBet();
              playRound(bet);
              return checkBalance();
         } // end method play
    } // end class Player

  • Need help making a simple script for my webcam

    Hey everyone, fairly new to applescript programming. I just bought a usb camera for my macbook because I use it for video conferencing/playing around, and it is better quality than the built in isight. However, in order to use this camera I need to use drivers from a program called camTwist. This being said camTwist needs to be opened first and the usb camera must be selected from camTwist Step 1 list in order for any other application to use the camera. I just want to make a simple program that would open camTwist first, then select "webcam" from the list (double click it like I always have to in order to select it) in order to activate the driver, and then open photo booth which would then be using the camTwist driver in order to take pictures.
    I made a crude program but it does not automatically select "webcam" from the Step 1 list in camTwist:
    tell application "CamTwist" to activate
    delay 10
    tell application "Photo Booth" to activate
    that’s basically it. I set the delay to 10 seconds so that when camTwists boots up first I can manually select my webcam. HOWEVER, I would like to make a script that would boot up CamTwist first, select my webcam from the list automatically, and then open Photo Booth with the CamTwist webcam driver already selected.
    Don't know much about applescript so any help to make a working script to solve my problem would be greatly appreciated! Thanks!

    Solved my problem but now I need help with something else! First I used CamTwist user options to create user defined hot keys with the specific purpose to load the webcam. I chose Command+B. I tested it out in CamTwist and it worked. The program follows a logical order from there. First it loads CamTwist, then after a short delay it presses the hot keys in order to load the webcam from the video source list, then another short delay and Photo Booth is opened with the driver loaded from camTwist. Everything works Perfect! Here's the code:
    tell application "System Events"
    tell application "CamTwist" to activate
    delay 0.5
    --Press command+b which is a user defined hot key to load webcam
    key code 11 using command down
    end tell
    delay 0.5
    tell application "Photo Booth" to activate
    My Next question is, would it be possible with this same script to have both applications quit together. For example I always quit Photo Booth first, so when I quit photo booth is there a way to make CamTwist also quit and keep everything within the same script? Please let me know. This forum has been very helpful and lead me to a solution to my problem! Hoping I can solve this next problem as well! Thanks everyone.

  • How to hide the menu bar from a Transaction iView (SAP GUI for HTML).

    Hello all,
    I have created a simple SAP Transaction iView of type SAP GUI for HTML.  This iView has the Menu bar that has the buttons: Menu, Back, Cancel, and System.  My requirement is, I dont want to see the menu bar that has these buttons.  How do I go about it?  Please advice.
    Note:  My iView is a SAP Transaction iView and not IAC service related iView. 
    Thanks
    Vicky R.

    You'll want to set the parameter ~webgui_simple_toolbar in your webgui service.
    It is a binary parameter with the following values/options:
    0  : Hiding the page header completely (not recommended)
    1  : Standard setting
                        This is the recommended standard setting in which the title and the menu bar below it with the [Exit] and [Help] button and the application buttons are displayed.
    2  : Displaying the title line
    4  : Displaying the buttons [Exit] and [Help]
    8  : Displaying the active system buttons on the screen ([Back] and [Cancel])
    16  : Displaying the system menu
    32  : Displaying the application buttons
    128 : Deactivating the information block in the status bar (new)

  • Transaction iView - SAP GUI for HTML - Problem while hiding menu bar

    Hello all,
    I am trying to hide the OKcode field and the Menu button in a Transaction iView of type SAP GUI for HTML. I am following the SAP note 1010519. However, nothing seems to change, even after adding the parameter ~webgui_simple_toolbar = 0 or any other value.
    I added the parameter to the service: default_host ->sap -> bc -> gui ->sap -> its -><b>webgui</b>
    After going through few posts relating to this issue, I figured out that passing application parameters would not work. Also, using IAC is not an option for me.
    Can someone help? How can I hide the OKCode field and Menu bar?
    Thanks and Regards,
    Reena

    Hello Reena,
    Maintaining the parameter
    ~WEBTRANSACTIONTYPE   EWT
    will solve your problem. You can also create an IAC iview. Here is a document for the same.
    <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/_d-f/Displaying%20SAP%20Transaction%20as%20Internet%20Application%20in%20Portal.pdf">How to diplay a transaction as IAC iview</a>
    Also remove the parameter ~noheaderOkCode.
    Hope that helps.
    Regards
    Deb

  • Problem with SAP GUI for HTML

    Hi SDN
    I am creating a SAP transaction iView with SAP GUI for HTML. I have give the Transaction code VA01 but when i execute the the iView it is displaying the  SAP Easy Access screen in html. Can any one suggest me how to rectify this error and display the required transaction in html.
    Thanks in advance.
    Regards
    Basha

    Hi Basha,
    Try this in the browser:
    http://<host>:<port>/sap/bc/gui/sap/its/va01?sap-client=100(XXX)
    1) It will ask for the username and password
    2) Enter the credentials and it should directly take you to the VA01 transaction
    If it fails again, try this:
    http://<host>:<port>/sap/bc/gui/sap/its/vl31w?sap-client=100(XXX)
    This should display the "Create Inbound Delivery NotificationTitle Create Inbound Delivery Notification " sreen."
    If it faisl again, there is some problem with the way the ITS has set up. Check with your basis.
    Thanks,
    Sathya

  • SSO E-Sourcing and SAP GUI for HTML

    Hi,
    We are trying to provide integration between SAP E-Sourcing and SAP ECC via the SAP GUI for HTML. From an E-Sourcing project, we should define a link which will link us to the report via SAP GUI for HTML. Some parameters are automatically transferred via the URL so that the report will be prefiltered.
    The problem arises that we cannot create a SSO mechanism between SAP E-Sourcing and SAP GUI for HTML. The only documentation we can find is how to setup this SSO between the Portal and ESO (only included going from the EP to ESO). We need to find a way to do the opposite, i.e. SSO from ESO to SAP / EP.
    Thnx,
    Bram

    Dear Chong,
    I have came across the following information about SAP GUI For HTML
    With the version 7.02 / 7.20 of the NW Application Server
    the SAP GUI for HTML has been completely
    reworked.
    1.The rendering is now based on Unified
    Rendering which is also used by many other
    SAP UI technologies.
    2.Similar Look & Feel as other UI technologies
    3.Better Portal integration
    4.Full Theme support
    5.Unified client requirements
    But have not came across any note which converts the SAP GUI for HTML to SAP GUI for Windows in appearacne. I think the point 2 mentioned about says that in this version the SAP GUI for HTML will have appearnce like the other UI.
    Pls refer the [link|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d06db80d-ebf4-2a10-6b99-faa652c69d5c?QuickLink=index&overridelayout=true]
    Hope it helps.
    Regards,
    Samir

Maybe you are looking for