yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] imbunned:
Can you inform me if I have made a mistake

porgrams config

if (regread("hklm", "System\StorageManager\Profiles\movinand", "AutoFormat")>0)
a=regread("hklm", "System\StorageManager\Profiles\movinand", "Folder")

else

a=regread("hklm", "System\StorageManager\Profiles\SDMemory", "Folder")

endif

b=systempath("Programfiles")

Programs=(a & b)

Regwritestring("hkcu", "Operaext", "Player", Programs \ "Coreplayer\player.exe")

Regwritestring("hkcu", "Operaext", "ucweb", Programs \ "UCWEB\UCWEB.exe")

Regwritestring("hkcu", "Operaext", "opera9", "Windows\OperaL.exe")

Regwritestring("hkcu", "Operaext", "opera10", Programs \ "Opera Mobile 10\Opera10-armv4i.exe")

Regwritestring("hkcu", "Operaext", "uzardweb", Programs \ "uZardWebP\uZardWebP.exe")

operaext

player=regread("hkcu", "Operaext", "player")
ucweb=regread("hkcu", "Operaext", "ucweb")
uzardweb=regread("hkcu", "Operaext", "uzardweb")
opera9=regread("hkcu", "Operaext", "opera9")
opera10=regread("hkcu", "Operaext", "opera10")

while Procexists OperaMini5-WM-armv4.exe
if wndactive Opera Mini

x=cliptext()

r=readfile("\Windows\Clipboard.txt")
if (x ne r)

writefile("\Windows\Clipboard.txt", x)

a=find(x, ".mp4")
s=find(x, ".mp3")
b=Find(x, "youtube.com/watch")

if(a+s<>0)

switch(Question("Mp4-Mp3 found.For watch press Yes, For Download press No", "Mp4", "YesNoCancel"))
case(yes)
y="http://"
Run ( player, y.x )
if NOT procexists player.exe
Message "CorePlayer not installed. pls install"
endif
case(no)
Run (ucweb, x)
if NOT procexists UCWEB.exe
Message "UCWEB not installed. pls install"
endif
case(cancel)
Endswitch

elseif(b<>0)

k=find(x, "v=")
y=k+2
z=substr(x, y)
s=find(z, "&")
w=s-1
q=substr(z, 0, w)
a="video.nepalwap.com/details.php?item="
setcliptext ("&action=download&type=18&btget=Download")
b=cliptext()

switch(Question("Youtube Video found.For watch press Yes, For Download press No", "YouTube", "YesNoCancel"))
Case(yes)

i="http://"
Run (player, i.a.q.b)

if NOT procexists player.exe
Message "CorePlayer not installed. pls install"
endif
case(no)
Run (ucweb, a.q.b)

if NOT procexists UCWEB.exe
Message "UCWEB not installed. pls install"
endif

case(cancel)

endswitch

elseif(a+b=0)
c=find(x, ".")
if (c<>0)

switch(question("For Opera Mobile Press YES, for uZardWeb press NO", "Question", "YesNoCancel"))
case(yes)
Run(opera9, x)
if NOT procexists OperaL.exe
Run (opera10, x)

if NOT procexists Opera10-armv4i.exe
message "Opera Mobile Not installed. PLS install"
endif
endif
case(no)
Run (uzardweb, x)
if NOT procexists uZardWebP.exe
Message "uZardWebP not installed. pls install"
endif
case(cancel)
endswitch
endif
endif

endif
endif

sleep 1000
endwhile
if NOT procexists OperaMini5-WM-armv4.exe
Disconnect
endif

i dont know mystorage way(for omnia) do you know?
[Windows Mobile Development and Hacking General] frmariam:
Forgot to submit my reply yesterday...

I wasn't actually using this scrips :p But I just made some of the changes I suggested (I didn't do point 5 because I don't have much time to spare).

PS: PocketDownloader isn't quite working... If anyone knows how to pass download links to PocketDownloader as a command I'd appreciate the info.
[Windows Mobile Development and Hacking General] JaCoL_JcL:
And what about a megavideo.com video?

There is a chance to add this servis ?
[Windows Mobile Development and Hacking General] frmariam:
Sure... If I knew how to generate the freakin download url without a premium account...
[Windows Mobile Development and Hacking General] JaCoL_JcL:
I know I know but in MegaVideo u can watch without premium 72 min of videos...

I watch it on UZARD WEB but in 20 min of movie program is close (no error no nothing :/)

Any chance to sream this non premium video on CorePlayer?

PS BTW Now I watch FUTURAMA seazons on MegaVideo.com :P GOOD NEWS EVERYONE :P
[Windows Mobile Development and Hacking General] frmariam:
Try this. It's a bloody mess but should work (you need to edit the first part of the script to match the path for the apps in your device).

If anyone knows how to get MegaVideo download urls I'd appreciate the knowledge.
[Windows Mobile Development and Hacking General] imbunned:
thanks. have not tried yet but looks great:)
[Windows Mobile Development and Hacking General] frmariam:
Improved MegaVideo support! Just copy the megavideo link and it'll do the rest (some stuff will show in the screen for moment but just let it work).

PS: I'm using Keep-Tube to get the most important part of the address (token2):

"http://www" & fvar_s & ".megavideo.com/files/" & token2 & "/video.flv"

I believe it's "calculated" from the flashvars.s, flashvars.un, flashvars.k1, flashvars.k2 values from the page source. If anyone knows where I can find the formula I wouldn't need to piggy-back on Keep-Tube....
[Windows Mobile Development and Hacking General] JaCoL_JcL:
Hmmmm On my device is a problem with COREPLAYER - i change patch from TCMPM do CP adn when i open a YT movie my device is STUCK - only SoftReset save it :o The same sytuation is with MegaVideo link.

Checkt this dude, I prefer a CorePlayer that TCPMP !!
[Windows Mobile Development and Hacking General] frmariam:
This is not my thread or project. The attached script was modified for personal usage. I'm just sharing it because I added a website (some people can find it useful... the method I used can be adapted to add more websites). If you wish to use this script you'll need to change it (it's tailored for my system language and apps... you can use it with whatever apps if you prefer).

I don't own a copy of CorePlayer (hence I don't use it... also because I despise what Core did to the TCPMP project) but I doubt that's the problem. Most likely you introduced a typo or forgot to change some of the paths to the apps (the script works fine in my device... the faults I experience are from the other apps).

PS: It may also be because of the Mortscript version (don't know why...). 4.3b15 is the latest version (more recent than the one bundled in the cab).
[Windows Mobile Development and Hacking General] imbunned:
for your favorite posts of xda-developers. check new message with mortscript. (only 7-8 kb data exchange, very speedy)

because it's the control that the link for example,

http://xdaforums.com/misc.php?do=whoposted&t=781203

o=find(x, "xdaforums.com")
m=find(x, "t=")
.
.
.
.
.
.
.
.
.
.
a=cliptext()
b=""""
c="Connect ""The Internet""^NL^b=""http://xdaforums.com/misc.php?do=whoposted&t=""^NL^err=find(address, ""t="")^NL^c=find(address, ""="")^NL^d=Substr(address, c+1)^NL^f=b.d^NL^if(err=0)^NL^message ""Invalid Address""^NL^exit^NL^endif^NL^x=readfile(f)^NL^y=find(x, ""Total Posts"")^NL^z=substr(x, y)^NL^q=find(z, "":"")^NL^w=substr(z, q+2)^NL^e=find(w, ""<"")^NL^r=substr(w, 0, e-1)^NL^if (regkeyexists(""hkcu"", ""xda"")=0)^NL^regwritestring(""hkcu"", ""xda"", name \ ""posts"", r)^NL^endif^NL^s=regread(""hkcu"", ""xda"", name \ ""posts"")^NL^if(s eq """")^NL^regwritestring(""hkcu"", ""xda"", name \ ""posts"", r)^NL^s=regread(""hkcu"", ""xda"", name \ ""posts"")^NL^endif^NL^if (r>s)^NL^regwritestring(""hkcu"", ""xda"", name \ ""posts"", r)^NL^if question ( r-s & "" "" & ""unread message. Do you want go to post"", name & "" "" & ""unread message"")^NL^createshortcut(""\Windows\a.lnk"", ""http://"" & address)^NL^run ""\Windows\a.lnk""^NL^delete ""\Windows\a.lnk""^NL^endif^NL^else^NL^message( ""No New Message"", name)^NL^endif"
d="address="
e="name="
f=input("Give a name..a shortcut will be created with this name (\My Documents\XDA)", "name", FALSE, TRUE)
g=".mscr"
j=systempath("documents")
if NOT direxists (j \ "\XDA")
mkdir (j \ "\XDA")
endif
m="\XDA\"
i="^NL^"
writefile(j.m.f.g, d.b.a.b.i.e.b.f.b.i.c)

Note: link format must be this

http://xdaforums.com/showthread.php?t=781203&page=5

independent opera. cab file to try
[Windows Mobile Development and Hacking General] imbunned:
hi firend:) congrulations for megavideo work. but i think codecs may be porblems. for example on 2 vp6. tcpmp supported this codec but its slow playing to this codecs As you well know. see you later:)
[Windows Mobile Development and Hacking General] JaCoL_JcL:
Thanks for this :)

This is really TRUE and SAD :(

)

I prepare this script to polish roms m8 I edut mscr and change all patch for apps!

Got newstest one :)
[Windows Mobile Development and Hacking General] blackmeto:
hey thanks for your tweaks i use this as my default web browser.

i do have one issue though, i have a google search box on my today and when i use it it opens mini but, its using the vanilla opera mini and not using your tweaks.

do you think this can be fixed?
[Windows Mobile Development and Hacking General] JaCoL_JcL:
hmmm If u want to use this scrypt just make shortcut to this file \Windows\Operaext.mscr and execute it when u open opera mini without Opera Mini MOD.lnk

Then this MOD is active.
[Windows Mobile Development and Hacking General] imbunned:
i tired frmariam's megavideo script on my pda and pc. its can find all direkt links. great work:) and no problem. but coreplayer can't play and ucweb can not download. operaL can download. i do not try tcpmp
[Windows Mobile Development and Hacking General] imbunned:
i am not understand because i dont know english:(
[Windows Mobile Development and Hacking General] imbunned:
which script?
[Windows Mobile Development and Hacking General] frmariam:
Update

Ok so I added a bunch of website (didn't test very long though so there may be bugs). I intend to add a whole lot more but for now I must go study (no time to play).

The current script has lots of redundant code (will cleanup later... should make it a lot smaller).

So far supported:

Youtube

Megavideo (piggyback on keep-tube.com)

Google Video

Metacafe

MySpace videos

Facebook videos

Sapo Videos

As per usual this is my personal script (not the official one) and everyone is free to modify it (in fact you'll need to at least change the paths for all the apps to suit your device).
[Windows Mobile Development and Hacking General] marijanstanisic:
Virus detected
[Windows Mobile Development and Hacking General] Kellicros:
Doesn't work on my xperia x1, after following the installation steps, Opera Mini would not launch at all. When i uninstalled it and reinstall the official Opera Mini, it boots with a blank screen forever.
[Windows Mobile Development and Hacking General] frmariam:
@marijanstanisic

You should consider changing antivirus. AFAIK every file in this thread is clean.

@Kellicros

The shortcut and scripts in the cab look for specific install paths (in English system localization). My scripts were tailored for Portuguese localization (apps installed to "A minha memória"). If your system setup is different you need to edit these components or else it won't work.
[Windows Mobile Development and Hacking General] boki999:
Is it possible to add option for landscape mode in Opera mini settings? I have HTC MEGA with no accelelometer, please!
[Windows Mobile Development and Hacking General] imbunned:
extract zip file and copy rotate.mscr to your sd card. when you want the screen rotate click this mscr. (while active opera mini) sorry my english

if procexists OperaMini5-WM-armv4.exe
rotate 270
else
rotate 0
endif

UPDATE POST #65
[Windows Mobile Development and Hacking General] frmariam:
Update

Ok so I added a couple more websites and did a partial rewrite (changed a bit how the script works and removed a lot of redundant parts... I didn't test much so it may contain bugs):

Sites supported

Youtube

Megavideo

Google Video

Metacafe

MySpace videos

Facebook videos

Sapo Videos

Vimeo (new)

Photobucket (new)

PS @ imbunned:

I think I never really answered this... In my device for "My memory" there is no "movinand" just:

HKLM\StorageManager\Profiles\INAND\Folder

HKLM\StorageManager\Profiles\MMC\Folder

Also as an alternative to your current method you could check the apps setup folder like the example bellow:

HKLM\Software\Apps\TCPMP The Core Pocket Media Player\InstallDir

Also the way you are doing it you don't need to use RegWrite... Just define the variables like:

TCPMP = RegRead( "HKLM", "Software\Apps\TCPMP The Core Pocket Media Player", "InstlDir")
player = TCPMP & "player.exe"
[Windows Mobile Development and Hacking General] imbunned:
or

TCPMP=systempath("programsmenu") \ "TCPMP.lnk"

but Some people are very often return to factory settings. for example me:)

i not install all programs. instead i use shortcut thecnic. I was so I wanted to use the path to the memory card. Do you have a suggest about it?

Meanwhile, congratulations for this work is related to the video sites:)
[Windows Mobile Development and Hacking General] imbunned:
mort=regread("hklm", "software\apps\mort's mortscript", "installdir")
programs=part(mort, "\MortScript", 1)

operamini=programs \ "Opera Mini\OperaMini5-WM-armv4.exe"
player=programs \ "CorePlayer\player.exe"
ucweb=programs \ "UCWEB\UCWEB.exe"
uzardweb=programs \ "uZardWebP\uZardWebP.exe"
opera9="\Windows\OperaL.exe"
ie="\Windows\iexplore.exe"

this?:)
[Windows Mobile Development and Hacking General] imbunned:
instead use this. this is pretty good for opera

if (regread("hklm", "system\gdi\rotation", "angle")=270
rotate 0
else
rotate 270
endif
[Windows Mobile Development and Hacking General] Almazick:
It would be nice to add the feature for Google Voice https://www.google.com/voice/m when I click on Play message it shows only Save dialog instead of just opening the file in player.
[Windows Mobile Development and Hacking General] frmariam:
Google Voice is only available in the US... You can see how it'd be hard (no actual way to test) for someone from anywhere else to do it right?
[Windows Mobile Development and Hacking General] imbunned:
https protocol will be a problem. I do not think that it is possible
[Windows Mobile Development and Hacking General] frmariam:
@imbunned:

Using the Mortscript folder as the base for the apps setup dir is a bad idea (you're assuming it's the same... I personally keep Mortscript in the internal memory).

Also looking for shortcuts is not perfect either since they may be in the root of the "Start menu" folder (like in WinMo 6.1 roms... Mortscript has a function to find it in international roms) or more commonly in the "Programs" folder (this folder has different names in different languages).

It seems there'll be no universal way to make this work without at least minimum configuration from the user... I'll make the config part dynamic in the future (so nobody has to edit the script).

Anyway I have a small update. Made the script more tidy, finally (sort of) added Pocket Dowloader integration (still not automatic... but you just need to create a new download and the rest is done) and added Dailymotion support.

Sites supported

Dailymotion (new)

Facebook videos

Google Video

Megavideo

Metacafe

MySpace videos

Photobucket

Sapo Videos

Vimeo

Youtube

Also while trying to bring native support to MegaVideo I have created a binary converter in Mortscript (may prove useful for more websites).
[Windows Mobile Development and Hacking General] imbunned:
thanks and sorry i am late. If there is not an error, fix it? install the cab and go to the \ operaminiset.mscr (for shortcuts)

Would you please check.thanks:)
[Windows Mobile Development and Hacking General] imbunned:
hi frmariam,

i want to download videos from http://www.izlesene.com

can you make it for me?
[Windows Mobile Development and Hacking General] frmariam:
Sorry but I can't seem to find the first part of the download link...

Exemple:

[COLOR="red"]188.132.178.151[/COLOR]/data/videos/2664/2664107.mp4/895e0049df349157299876ce5c45e5ba/4cc6eb95

If got this with Free Media Catcher. The red part is what I can't seem to get from the page source (and I don't know how it's generated). Don't know if there are other url formats accepted since I couldn't find any info so far for this website.

I'm also currently without a home internet connection (I'm at a cafe) so it makes things even harder.
[Windows Mobile Development and Hacking General] imbunned:
yes, some video-download sites, give a link in this format. but can not download. firefox video downloader also find a link and downloading the same format. Anyway, thanks for disclosures:)
[Windows Mobile Development and Hacking General] imbunned:
I changed the script. do not use copy and paste. instead i use colorat this is wonderfull
[Windows Mobile Development and Hacking General] porkenhimer:
is there any way to fix the zoom? when zooming it zooms in way to far. is there a way to make it zoom to 100%-125% instead of zooming in 200%? the picture quality is horrable because it zooms in 200%.
[Windows Mobile Development and Hacking General] emptyara:
I installed in omnia 2 device memory, run mortscript, but can't even run opera mini..

uninstalled using sktools, clear memory, soft reset.

I installed it back in My Storage, run mortscript, able to run, BUT after 3 seconds, my other application (Oxford 7) appeared half on top of opera mini..I can't use the browser since my screen split into 2.. :confused:
[Windows Mobile Development and Hacking General] nunilo:
script doesn't work any more for yt, probably yt changed something

any chance to update script, tnx
[Windows Mobile Development and Hacking General] imbunned:
this is now very difficult. Instead, try getytv.

You can do something like the following changes in the scipt. of course, will vary according to device coordinates

a=part(x, "v=", 2)

a=part(a, "&", 1)

a="http://www.yotube.com/watch?v=".a

Run \Internal Storage\Program Files\GETYTV 1.2\Getytv.exe

waitforactive("GETYTV 1.2", 25)

sleep 100

mouseclick(240, 640)

sleep 100

mouseclick(135, 512)

sleep 100

mouseclick(154, 235)

sleep 100

Sendctrlkey v

sleep 100

mouseclick(214, 283)
[Windows Mobile Development and Hacking General] imbunned:
i made a new script and use color at. when you press mini opera help menu; my script auto running. its very cool. whats your device screen resulotion?
[Windows Mobile Development and Hacking General] Almazick:
I just reset my phone and reinstalling all the applications. After installing Opera mini extra from post 1 in search options opera pops up auto completion letters which is very annoying. How do I disable auto completion when I type? Thank you
[Windows Mobile Development and Hacking General] Jbazt_katuforzs:
thread starter i guess you can help me. since this is a modified opera mini native version im sure you know what i must do here. i managed to edit the server address in the executable of the cab using a hex editor and successfully saved the changes and overwrite the original exe file. but when i install the cab with the modified .exe it sez that its not digitally signed. really needed your help here pls...
[Windows Mobile Development and Hacking General] siavash_218:
hi

I have a problem with operamini.cap in font farsi.

my problem is in RTL & LTR reading font.

sample "سلام" show for me is "مالس"

please help me.
[Windows Mobile Development and Hacking General] rasoooli:
Me Too . :(
[Windows Mobile Development and Hacking General] 我唉NEC:
i have look for your thread for a long time ,hope this version'll be fine.
[Windows Mobile Development and Hacking General] imbunned:
a few days later friend:)
[Windows Mobile Development and Hacking General] imbunned:
tv,mp3,video vs..

try this

http://xdaforums.com/showthread.php?p=13150561#post13150561
[Windows Mobile Development and Hacking General] Tammekas:
First off thank you for the tweak to opera. Secondly im really going to sound stupid now and want to know if there is a possibility to watch movies from the site like letmewatchthis.com and other like it?

Through TCPMP or Core would be ideal.

Anybody smarter please chip in and help me out. (search not working)

i have got QTEK 9000, HTC tytn 2, IPAQ 214 and Pocket Loox N520.

Tan.
[Windows Mobile Development and Hacking General] latestpriceco:
hiii

hey, great work buddy. don't worry for errors. change them later.
[Windows Mobile Development and Hacking General] phatcool:
I am having problems related to copy-paste. After I block and copy any texts in OperaMini, appear an option to open it in OperaMobile or UZardWeb, I select "Cancel" then paste in OperaMini or in other applications, but it's result is always an apostrophe character, not the text that i've been copied. ThxB4~ :)
[Windows Mobile Development and Hacking General] bummler:
is there a chance to get different zooming steps in opera mini 5.1 like opera mobile 9.7? or a zoomingbar ?

does the touchpanel zoom on touch pro 2 works on opera mini 5.1?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Conflikt Icey:
So this is my first thread and I'm not really sure if this is the right place to post this topic.

Basically the title says it all.

FYI:

running darkstone's FroyoStone v2

http://xdaforums.com/showthread.php?t=747492

unmounting the SD card before attempting to install

un-installing Google Maps 4.4 before attempting to install using Titanium Backup and still no luck

What I'd like to know is if there is a work-around and if not at least a reason why it's unable to install.
[HD2 Android Q&A, Help & Troubleshooting and Genera] blacksage:
I second this

I also have this problem and just wanted to ring in, I suppose we could just try a different build.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Conflikt Icey:
Do you know if it's just FroyoStone related though, or just any hd2 android build
[HD2 Android Q&A, Help & Troubleshooting and Genera] The_Steph:
Conflikt Icey,

If you had read the thread or at least did a search for maps in Darkstone's ROM thread you would have found this : http://xdaforums.com/showpost.php?p=8096500&postcount=3117

It worked for anyone that tested it, so I suppose it will work for you too...
[HD2 Android Q&A, Help & Troubleshooting and Genera] Sleef:
I had problems installing on HyperDroid 1.2 and, at some point in time, it installed behind my back.
[HD2 Android Q&A, Help & Troubleshooting and Genera] creed:
Tried it, didn't work for me. The directory structure was different to that.
[HD2 Android Q&A, Help & Troubleshooting and Genera] creed:
Anyone got any further suggestions? I can't be the only one with this problem surely as I am using FroyoStone V2 which seems to be pretty popular.
[HD2 Android Q&A, Help & Troubleshooting and Genera] d3l1:
I couldn't install it with HyperDroid 1.2 but now with Bangsters 1.3 it worked without a problem. You just have to do the installation manually.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Conflikt Icey:
Yeah I just tried Bangsters build too and it installed without any issues. So I guess it's build related
[HD2 Android Q&A, Help & Troubleshooting and Genera] DontHate:
i dont get how to do it manually.

it says manual installation required at the bottom, but how do i do it?

sorry for my stupidity
[HD2 Android Q&A, Help & Troubleshooting and Genera] Conflikt Icey:
Just go to the market, select Maps and then update. It's relatively straight-forward
[HD2 Android Q&A, Help & Troubleshooting and Genera] DontHate:
thanks for the reply. in the meanwhile i tried to download the apk to my phone and install it

it ran but said installation unsucessful.

then i followed some links and downloaded that brut apk to my sd and it installed

thanks again everyone it was pissing me off
[Touch2 Themes and Apps] sarac3no:
I looking for something for the volume of the radio FM.

I would like installing power radio, but I readed that my phone isn't on the good list.

Somebody can help me?

Thank's!
[Touch2 Themes and Apps] ahhl:
somehow when i press the centre of the volume up/down button (it clicked), the FM radio sound seems increase. try on yours maybe it works