rselva123 Pubblicato: 2 Novembre 2010 Segnalazione Share Pubblicato: 2 Novembre 2010 (modificato) 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); Modificato 2 Novembre 2010 da rselva123 Link to comment Condividi su altri siti More sharing options...
Nalcwap Pubblicato: 6 Febbraio 2012 Segnalazione Share Pubblicato: 6 Febbraio 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 Condividi su altri siti More sharing options...
Nalcwap Pubblicato: 11 Febbraio 2012 Segnalazione Share Pubblicato: 11 Febbraio 2012 Anyone please help ?thanks Link to comment Condividi su altri siti More sharing options...
memoryn70 Pubblicato: 16 Febbraio 2012 Segnalazione Share Pubblicato: 16 Febbraio 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 Condividi su altri siti More sharing options...
Nalcwap Pubblicato: 16 Febbraio 2012 Segnalazione Share Pubblicato: 16 Febbraio 2012 Yes in mshell tutorial have an example how see or put an image but i canot put to work Link to comment Condividi su altri siti More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Accedi Ora