[Q] Wildcards allowed in WMplayer links? - Windows Mobile Development and Hacking General

Using quickmenu, I have created a .lnk file to WMplayer.exe and as a parameter I can add a file "/MP3/TEST.MP3"
Then, when I assign the link to a hardware button, it automatically opens up WMPLAYER and starts playing TEST.mp3.
My question is, is there a way to add a wildcard to a link? if /windows/wmplayer "/mp3/*" to be able to play whatever file is in that folder without specifying the name of the file?
(I know the above doesn't work, as I have tried it.)
I would like the hardware button to play whatever is in that directory without having to change the link every time.
Thanks

Related

[new release] VJBrisk - very specific file launcher

Guys, don't get excited, this is just a teeny tiny app for a special request:
http://forum.xda-developers.com/viewtopic.php?t=50460&start=0&postdays=0&postorder=asc&highlight=
I'm basically not releasing anything for a while whilst I work on my new website, which is taking ages
However, this app is just used to launch an app in the same folder, with the filename
VJTarget.exe
or a shortcut called VJTarget.lnk.
This is very specific in use. You don't need it, I'm sure.
But if you have an app that can launch an .exe, but won't launch a shortcut with a command line, then this might be for you (I know some button redefiners and Today launchers might get use out of this)
So, basically, if you want to run VJDialer with a command line in TomTom:
1. Create a shortcut to VJDialer and set it up as you normally would.
2. Check the shortcut to ensure it works.
3. Copy it to your target folder.
4. Copy VJBrisk.exe to the same target folder.
5. Rename the shortcut you made in Step 1 to VJTarget.lnk.
6. Running VJBrisk will now launch VJTarget with its command line etc.
So, setup TomTom to run VJBrisk, and VJBrisk will then launch a file called VJTarget.exe or VJTarget.lnk in the same folder.
Like I said, very specific, but a good experiment for me with some nice string classes
On my (old) website.
V
Thanx!
I will rewrite my question here, because it's + appropriated:
i will try NOW your app.... only a question:
VJbrisk.exe launch only one vjtarget.lnk or just rename it (exe) with the same name of the link to have more than 1 phone link?
(es Vjbrisk1.exe call Vjbrisk1.lnk, Vjbrisk2.exe call VJbrisk2.lnk etc ?
sorry 4 my english
:::EDIT:::::
i HAVE AN IDEA!
If a Vjbrisk.exe read from a text file vjtarget.txt :
links = 2
link1: vjdial.exe 123456789;
link2: vjdial.exe 987654321;
then by renaming as Vjbrisk1.exe or vjbrisk2.exe the program execute the link into the txt?
the counter is for vjbrisc[X].exe, from x=1 to x=[links].....
or the exe filename can be compared with a string written into the txt:
"VBrisk1.exe" = vjdial.exe 123456789
"VBrisk2.exe" = vjdial.exe 123456789
I don't know is it's possible.... however good work for all others apps that you've made !
VJBrisk will launch VJTarget.exe or VJTarget.lnk.
I could make it so that renaming VJBrisk Eg VJBrisk2.exe will launch VJTarget2.exe.
But for your TomTom setup, I suggest you just use a different folder and a different copy of VJBrisk for each app you need to run.
The text file option is possible, but may be more complicated then just renaming the .exe as I describe above.
V
ok thnx 1000
accidental presses solved
thanks again to kokotas and vijay555.
kokotas for his ROM that allows me to replace \windows\biotouch.exe without difficulty
vijay555 for his VJBrisk that allows a "new biotouch.exe" to launch a shortcut to s2u2.exe
this means slide2unlock2 will remain locked, even if there are accidental presses/brushes(due to hardware design) while my elf is in my pocket.
Hi, Vijay.
Is there any chance that you could modify this app so that it would pass the command-line parameter it was launched with on to the shortcut?
Here's what i'm trying to acchieve:
I'm using a QR Code reader called quickmark that can read a URL from the barcode, and open it in a web browser. It can ce switched to use Opera instead of IE, but it attempts to launch the executable called OperaLaunch.exe from /Windows, while my Opera9 beta exec is on the storage card, and it's called Opera9.exe
I tried to create a shortcut to it, rename it to VJTarget.lnk, and place it in /Windows along with VJBrisk renamed to "OperaLaunch.exe". When i tried to access a web page from quickmark, opera was launched, but it opened its home page, as if it didn't receive the command line parameter. Manualy running the link with URL as command line parameter worked fine, so it seems that VJBrisk doesn't pass the parameter...
[new version!] Command line support
mr_deimos - that's a really good idea. I don't know why I had never supported it before.
Can you please try this new version.
It's been years since I've made a cab, so for now, just a new .exe.
Let me know if it works ok for you.
VJBrisk 0.2 with command line support
V
Whoa, i didn't notice this version before. Thanks for making the update and sorry for the late reply.
However unfortunately it still doesn't seem to pass the command line parameters. Right now i don't have the opera9 anymore, but i tested it with netfront:
I have the vjbrisk.exe renamed to OperaLaunch.exe and vjtarget.lnk (pointing to my NetFront executable on storage card) in my /windows dir.
If i run:
Code:
\windows\vjtarget.lnk http://www.xda-developers.com
Netfront opens up, and loads the xda-dev website.
But ruunning:
Code:
\windows\operalaunch.lnk http://www.xda-developers.com
NetFronf fires up, but loads its homepage instead of this website Of course the same happens with QuickMark - it just launches NF, without loading the proper page.
vijay555 said:
mr_deimos - that's a really good idea. I don't know why I had never supported it before.
Can you please try this new version.
It's been years since I've made a cab, so for now, just a new .exe.
Let me know if it works ok for you.
VJBrisk 0.2 with command line support
V
Click to expand...
Click to collapse
it works fine, but can you make an option so that it is possible to use it multiple times in one directory =?
ex:
manila2d use on homescreen hardcoded:
-> clock.exe for timer+
-> calendar.exe for outlook calendar.
# # # #
now i want to use:
-> clock.exe for spb time
-> calendar.exe for thumbcal
so i overwrite calendar.exe + clock.exe with your tool(copy vjbrick.exe to calendar.exe + clock.exe) + make the link to vjtarget....
so how can handle your tool this for different targets ?
my idea would be that there is
1.) vjbrick.exe looks to its own exe-name and searching for a file with extension: ".vjb" . there the call is inside to the correct exefile + paramter
so for example:
1.) copy vjbrick.exe to calendar.exe + copy to windows(overwrite the orig file)
2.) generate a file calendar.vjb + inside there is: "programm files\thumbcal\thumbal.exe -day" + copy the file to \windows
manila2d->
THEREFORE: a lot of guys which are searching therefore a solution !!!!!!!!!!!
cu camel
Deprecated
Guys, VJBrisk has been updated and relaunched here
http://forum.xda-developers.com/showthread.php?p=3252253#post3252253
V

Files Types and Extensions

I can rename a file, that's easy, but when downloading cab's (or doc's) from this site (by Opera) it tries to rename them to download with an extension of .php which is not much use. Even if I rename it to (example) "Registry Wizard.cab" it still maintains the php ending making it not much use.
As-is I cant seem to find the button to disable the "Hide file extensions for known file types" which is pretty much the first thing I go after when I reinstall my desktop pc. Any idea how to fix that?
Also, is there any way to add extra file extensions? For example, is there any way for it to recognise .php as a .txt file without having to do the activesync check-in/check-out malarky?
Any help would be greatly appreciated.
I think gsfinder can edit extensions' settings.
V

Open a specific file with a custom program

More specifically, I want to be able to open AVI files with Coreplayer instead of WMP
Anyone know how I could do this?
I think you can try to find a program called Advanced Configuration Tool. It has a menu to change file associations of windows mobile.
I tried it but it didn't seem to change anything (tried to change ".txt"associated program from mobile Office to Notes, but it still opened it with Office)
I would also recommend to try Resco Explorer, which is an alternative file browser. It has an "Open with..." option when you right-click on a file you want to open.
GSFinder also allows you to change file associations. A great file browser, and free too!
V
File Explorer Extension
http://www.freewarepocketpc.net/ppc-download-file-explorer-extension.html
Adds: # Resizable header for easy sorting by file name, date of last modification or size
# Tree view of folders; you can now jump easily from a location to any other on your device in one step
# Show extension option for those who ask themselves the same question I do: “What type of file is this?
# Icon view that enables the display of files as icons similar to your desktop computer
# Real time image preview; now you don’t have to open several files in order to send the one you desire
# Open with Program allows you easily select an application to open the specific file you select (useful in case you don’t have the correct file associations or when you want Album app to open your images instead of Windows default picture viewer.
# File property context menu for easy renaming and attribute changing
# Open all executables with Parameters in case you need a special parameter when launching an application
# Sending shortcut to Programs for instant shortcut creation of executables placed directly in Programs folder in Start Menu.
open with program gives you the option to "Associate selected Program with this file type"
harrispo said:
More specifically, I want to be able to open AVI files with Coreplayer instead of WMP
Anyone know how I could do this?
Click to expand...
Click to collapse
am i missing something?
a) open core player - press open buton (the little one like a triangle) - go to location of your avi file - select avi file - press ok
for me it works with no problem
b) open core player - menu - tools - preferences - select page - file association - check video files box
c) open resco explorer - go to your avi file location - select your file by long pressing it - on the pop up menu select "open with" - check "always use this program..." box - select core player - press done
b) and c) should work even when you open your file from file explorer or resco explorer, etc.
good luck

Possible to change program assignments?

In my Dopod, when I click on a TXT file in my File Explorer, it always opens in MS Pocket Word. Then I have to be careful to select the correct file save as text files.
I installed some alternative NotePad programs but there appears to be no way to change the file extension type assignments to start up the correct program instead?
I have googled quite a bit but came up empty!
Anybody solved this problem?
Thanks!
AFAIK, Advanced Config has such an option to change file associations.
I had Advanced Config 3.2 already but did not know it had file association.
Found it under More Settings!
Unfortunately, when I tried to re-assign the program, it bombed when I was navigating the tree view.
Eventually, had to copy the application to \Program Files\ and select it from there!
After that, it seems to accept the settings.
Unfortunately, after the soft reset, the extension is still pointed to same application as before!
Latest update!
Something very funny is going on.
Advanced Config shows that the file association has been changed.
TXT file is now:
\Program Files\PocketTextEditor.exe "%1"
However, when I click a txt file in File Explorer, it still opens with Pocket Word!
Did I do something wrong?
Thanks!

[Q] accidentaly assosicated files in core player need help

i accidentaly associated my mp3 and was files in the core player now all my files just have a windows start icon next to them andare only openable in core player. when i click on the file in file explorer it says there is no program assocaited with this file. Any ideas? Thanks.
In general:
Open coreplayer -> Settings -> File Associations and uncheck all the file-types you don't want to be handled by coreplayer. After applying the changes you made (OK pressed) soft-reset device.
If this doesn't work:
In registry under HKEY_CLASSES_ROOT search for key .mp3 and get value of Default, probably audiofile. Now in registry under HKEY_CLASSES_ROOT search for key audiofile and correct there in all its subkeys the exename to your needs.
Same procedure for .was. Don't forget to soft-reset device afterwards.
thanks. What do i use to edit the registry. I havent done too much of that.
My favorite is Win32 freeware CeRegEditor. Of course this requires you can establish an ActiveSync connection between your Windows PC and your mobile device.
If you are not comfortable with registry, you can download this little freeware :
badschwii MyExtensions :
http://www.badschwii.com/download/setup_myextensions.zip
Just copy it to your storage card, and execute it... You'll be able to change File Extension...

Categories

Resources