I think the problem is with MsgBox here. The syntax is wrong. The commas there are following the full syntax of MsgBox.DaveT1 wrote:Hi Avi,
ClipJump continues to be very useful to me....I've just started using the api, but have the following Q on this code:
The paste command works. And when I show the msgbox, I see entries for temp1 and temp2. But not for temp3 - it appears to be blank. I have a second channel (ie., channel 1), and when I try that I also see nothing returned.
Code: Select all
#Include publicAPI.ahk cj := new Clipjump() cj.paste(1, 1) ; From ClipJump paste entry 1 from channel 1 temp1 := cj.getClipAt(0, 1, 1) temp2 := cj.version temp3 := cj.getChStrength(0) MsgBox, %temp1%, %temp2%, %temp3%
I'm sure I've done something mindless here, so would appreciate a pointer as to where I've gone wrong.
Try MsgBox % temp1 . temp2 . temp3