montrer une bande dessinée

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: montrer une bande dessinée

Re: montrer une bande dessinée

Post by joedf » 05 Jul 2016, 07:30

You should translate that second comment haha :p

montrer une bande dessinée

Post by garry » 01 Jul 2016, 15:26

montrer une bande dessinée avec huit images

Code: Select all

;- montrer une bande dessinée
;- creates a folder 'blondie' in a_scriptdir with 8-pictures
;--------------------------------------------------------------
#NoEnv
setworkingdir, %a_scriptdir%
Gui,2:  -DPIScale
Gui,2:Color,black
Gui,2:Font,  S10 CDefault , Lucida Console

P1=%A_scriptdir%\blondie\P1.jpg
P2=%A_scriptdir%\blondie\P2.jpg
P3=%A_scriptdir%\blondie\P3.jpg
P4=%A_scriptdir%\blondie\P4.jpg
P5=%A_scriptdir%\blondie\P5.jpg
P6=%A_scriptdir%\blondie\P6.jpg
P7=%A_scriptdir%\blondie\P7.jpg
P8=%A_scriptdir%\blondie\P8.jpg

fd1=%A_scriptdir%\blondie
ifnotexist,%fd1%
  filecreatedir,%fd1%

;http://imgur.com/a/mKu7g
ifnotexist,%p1%
  urldownloadtofile,http://i.imgur.com/o33K7tL.jpg,%p1%
ifnotexist,%p2%
  urldownloadtofile,http://i.imgur.com/XXHnz8j.jpg,%p2%
ifnotexist,%p3%
  urldownloadtofile,http://i.imgur.com/9F7Iqv7.jpg,%p3%
ifnotexist,%p4%
  urldownloadtofile,http://i.imgur.com/LVqgrOl.jpg,%p4%
ifnotexist,%p5%
  urldownloadtofile,http://i.imgur.com/KoYFTj5.jpg,%p5%
ifnotexist,%p6%
  urldownloadtofile,http://i.imgur.com/blJIQjT.jpg,%p6%
ifnotexist,%p7%
  urldownloadtofile,http://i.imgur.com/I4CqPLT.jpg,%p7%
ifnotexist,%p8%
  urldownloadtofile,http://i.imgur.com/4ZF2FMc.jpg,%p8%

WA=%A_screenwidth%
HA=%A_screenheight%

PW :=(WA*25)/100
PH :=(HA*30)/100

X1 :=(WA*1)/100
X2 :=(WA*27)/100
X3 :=(WA*53)/100

Y1 :=(HA*1)/100
Y2 :=(HA*32)/100
Y3 :=(HA*63)/100

GH :=(PH*3)+40
GW :=(X3+PW)+10

gui,2:add,picture, x%X1%  y%Y1% h%PH% w%PW%   ,%P1%
gui,2:add,picture, x%X2%  y%Y1% h%PH% w%PW%   ,%P2%
gui,2:add,picture, x%X3%  y%Y1% h%PH% w%PW%   ,%P3%

gui,2:add,picture, x%X1%  y%Y2% h%PH% w%PW%   ,%P4%
gui,2:add,picture, x%X2%  y%Y2% h%PH% w%PW%   ,%P5%
gui,2:add,picture, x%X3%  y%Y2% h%PH% w%PW%   ,%P6%

gui,2:add,picture, x%X1%  y%Y3% h%PH% w%PW%   ,%P7%
gui,2:add,picture, x%X2%  y%Y3% h%PH% w%PW%   ,%P8%

gui,2:show,x1 y1 h%GH%  w%GW%, Blondie
return

2Guiclose:
exitapp
;=====================================================

Top