BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 Scripts
 Actor's Photo

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
KenG Posted - 04 May 2012 : 01:24:50
Hi,

I have a lot of Actor's that don't have a photo of them.
I have used the normal Actor script's for all the other
information and just need a way to find a picture.
When I use Google image there are lots of picture's to chose from and
I started the slow process of copy and paste for each actor missing
the photo. Then I gave a modified GOOGLEIMAGES.txt script a go and I can select the picture in preview then click take selected but still end up with no picture. Can anybody help with this script?
---------------------------------------------------------
-	            eXtreme Movie Manager	               -
-   	         MagicScript Technology			 -
-       	   2006 Alessio "AleTsg" Viti		 -
---------------------------------------------------------
- Web :			Google Images 		 -
- Author :		Phyton	                             -
- Date  :		2/August/2010        		      	  -
---------------------------------------------------------

#MADEBY#=Phyton
#DATEBUILD#=2.August.2010
#WEBSITE#=Google Images
#NOTE#=Import Google Image As Photo
#SCRIPTQUALITY#=3
#SCRIPTGENERATION#=2
#LANGUAGESORT#=EN
#SCRIPTFORACTORS#=TRUE


#WEBQUERY#=http://www.google.com.tr/images?q=#NAME#

#TYPE#=0
[TYPE]=0=Complete|1=Covers|2=Trailers|3=Tunes|4=Subtitles|5=Chains|6=Mistakes|7=Games|8=Adult|9=Anime

#CREATEMOVIELIST#
    #STARTREADWEB#
    #WRITETITLELIST#=    
    #WRITETITLELIST#=Found Pictures
    #WRITETITLELIST#=-------------------------------
    #PUT#=0#00#
    
        #FINDLINE#=</span>G#10# #ONERROR#=*OK*

        #IF# #00#==#10#
           #GOTO#=ENDSEARCH
        #ENDIF#        
	 #REPEAT#
        #FIND#=<a href="/imgres?imgurl=#01# #ONERROR#=*OK*
	 #IF# #00#==#01#
           #GOTO#=ENDSEARCH
        #ENDIF#

	 #COMPUTECURSOR#=+23
	 #PUTCURSOR#=#01#
	 #FIND#=&imgrefurl=#03# #ONERROR#=*OK*
        #TAKEWORD#=#04#,#01#,#03#

	 #FIND#==&h=#07# #ONERROR#=*OK*
	 #COMPUTECURSOR#=+7
        #PUTCURSOR#=#07#
        #FIND#=&w=#11# #ONERROR#=*OK*
	 #TAKEWORD#=#08#,#07#,#11#
	 
	 #COMPUTECURSOR#=+6
        #PUTCURSOR#=#11#
        #FIND#=&sz=#12# #ONERROR#=*OK*
        #TAKEWORD#=#13#,#11#,#12#

	 #COMPUTECURSOR#=+7
        #PUTCURSOR#=#12#
        #FIND#=&hl=#14# #ONERROR#=*OK*
        #TAKEWORD#=#15#,#12#,#14#



	 #WRITETITLELIST#=#04#    ---> #04#  - resolution:#13#x#08# - size:#15#	


    #WHILE# #00#<>#01#
:ENDSEARCH

#ENDCREATEMOVIELIST#


#POSTER#
    #STARTREADWEB#

    //The directlink is directly the Cover!! I need this instruction (Engine V4.4)
    #GETMOVIEVAR#=#25#=#DIRECTLINK#

    #TAKEPOSTER#=#25#


#ENDPOSTER#




cheers
Ken
4   L A T E S T    R E P L I E S    (Newest First)
JDommi Posted - 18 May 2012 : 07:36:43
Great :)
And sorry for the wrong variable names. Havn't had a look at them myself.
KenG Posted - 17 May 2012 : 23:23:53
That did it, I first used #TAKEACTORDATA#/#ENDTAKEACTOR# and had nothing running it in MagicScript Editor or update in the Actor's grid. Changed it to #ENDTAKEACTORDATA# with the same result. Changed it to just #ACTORDATA#/#ENDACTORDATA# and
bingo the picture worked with the correct name and put it in the Movie_photos directory.
Thanks for your help JDommi

Cheers
Ken
JDommi Posted - 17 May 2012 : 10:10:04
I haven't tested it but try to replace the #POSTER#/#ENDPOSTER# block with #TAKEACTORDATA#/#ENDTAKEACTOR# and #TAKEPOSTER# with #TAKEPICTURE#.

*EDIT*
Please have a look here: http://xmm.a.wiki-site.com/index.php/MagicScript_Technology_Programmer%27s_Guide
KenG Posted - 17 May 2012 : 00:01:21
Look's like I'm the only one that want's to get this working, If I run the above script after changing
#TAKEPOSTER#=#25# to #TAKEPICTURE#=#25# and running it in MagicScript Editor I end up with a 0-.jpg in
my Movie_photos directory but if I select this script when I try to update an Actor no file is created.
So I'm at a loss to understand where I'm going wrong, any help would be appreciated.

Cheers
Ken

BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.08 sec. Powered By: Snitz Forums 2000 Version 3.4.07