BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 Scripts
 Question About Magicscript Language
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

BurakC
Starting Member

17 Posts

Posted - 31 Jul 2010 :  09:45:58  Show Profile  Edit Topic  Click to see BurakC's MSN Messenger address  Reply with Quote  View user's IP address  Delete Topic
Hi, I try to write script for some web site. I store some strings in variable with #TAKEWORD#=#13#,#11#,#12# command. But I want use find command in #13# variable. #FIND# command only search in Current Line. How do I search in #13# or other string based variables?

My Code example;

#POSTER#
#STARTREADWEB#

#GETMOVIEVAR#=#25#=#DIRECTLINK#

#TAKEWORDLEN#

#TAKEPOSTER#=#25#

#ENDPOSTER#

I use direclink for download but I before download postprocess in #25# I must extract real download link from directLink.

Prinz
Senior Member

Germany
1522 Posts

Posted - 31 Jul 2010 :  13:14:17  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
That is impossible, there is no function for that. A function for this is on my feature request list:

http://www.binaryworks.it/forum/topic.asp?TOPIC_ID=6381
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 01 Aug 2010 :  09:50:19  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Guys,

The function #GETMOVIEVAR#=#25#=#DIRECTLINK#

already exist and should work correctly.

Let me know if there are problems.

Thank you,

Ale

http://www.facebook.com/pages/eXtreme-Movie-Manager/47220214342?ref=mf
Go to Top of Page

BurakC
Starting Member

17 Posts

Posted - 01 Aug 2010 :  16:44:28  Show Profile  Edit Reply  Click to see BurakC's MSN Messenger address  Reply with Quote  View user's IP address  Delete Reply
Hi yes that function exist and works. But real problem I must some process with #25#. I get Cover url to #25# with #GETMOVIEVAR#=#25#=#DIRECTLINK#. But this is not real URL for the picture. Real world examples is;

#DIRECTLINK# = http://t1.gstatic.com/images?q=tbn:Lv6dieFUHRNOMM:http://thegeekreview.com/wp-content/uploads/2007/11/terminator.jpg

this is small preview images generated from google.

But real image link is must be, http://thegeekreview.com/wp-content/uploads/2007/11/terminator.jpg

When I get #DIRECTLINK# to #25# I must find real picture link from #25# string.
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 01 Aug 2010 :  17:25:48  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You must search and take the link form the webpage.

Like i sad: You can't search inside variables (Strings), remove parts or get only parts of them. There are no functions for that. You can only add Data to the beginning or end of a variable (String).
Go to Top of Page

BurakC
Starting Member

17 Posts

Posted - 01 Aug 2010 :  17:53:41  Show Profile  Edit Reply  Click to see BurakC's MSN Messenger address  Reply with Quote  View user's IP address  Delete Reply
@Prinz : I understad to you. But Alessio Viti miss understand to me. This explain for him.

I wrote Google Images Search script if I use Real Picture Link in Founded Movie List. Take long to load in Preview Window befor download.
Go to Top of Page

Alessio Viti
Forum Admin

Italy
9171 Posts

Posted - 01 Aug 2010 :  19:10:31  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Sorry guys, the only problem seem to be my bad english

I don't know if I can make such functions, I will try but I have much things to do before that.

Thank you!

http://www.facebook.com/pages/eXtreme-Movie-Manager/47220214342?ref=mf
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.14 sec. Powered By: Snitz Forums 2000 Version 3.4.07