Argument to Internet Explorer through MortScript ? - Windows Mobile Development and Hacking General

Hi,
I would like to create a scheduled task that will launch Internet explorer every day in a specific website.
This website will then be connected to radio on the web through wifi.
Actually, I can enable the wifi and launch IE.
Now I would like to connect to the specific website but I can't find how with MortScript.
Here is my script
Code:
# RunIE.mscr - start the default data connection and load IE
#Wifi Activation
Run ( "\Temp\AEBPlus_Switch_WiFi_Off_On.lnk")
Sleep 5000
# Internet explorer connecting to radios.wm.free.fr
Run ( "\Windows\iexplore.exe", http://radios.wm.free.fr/player?cat=1&radio=nrj&type=asx)
But it doesn't work :-(
The url is not passed to Internet Explorer.
Please could you help me ?
Thank you

I'd try to put quotes around the url:
Run ( "\Windows\iexplore.exe", "http://radios.wm.free.fr/player?cat=1&radio=nrj&type=asx")
or another thing you might try is to put the url in a local file and call it as your parameter.

Thanks joe !
the url about quotes is working fine !
Now I am trying to find a task scheduler !
I have tried RunEveyDay.exe (from xda-developers) but it doesn't work on my WM5
If you have any idea ... =))
P.S: My goal is to be waken up by a web radio

Related

Internet Explorer error

Hi, i have my trinity with WM6 for a long yime with no problems. But now i have 2 problems.
1- Can't open any page with Internet explorer it says "the adress is not valid. Check the adress and try again" and i have a connection in the phone because i can use opera or live messenger.
2- Can't do streaming either it says not enough storage to complete the operation (i have 25MB available).
can you help me?
I have the same problem also. I think it has something to do with registry cleaning made by sk tools or other software. I wonder if anyone knows witch registry keys should be set, because I don't have an earlier backup. If there's no solution I might have to install a new rom. BTW MediaPlayer and Internet explorer work fine for local adresses.
n0t said:
I have the same problem also. ...
Click to expand...
Click to collapse
I have the same problem. OS: WM6 v.4.02 by Faman
Regards
Ralf
try by
turning off pie, go to
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" in the registry and erase the key named "DefaultConnectionSettings"
when you open pie, this key will be regenerated regarding the proxies settings
didn't work... Anyone had this issue and solved it without a ROM update. Windows media player can't open url's also.

TYTN and LINUX Challenges

I am fighting with these challenges, i am near to the final positive result,but still have problems...
I hope you can help me.
1) connect to internet via DUN
2) Connect to internet via PAN
3) Connect to internet via USB modem
4) Connect to internet via USB Internet sharing
5) Browsing and synchronizing the device
These are the little result so far :
1) Installed this cab :
http://forum.xda-developers.com/showpost.php?p=1351044&postcount=21 (thanx to the Author) and DUN is again available.
IT works without problems with Winzoz, but i am not succeeding with Linux.
I made the usual steps (like this post explain, i.e. : http://klamstwo.org/evad/archives/20 ) linux finds the modem but cannot make it call... (init strings for the modem perhaps?)
What the init string for the TyTN modem?
Any Hints?
( an A1000 works perfect via DUN and the same stick)
2) I followed this guide (thanks to the author) http://www.klamstwo.org/evad/archives/40
And the whole thing works (bnet is connected with IP address 192.168.0.187 and has gateway 192.168.0.1 ) except the fact that i cannot browse internet pages.
Could it be a DNS problem?
I'll try manual configuration and let you know.
3) I tried the connection using the ttyUSB0, modem is ready but does not initialize... HINTS ?
4) SYNCE or something easier?
5) I think Synce is the answer, but at the moment it does not work in my distribution (mandriva). A lot of problems during installation (RPMs and source compiled, non difference). I'll try again. I've followed the How to published around here, (http://forum.xda-developers.com/showpost.php?p=1550906&postcount=4) but i have problems with odccm... it does not install.
other ideas?
I hope this post could become a sort of "mini how to", combining different issues related to the same argument : TYTN and LINUX
Thanx in advance to everyone who will help.
Are these challenges so HARD?
No one here around uses linux and TYTN?
Let's try solving one by one,
let's start with USB.
I tried this one
http://www.mobile-stream.com/usbmodem_wm.html
with windoz it is immediately recognized as a usb mmodem, but with linux the ppp scripts waits for "OK" till timeout.
I also tried the old wirelessmodem, the one for WM5, posted here
http://forum.xda-developers.com/showthread.php?t=306041 ,
but it does not show the kind of connection in the box (it is blank).
I tried to start it even if the box is blank, Windows recognizes it as a serial device, linux gets a lot of "OK" (KPPP) and Tytn shows the message "Please end data call first!"
I also tried this:
http://www.myehud.com/xv6600/usbmodem.html
But when i hit start It says "Not registered to the network!".
This is about Linux and USB moden... perhaps someone of you has succedeed?
Please report.
The other issue would be having internet sharing working with linux and usb ...
So linux users, let's try...
i'm a ubuntu user, and i feel you.. i don't want to run virtual box, so i just deal with no direct pda syncing.
i tried synce, and failed twice, months apart. (probably my fault somehow)
i do however have to use windows at work, so i end up doing most of my flashing and such there.
though, if you find a good NATIVE solution, let me know!
I am using Kubuntu, and can browse the My Documents folder of my PDA, so at least everything is talking to each other. However, I have not got round to configuring the synchronisation side of things; hopefully it should be possible.
Neil,
did you install synceor is somethingnative in your distribution?
Ahd what about the point 1 to 4?
Whether as internet sharing or modem, usb o BT, are you using the Tytn to connect thelinux box to the net?
I am really coing mad, i feel i am so near but i still cannot...
I don't understant why the Pand does not work for example, bnet has the right IP, has it's gatewaqy but still i cannot browse the net...
devilman - no, it was not native; I think it was SynCE, although, I can't be sure. It took some tinkering to get it going, but, now the device is immediately recognised when it is plugged in (USB) and ActiveSync is run.
To get the next stage working, I need to override the choice of library, as it continually tries to use an old version (libsync, I think), even though a new one is installed.
I have not tried 1-4, and, would not be sure how to do them, other than just trying to mount the device as a modem, and then using *99# as the number. In terms of init strings, these vary slightly by service- for example, for Vodafone UK, it is:
Code:
z+cgdcont=1,”IP”,”internet”
(The "z" at front is the AT command for modem reset; it might or might be necessary, but, sometimes helps the connection to work.)
well, I tried, as said in the first post,to use tytn asmodem.
To have it working with BT you have to install the hack in order to have DUn again.
To have it recognizedas a modem you have to put in in in the "modem" status (again, in WM6 wireless modem is not available,so you have to use the old one or the third party product).
In both case the lnux box connects with modem but i son't succeed in having it call the number...
I used the "usual" AT commands, like the "z" and the cgdcount...
Ideas?
I saw you'd got as far as having the device recognised as a modem, but didn't know quite how far you'd got. However, my Linux skills are so poor, I honestly wouldn't know where to go if the standard init. script did not work.
If terms of calling a number, would that not be *99# though?
Please, has noone found out how to have it working?
I am going mad about this.
I need a way to connect my linux box via tytn, usb or bt...
Any hint?
Uhm, for the last one (browsing the pocket pc) I use wm5torage. That turns your pocket pc into a USB disk and Ubuntu easily recognizes that as a removable drive. It is not the perfect solution but it is easy, fast and works.
and...i have another question
can anyone install an embedded-linux on Tytn, i mean use dual-system ?
is it possible?
ss1271 said:
and...i have another question
can anyone install an embedded-linux on Tytn, i mean use dual-system ?
is it possible?
Click to expand...
Click to collapse
there is another 3d all for this issue.
devilman said:
Please, has noone found out how to have it working?
Click to expand...
Click to collapse
I'm on Ubuntu 7.10 and running the official T-Mobile Austria WM6 upgrade on my Vario 2, Bluetooth PAN works flawlessly:
Code:
sudo pand --connect XX:XX:XX:XX:XX:XX
sudo dhclient bnep0
Back in WM5 days Bluetooth DUN worked as well, using the following chatscript in /etc/chatscripts/provider which I created with pppconfig:
Code:
# This chatfile was generated by pppconfig 2.3.17.
# Please do not delete any of the comments. Pppconfig needs them.
#
# ispauth chat
# abortstring
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED
# modeminit
'' ATZ+cgdcont=1,"IP","gprsinternet"
# ispnumber
OK-AT-OK ATDT*99#
# ispconnect
CONNECT ''
# prelogin
# ispname
#ogin: replace_with_name
# isppassword
#ssword: \qreplace_with_password
# postlogin
'' \d\c
# end of pppconfig stuff
and the corresponding /etc/ppp/peers/provider:
Code:
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/provider"
debug
/dev/rfcomm0
115200
defaultroute
noipdefault
remotename provider
ipparam provider
usepeerdns
of course, for this solution to work you would have to set up the rfcomm port for your tytn in /etc/bluetooth/rfcomm.conf
Code:
rfcomm0 {
bind yes;
device XX:XX:XX:XX:XX:XX;
channel 4;
comment "T-Mobile Vario II Bluetooth Dial-Up";
}
you should now be able to connect using the "pon" command.
I hope this post is of some help to you... good luck!
http://forum.xda-developers.com/showthread.php?t=344396
ya, too bad ;(
i still can`t use calendar or contact sync functions.
greets, Nik
devilman said:
4) Connect to internet via USB Internet sharing
4) SYNCE or something easier?
I hope this post could become a sort of "mini how to", combining different issues related to the same argument : TYTN and LINUX
Thanx in advance to everyone who will help.
Click to expand...
Click to collapse
Depending on your kernel version (I think this applies to 2.6.21 and greater, but check other docs to be sure), there is a kernel module known as usb-rnds-lite. Get it (links from synce wikis), make it, use it, love it.
I have used it to ICS several devices, 8525, 8925, BlackJack I and II... only quirk is that is works best to start ICS _then_ connect the USB cable.
I suggest you to read this article:
http://ubuntu-utah.ubuntuforums.org/showthread.php?t=598890
You can also search by Google: "bnep0 pand pda linux"

How to share files/folders between pc and ppc through WiFi

Hi Friends !!!
I want some way for sharing files between pc and ppc with wifi . i was bored from connecting my phone to pc by Cable .
can anybody help ? PLZ
My phone is HTC Diamond
total commander is an easy way to access shares from a pda
but of cause the pda have to be a valid user to the share like any other
computer trying to access a shared storage
You can also install an ftp server like Mocha ftp. After you have started the ftp server, you can use your favourite ftp client on the PC to access the files on the PPC - no need to poke/type on the PPC all the time if you're in front of a PC already.
Sorry but can u explain more about this ftp network .
i dont have any experience with FTP . what apps should i have ?
in pc ? in ppc ? :|
Sorry , but can u help with mocha ftp ? how is it work ?
and one thing more that how can i find my pc and ppc 's IP ?
remote desktop? u can rdp from the ppc to the pc and enable the disk share thing.
Resco File Explorer! It's Shareware - but works very well...
You see windows-shares-NAMES, no IP!
lg....
Mocha ftp is a free download from http://www.mochasoft.dk/freeware/ftpd.htm. You can find the license key just below the download button.
Once you have started the Mocha ftp server you should set a username and password in File -> Settings and then click on the Start button. The IP Address of the PPC is displayed on the status page of Mocha ftp server.
Now you should be able to use ftp://username:[email protected]_address from your desktop, or the command line ftp client, or any other ftp client.
Hmm, I just tried ftp://username:[email protected]_address from Windows Explorer and it did not work :-(
I don't know a good Windows ftp client, because I don't use Windows normally. Maybe someone else can help there.
sepehr_sar2000 said:
how can i find my pc and ppc 's IP ?
Click to expand...
Click to collapse
Start - Settings - connections - WLAN - 2nd tab you see your ip, but switch your wlan on.
Or use LANview, there you see all ip's in the network
Hi Boys .... I thank all your efforts for my problem .... TNX
I downloaded ( SmartFTP ) ftp client for windows and i tried to connect to my phone but it says :
[19:15:57] Resolving host name "169.254.26.25"
[19:15:57] Connecting to 169.254.26.25 Port: 21
[19:15:26] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
[19:15:27] Connect failed. Waiting to retry (30s)...
[19:15:27] Client closed the connection.
I Don't know what to do . HELP ME PLZZZZZZZ !!!!!!
Just to make sure: is 169.254.26.25 the same IP address you see in Mocha ftp server? And you clicked on "Start" in Mocha ftp server, so you see "State: online"?
If yes, it is possible that the Mocha ftp server is not compatible with SmartFTP (although it should work, but it did not work for me with Windows Explorer or KDE konqueror).
Just to make sure: is 169.254.26.25 the same IP address you see in Mocha ftp server? And you clicked on "Start" in Mocha ftp server, so you see "State: online"?
Click to expand...
Click to collapse
yes it's all right . IP , Start , Online all is right .
If yes, it is possible that the Mocha ftp server is not compatible with SmartFTP (although it should work, but it did not work for me with Windows Explorer or KDE konqueror).
Click to expand...
Click to collapse
I Tried with almost all programs , but .................
Isn't there any other way except ftp ???
Try this http://forum.xda-developers.com/showthread.php?t=467877 it works
I usually use hfs file server. Very simple and powerful but can not do folders. The best for files. Be anywhere with a wifi connect & download from your pc running hfs direct to your phone.
Mocha is nice too. Use Total commander's ftp abilities on your pc while mocha is running on your phone.
I will say for large files such as a 500+ mb avi, a card reader is faster.
Shaiulud said:
Try this http://forum.xda-developers.com/showthread.php?t=467877 it works
Click to expand...
Click to collapse
his method works. im very grateful. i did have to tinker with it a lil bit, but once u find the my network tab and map it. i used my windows log in name and pw and bamm. now i can open all my shared files and copy stuff both ways on my entire network. i bought resco explorer 2 off of handango, but i guess u can use it free for trial somewhere. hopes this helps u out. im using a att fuze btw

Auto connect for ICS / Internet share on WM6.1

Hi,
I'm looking for a way to use my old Wizard running WM6.1 as a gateway for a PC. The challange is that this PC does need to be connected permanently to the Internet and will upload every 5 min a picture of a webcam. The Wizard needs to be in a mode so that it does directly start the ICS and connect to the public Internet in case of a restart..
I already disabled the SIM PIN and copied the ICS link into the Autostart folder.
But how can I implement the last missing pice.. to press the connect button ?
Does anyone know some reg parameters for ICE or is there a parameter I can use in the link for the autostart folder ?
Any help is welcome..
Cheers
Markus

Internet sharing stock files/cab request (can't connect)

Hey after flashing my tp2 (Energy rom titanium w/manila 2.1 june 19 2010 rom) and installing a few cabs i cant get a connection to the share my internet connection by usb on my pc. I don't know if it was the rom or the cabs i installed. (Im using T-mobile data, epc.tmobile.com)
Under the registry HKEY_LOCAL_MACHINE/Comm/InternetSharing in the settings folder there is a file named: "Default", data: "value not set", Type REG_NONE. Under the status folder that same file is there along another NAME: Enable, Data0x00000001(1), Type REG_DWORD. This is when i have the phone connected to pc and using internet sharing. I think my registry might be messed . The device is recognize that is trying to access the internet on the PC but it just doesn't establish the connection. Can anyone help me out? Is there such thing as a stock internet sharing cab or if some one sent me their registry files would that fix the problem? Thankx

Categories

Resources