Results 1 to 5 of 5
  1.    #1  
    Im trying to put a button on an app that takes a screen shot when pressed. But im not having any luck. does any one know how to call the screen shot service? I have been trying it by sending keyboard commands for option+sym+p but no luck. This is the code i have so far


    Thanks =)

    Code:
    Function.prototype.save = function(event){
    
    //presses keys down
    
    	Mojo.Event.sendKeyEvent("key =129",keydown);
    	Mojo.Event.sendKeyEvent("key =17",keydown);
    	Mojo.Event.sendKeyEvent("key =80",keydown);
    	
    //lifts keys up
    	Mojo.Event.sendKeyEvent("key =129",keyup);
    	Mojo.Event.sendKeyEvent("key =17",keyup);
    	Mojo.Event.sendKeyEvent("key =80",keyup);
    }
  2. #2  
    I don't know anything about programing but, do these read as seperate instances? what would happen if you used the key numbers in succession IE key = 129,17,80 or sum such thing?

    just wondering, again know nothing about programing, so maybe i shouldn't even post.
    There are four lights.
  3.    #3  
    thanks for the reply, i tried that but still not luck
  4. rub2008's Avatar
    Posts
    46 Posts
    Global Posts
    78 Global Posts
    #4  
    Orange Key + SYM + P DOES WORK!!!. I just tried it and it works just fine. I have the new upgrade 1.3.1 I use this everyday. Its essential for my work.

  5.    #5  
    Quote Originally Posted by rub2008 View Post
    Orange Key + SYM + P DOES WORK!!!. I just tried it and it works just fine. I have the new upgrade 1.3.1 I use this everyday. Its essential for my work.

    Im not talking about pressing the keys on the keyboard with your fingers.
    I need to be able to press a button on a program that I'm writting that takes a screenshot when pressed.

Posting Permissions