rselva123 Posted November 2, 2010 Report Share Posted November 2, 2010 (edited) Hello Sorry I don't know Italian. Iam trying to get image of contact and draw on screen but I get only a blue rectangle instead of image ( I checked manually and there is an image linked to the contact). Could someone check what is the problem?Thanks in advance M-shell code below: use sms, contacts,graph; snd='01236790183'; id=contacts.findnr(snd, 10); if len(id)#0 then name=contacts.get(id[0], "pict")[0] else name=id;end; i=graph.icon([name]);print len(id); // get its size graph.size(i); // draw it //graph.put(20,20,i); // copy the icon i2=graph.icon(i); // scale the copy into a 100x100 square and draw it graph.size(i2,100,100); graph.put(20,120,i2); graph.show();sleep(5000); Edited November 2, 2010 by rselva123 Link to comment Share on other sites More sharing options...
Nalcwap Posted February 6, 2012 Report Share Posted February 6, 2012 Anyone know why?i want make show the picture in a script and in another script put an image in a contact but not understand how to make? Thanks Link to comment Share on other sites More sharing options...
Nalcwap Posted February 11, 2012 Report Share Posted February 11, 2012 Anyone please help ?thanks Link to comment Share on other sites More sharing options...
memoryn70 Posted February 16, 2012 Report Share Posted February 16, 2012 Anyone please help ?thanks First of all, I don't know mshell but are you actually sure it is possible to open an image with the contact name as argument and get it's image? Uhm... Link to comment Share on other sites More sharing options...
Nalcwap Posted February 16, 2012 Report Share Posted February 16, 2012 Yes in mshell tutorial have an example how see or put an image but i canot put to work Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now