[WM6.5] Launch "Settings" and "Start Menu" from shortcut - Windows Mobile Development and Hacking General

just like to share with you how with those who need a command line for
"Settings" aka "Control Panel" and for
"Programs List" aka "Start Menu"
there have been apps like "control.exe" and "folderview.exe" which did the same but on my device (and os) it is not working anymore.
however, you need mortscript:
to launch "Settings" execute this command:
Code:
Show(FindWindow( "Settings", complete, yes, no, no, "MSSTARTMENU" ))
to launch "Start Menu" simply execute this command:
Code:
SendWin
i am sure it will be of help for those who create their own UI

Add this:
Launch "Programs":
Code:
Show("Pograms")
Launch "Settings" for WM5/6.0/6.1
Code:
Show(FindWindow( "", complete, yes, no, no, "Dialog" ))
Launch "Settings" for WM6.5
Why not use
Code:
Show("Settings")
since this window has a valid title.

is it possible to use the above command lines in an lnk file?

twfx said:
Why not use
Code:
Show("Settings")
since this window has a valid title.
Click to expand...
Click to collapse
... because mortscript tries to find the "best" fitting window for your criteria. if you just provide "Settings" mortscript might also find another window named Settings.
but you are right it is not mandatory - just regard the other parameters as additional.

oldsap said:
is it possible to use the above command lines in an lnk file?
Click to expand...
Click to collapse
yes it is. just write path and name of the .mscr file in your .lnk file - just as you would do with .exe files

Can U guys please provide ready mortscript or lnk to launch Seetings in wm 6.1 ? I would be very gratefull ! Because i get confused what shall i do ... Thankx a lot !

Krzysiec said:
Can U guys please provide ready mortscript or lnk to launch Seetings in wm 6.1 ? I would be very gratefull ! Because i get confused what shall i do ... Thankx a lot !
Click to expand...
Click to collapse
i do not know if the above code really works on wm6.1
but i warmly recommend to install total commander which can do all for you:
you can create a file, rename it to <name>.mscr
add the above script line - save and close
double tab on the script and it is being executed
if it works, control panel will appear
to create a shortcut: there is also a menu for creating shortcuts

egoist6 said:
i do not know if the above code really works on wm6.1
but i warmly recommend to install total commander which can do all for you:
you can create a file, rename it to <name>.mscr
add the above script line - save and close
double tab on the script and it is being executed
if it works, control panel will appear
to create a shortcut: there is also a menu for creating shortcuts
Click to expand...
Click to collapse
But which string exactly ? Because there are few of them above :/ Tried to create mscr files with settings string for WM 6.1 but no luck Can`t get this work ...
Unknown function findwindow
Line:
Show.......
Invalid parameter count for `Show`
Line:
Show.......
Those two errors pop up...

Krzysiec said:
But which string exactly ? Because there are few of them above :/ Tried to create mscr files with settings string for WM 6.1 but no luck Can`t get this work ...
Unknown function findwindow
Line:
Show.......
Invalid parameter count for `Show`
Line:
Show.......
Those two errors pop up...
Click to expand...
Click to collapse
as said i do not know if string
Show(FindWindow( "", complete, yes, no, no, "Dialog" ))
really works as i can't test it myself. if problems appear post here again and you'll be helped
however, you need v4.3 which is beta (but works perfectly stable). here. that's why you get error messages.

Show("Settings") worked

I've been looking for a way to re-start the 6.5 start menu for a few weeks now. I've been using Magic Button, and even when I put the start menu on the MB exclusive list, it still kills it occasionally when exiting. The 'sendwin' morscript doesn't revive it. Any ideas on a command that would? Thanks.

Farmer Ted said:
I've been looking for a way to re-start the 6.5 start menu for a few weeks now. I've been using Magic Button, and even when I put the start menu on the MB exclusive list, it still kills it occasionally when exiting. The 'sendwin' morscript doesn't revive it. Any ideas on a command that would? Thanks.
Click to expand...
Click to collapse
hm. not sure what the problem exactly is.
what do you mean by re-start start menu?

Well, with magic button you can actually kill the start menu. I believe it's part of a service, but haven't been able to track it down. For instance, I've used sk tools to save the list of running services, killed the start menu, then looked at the services and not seen any obvious changes (the same goes with processes). When the start menu is dead, it won't open up at all. I'd like to find out how to get it going again without resetting.

Farmer Ted said:
Well, with magic button you can actually kill the start menu. I believe it's part of a service, but haven't been able to track it down. For instance, I've used sk tools to save the list of running services, killed the start menu, then looked at the services and not seen any obvious changes (the same goes with processes). When the start menu is dead, it won't open up at all. I'd like to find out how to get it going again without resetting.
Click to expand...
Click to collapse
check it with dotfred's taskmanager and browse through the windows.
probably magic button closes this window.

Maybe the HoneyComb is shell32.exe, can you confirm?
And what is other side-effects without honeycomb?
Edit: I'm on the reverse side, want to kill it ! Just no device to test it ATM, but eager to know, also several weeks looking for this.

Just install magic button, it kills all!

Thanks Farmer Ted for the info, another lite tool added to my suitcase: MagicButton.
Just still curious to know what is exactly the WM6.5 Start Menu. (Edit: Check this tread for the start menu close issue.)
To be less off-topic, here is another thread talking about similiar issue of this thread:
http://forum.xda-developers.com/showthread.php?t=381281

wg5566 said:
To be less off-topic, here is another thread talking about similiar issue of this thread:
http://forum.xda-developers.com/showthread.php?t=381281
Click to expand...
Click to collapse
yeah. i know as i have posted a solution to this thread. that was wm6.0 or wm6.1.
those apps mentioned in the thread you are talking about do not work on wm6.5
this thread is about wm6.5

Farmer Ted said:
I've been looking for a way to re-start the 6.5 start menu for a few weeks now. I've been using Magic Button, and even when I put the start menu on the MB exclusive list, it still kills it occasionally when exiting. The 'sendwin' morscript doesn't revive it. Any ideas on a command that would? Thanks.
Click to expand...
Click to collapse
Add MSSTARTMENU to your exclusion list. That is what I just did to Smartskey.ini exlude list for closeapp

Krzysiec said:
Show("Settings") worked
Click to expand...
Click to collapse
Hi
i tried this but does'nt work...
can u help me please? (i'm on WM6.5)
SendWin
Sleep( 2000)
Show("Settings")
End
The startmenu opens but i have the error message: could not find window 'Settings'

Related

shortcut to games folder?

hi folks,
have spent most of the day searching the forum and must be missing this
is there a way to create a shortcut that will open the games folder? wanting to use with slithers c++ cube
many thanks
chris
\Windows\Start Menu\Programs\games
ather90 said:
\Windows\Start Menu\Programs\games
Click to expand...
Click to collapse
LMFAO!!!!!! He should ask more questions in the Slither Cube thread....
ather90 said:
\Windows\Start Menu\Programs\games
Click to expand...
Click to collapse
cheers for the assistance I tried that one, the link comes up as intrusted / unsigned
works fine as a direct link through programs , just not through the cube
any ideas?
First Go here then try here
no joy so far
tries shortcut creator, been through the lnk thread... again....
tried google...
there must be a way to shortcut to a specific folder???
if you read the actual 051 thread, slither discusses this many times and says it won't be available until 052
I think it involves passing a parameter to fileexplorer...
Look at this post: http://forum.xda-developers.com/showpost.php?p=2120755&postcount=140
chrisd1a1 said:
hi folks,
have spent most of the day searching the forum and must be missing this
is there a way to create a shortcut that will open the games folder? wanting to use with slithers c++ cube
many thanks
chris
Click to expand...
Click to collapse
create a link to your file explorer
tap and hold
select properties
add '-windows\start menu\games' to the end of the link so you should end up with something like
program files\file explorer.exe -windows\start menu\games
cheers for the help folks, still no go.
will have to see if slither can resolve in the next release
bbobeckyj said:
create a link to your file explorer
tap and hold
select properties
add '-windows\start menu\games' to the end of the link so you should end up with something like
program files\file explorer.exe -windows\start menu\games
Click to expand...
Click to collapse
I got it wrong, no '-' before the address
"fexplore.exe" windows\start menu\programs\Games
exactly as above in the properties of any .LNK will do it
bbobeckyj said:
I got it wrong, no '-' before the address
"fexplore.exe" windows\start menu\programs\Games
exactly as above in the properties of any .LNK will do it
Click to expand...
Click to collapse
cheers mate but vust links to the 'my device' page on file explorer no matter what i do.
have looked into and edited folderview.exe so it should route to an alternative folder but the signature is not taking via msigner.
was thinking that this might be the 'simple' way but must be doing something wrong, was thinking set the shortcut to a generic option (ie Windows/Start Menu/Programs/Test) would give some flexibility (we could just add/rename folders in the program list
any idea what i am doing wrong on the resign?
edit: unsign/resign done will work on the edit to see if i can get this to work
chrisd1a1 said:
cheers mate but vust links to the 'my device' page on file explorer no matter what i do.
have looked into and edited folderview.exe so it should route to an alternative folder but the signature is not taking via msigner.
was thinking that this might be the 'simple' way but must be doing something wrong, was thinking set the shortcut to a generic option (ie Windows/Start Menu/Programs/Test) would give some flexibility (we could just add/rename folders in the program list
any idea what i am doing wrong on the resign?
edit: unsign/resign done will work on the edit to see if i can get this to work
Click to expand...
Click to collapse
well i can find the path, edit the path and run on my xda...
but the dam think defaults to the program folder no matter what i do!!!!
anyone any ideas?????
Please try this It's part of Wisbar Advance 3, Start Panel. Files in folder my documents > my documents and exe put somewhere.
http://ike-dats.thez.info/public/startpanel.rar
If you have problems with startup (blank white page) and using wktask or programs like this, make exception to run always in background. Then to refresh list you must restart it.
IkE Blaster said:
Please try this It's part of Wisbar Advance 3, Start Panel. Files in folder my documents > my documents and exe put somewhere.
http://ike-dats.thez.info/public/startpanel.rar
If you have problems with startup (blank white page) and using wktask or programs like this, make exception to run always in background. Then to refresh list you must restart it.
Click to expand...
Click to collapse
Hi IkE Blaster, Spot on, works perfectly!!!! is it possible to edit the config to allow folks to choose the folder?
if this works, it is a configarable menu option that will work with any 3rd party app
all credit to you!!!!
hope you dont mind but have added the link to Slither's c++ cube thread
rename this .txt file to .LNK and you should have it
bbobeckyj said:
rename this .txt file to .LNK and you should have it
Click to expand...
Click to collapse
thanks for trying, this works as a seperate link but not through the cube??? for some reason it brings up Internet Explorer????
You can change the "url" of folder in config file, if you select for example start menu, than can you change folder tapping the top curtain. But you can go only in includes folder. I can't explain it, try it yourself
cheers man,
appreciate the work
thanks for your help
IkE Blaster said:
Please try this It's part of Wisbar Advance 3, Start Panel. Files in folder my documents > my documents and exe put somewhere.
http://ike-dats.thez.info/public/startpanel.rar
If you have problems with startup (blank white page) and using wktask or programs like this, make exception to run always in background. Then to refresh list you must restart it.
Click to expand...
Click to collapse
Is their a way to elaborate a bit further on this solution?? I have WA3 but no idea on how to use this?

[APP][18.11.2008] Manila2D patcher -> SSMaPa2D version 0.2.2.1 [abadoned/read]

[size=+2]SSMaPa2D no more continued[/size]
Take the SSMaPa version. its customized also for manila2d.
http://forum.xda-developers.com/showthread.php?p=2400995
---------------------------------------------------------------------------------------
[size=+0][18/11/2008] SSMaPa2D (Alpha) 0.2.2.1 (18/11/2008)[/size]
Hi guys,
simple Manila2D patcher -> SSMaPa2D version 0.2.2.1
this version is only for Manila2D devices! For Manila3D use this link:
http://forum.xda-developers.com/showthread.php?p=2400995
please test it and let me know if there are bugs…
Patch options:
.) Replace Calender
.) Replace Mail
.) Replace Opera
.) Replace Camera
.) Time Click Man2d
.) Bluetooth Settings
Note: extended Init not possible at the moment. If someone facing UnauthorizedAccessException tell here.
How does it work ?
1.) Copy SSMaPa2D.exe to pda and start it.
2.) Press "Init"
3.) Under settings – click on description line what you want to change
4.) Then change the program what you want in fields below + click on "patch" + "save"
5.) Under deploy – click "Deploy".
After that you can exit the program.
If your files are signed, you're asked if you want to unsign them.
Please note, I didn't find a way to remove the signatures in a 'correct' way. I do an exe-based-deactivating. This is ok, as long as you don't want to resign them. If you want to resign them with your own certificate chose no and do it by hand.
Also I didn't have a manila2d testdevice... So it was a little bit difficult to test the application, but I had a motivator and beta tester
Thank you camel (camro)!
Please donate for me! I'm a apprentice and use a lot of my free time for working on the computer, to be able to create such tools.
[size=+2]Thank you [/size]
Received Donations:
none for SSMaPa2D
Cu sven
Version 0.2.2.1 (18/11/2008)
- First release
--> Excuse the Versionnumber. It's because of the paralell-developement from SSMaPa and SSMaPa2D
-- reserved --
I must be doing something wrong; I don't have anything showing up under the description line.
fredcatsmommy said:
I must be doing something wrong; I don't have anything showing up under the description line.
Click to expand...
Click to collapse
strange.
if others have same problem, post here and mail me your manila2d.exe...
thank you
I like the idea of this, but I am having a problem. When I select a description to edit and then select the ..., although all folders is selected, not all of them are showing up. I am missing Program Files, Windows, etc. Looking forward to a fix for this.
this is a "file explorer" related problem.
ex:
1.) please check the link file of creating of a "new appointment" on thumbal folder in start menu with a file browser (ex: total commander resco explorer)
2.) copy the string from there then to m2d patcher . the same on paramter - i (have tested it) and it works
@sven - maybe you can post a screen shot of the gui on first posting.
camro said:
this is a "file explorer" related problem.
ex:
1.) please check the link file of creating of a "new appointment" on thumbal folder in start menu with a file browser (ex: total commander resco explorer)
2.) copy the string from there then to m2d patcher . the same on paramter - i (have tested it) and it works
@sven - maybe you can post a screen shot of the gui on first posting.
Click to expand...
Click to collapse
I realize I can create the path manually or copying it from a link, but I would much rather be able to browse to the file I want and have the app create the path . I use Resco File Explorer, so getting the full path is no issue. Thanks.
It seems I can only assign the software in the storage card. Is there any way for me to assign the software in the main memory ?
chihliouma said:
It seems I can only assign the software in the storage card. Is there any way for me to assign the software in the main memory ?
Click to expand...
Click to collapse
you can copy the software the every location and you can start the software from every location.
if you need this very often - create a link to the exe and move it to your start menu folder - thats it
@browing with the file explorer extension.
i know that there is somewhere an extra plugin for browsing easier to folder directions.... maybe somebody can do a search under xda...
camro said:
@browing with the file explorer extension.
i know that there is somewhere an extra plugin for browsing easier to folder directions.... maybe somebody can do a search under xda...
Click to expand...
Click to collapse
Use FileDialogChanger / gsgetfile.dll for a better filedialog
http://www.geocities.co.jp/SiliconValley-Cupertino/2039/
take the english and not the japanese version
How to point to Day view, Task .. shortcut of ThumbCal ?!
I just copy all path (view the Task.lnk, Dayview.lnk ... by Resco Explorer) but it say error !
shpy said:
How to point to Day view, Task .. shortcut of ThumbCal ?!
I just copy all path (view the Task.lnk, Dayview.lnk ... by Resco Explorer) but it say error !
Click to expand...
Click to collapse
don't copy the whole path.
enter only the exepath, then do the arguments in argument box.
for example:
exe: \Interner Speicher\Programme\ThumbApps\ThumbCal\ThumbCal.exe
argument: -i
working dir: \Interner Speicher\Programme\ThumbApps\ThumbCal\
cu
sven
svenso said:
don't copy the whole path.
enter only the exepath, then do the arguments in argument box.
for example:
exe: \Interner Speicher\Programme\ThumbApps\ThumbCal\ThumbCal.exe
argument: -i
working dir: \Interner Speicher\Programme\ThumbApps\ThumbCal\
cu
sven
Click to expand...
Click to collapse
Please, can you make Task, Day view of Thumbcal work ?! I done exactly what you wrote above but it's not work. (changed the path, and i can make Thumbcal work.)
svenso said:
Use FileDialogChanger / gsgetfile.dll for a better filedialog
http://www.geocities.co.jp/SiliconValley-Cupertino/2039/
take the english and not the japanese version
Click to expand...
Click to collapse
Ok, I guess I can make you easier here. Download the attachment and unzip and copy inside 2 files (you should choose "show all files" option when using the file explorer) into \windows.
After that, go to Settings/System tab, then you should see "File dailog Changer". Enter the software, and choose the "Exchange Standard File Dialog, click "add". Now it should trigger the shield feature of file browser for SSMAPA2D now.
Now you can assign the software as you want by using SSMAPA2D.
Nothing showing up under "Settings" tab
Hi,
INIT seems to work but the settings tab is empty and I cannot add or change anything.
Any ideas?
What am I doing wrong?
Regard,
John
jhuppertz said:
Hi,
INIT seems to work but the settings tab is empty and I cannot add or change anything.
Any ideas?
What am I doing wrong?
Regard,
John
Click to expand...
Click to collapse
do you have a cooked rom?
svenso said:
do you have a cooked rom?
Click to expand...
Click to collapse
Yep, this one http://forum.xda-developers.com/showthread.php?t=416636
jhuppertz said:
Yep, this one http://forum.xda-developers.com/showthread.php?t=416636
Click to expand...
Click to collapse
I don't know exactly why, but cooked rooms can cause problems..
I don't have the time to flash all posssible roms and check if ssmapa works..
sorry
This is the path of task.lnk of Thumbcal:
".../thumbcal.exe" task?thumbcal....
So, what and where should i type in :
New program:
Arguments:
Working Dir:
??
shpy said:
This is the path of task.lnk of Thumbcal:
".../thumbcal.exe" task?thumbcal....
So, what and where should i type in :
New program:
Arguments:
Working Dir:
??
Click to expand...
Click to collapse
new program: full path to thumbcal is the simpliest thing...
search for thumbcal.exe. In this format: "/programs/myprogram/myprog.exe"
arguments: task?thumbcal....
working dir: full path to thumbcal is the simpliest thing (but don't add the exename, only "/programs/myprogram/" not "/programs/myprogram/myprog.exe"
cu sven

Link Rhodium 'All People' to a softkey/hardkey

Is this remotely possible, I find that HTC finally got it right with the All People part of the People Tab.
I really have no use for the tab itself but just go their to use the all people which has the contact/favs/call history simular to iContact so what I would like to do is use GreenButton to hook All People to the Green Send Key.
I would like this "all people" to link to the left soft key on the homescreen. I know how to remap the key, by changing HKLM/Software/HTC/Manila\HomeLSKPath. But I don't know what to put there... Does anybody know the original command for the "all people"-screen???
Try creating a shortcut with
"\Windows\ManilaShortcut.exe" people
Then you can set it to a button. Works for me, hope it helps.
Or this:
"Manila://people/browserlayer/peopleAll.page"
Create link in Start Menu
Hi iggy
You need to create a .lnk file shortcut in the Start menu folder and then use the buttons setting to map it to the long press green button. A .lnk is just a .txt file with the extension renamed to .lnk.
The start menu folder is:
\Windows\Start Menu\Programs\
Copy this command into a text file:
44#"\Windows\Manila.exe" --switchtopage Manila://people/browserlayer/peopleAll.page
Rename the extension to .lnk and copy into the start menu folder.
Cheers
andrew-in-woking
HKEY_LOCAL_MACHINE\Software\HTC\Manila:HomeLSKPath->"\Windows\manila.exe" --switchtopage Manila://people\browserlayer\?.page
Don't forget the quotation marks...it's really important
HKEY_LOCAL_MACHINE\Software\HTC\Manila:HomeLSKText->Name it, what ever U want
Restart Manila...be happy!
Works fine for me...
Works on HD2
icke said:
HKEY_LOCAL_MACHINE\Software\HTC\Manila:HomeLSKPath->"\Windows\manila.exe" --switchtopage Manila://people\browserlayer\?.page
Don't forget the quotation marks...it's really important
HKEY_LOCAL_MACHINE\Software\HTC\Manila:HomeLSKText->Name it, what ever U want
Restart Manila...be happy!
Works fine for me...
Not working on Manila 2.5!!!
Click to expand...
Click to collapse
Working perfectly on my HD2 - thanks! Currently running latest Elegancia v9.0 eCHT ROM on latest Manila.
Works great! Thanks man!

Problem with Bluetooth!

Hello all
Just delete the bluetooth in window start up and now I can not open Bluetooth to send file with others device anymore. Is there any one know how to add it again. I'm gratefully very much!
Thanks and best wishes!
The shortcut is to "\Windows\BTTrayCE.exe".
kilrah said:
The shortcut is to "\Windows\BTTrayCE.exe".
Click to expand...
Click to collapse
Thanks you man
May I know which software that you use to add shortcut BTTrayCE again? Now in Window I can not find it or even I tried to use SK Tool to add new Value but still unsuccessful.
Thanks so much for solution!
find BTTrayCE.exe in windows folder, press and hold, choose copy, , scroll up and go into 'startup' folder, click menu - edit - paste shortcut

[Q]How to launch a program at startup

hello to all
i have a exe file and i want to lauch it at every startup ....i tried to add in startup folder with app.dat but the program does not launched but it is correctly situated in startup folder ...i have to click the exe file to launch ...will anyone please help me if u have any solution ...
thanks to all
Put the .exe anywhere then try putting a link to it in the \Windows\Startup folder
NilsP said:
Put the .exe anywhere then try putting a link to it in the \Windows\Startup folder
Click to expand...
Click to collapse
thanks but this method not working ...;i have to click that program to launch
Hi,
second methode:
Code:
[HKEY_LOCAL_MACHINE\init]
"Launch50"="\\Program Files\\Your Tool\\Example App.exe"
with friendly greet
starbase64
Try to pun a .lnk instead a .exe in Startup folder (through app.dat i mean),not completly sure but i just checked my Startup folder and i can see only .lnk inside.
starbase64 said:
Hi,
second methode:
Code:
[HKEY_LOCAL_MACHINE\init]
"Launch50"="\\Program Files\\Your Tool\\Example App.exe"
with friendly greet
starbase64
Click to expand...
Click to collapse
thanks bro but still not working i tried this method..;my file is in windows
REGEDIT4
[HKEY_LOCAL_MACHINE\init]
"Launch151"="\\Windows\\notifbar.exe" .;;i have putted 151 just like that
af974 said:
Try to pun a .lnk instead a .exe in Startup folder (through app.dat i mean),not completly sure but i just checked my Startup folder and i can see only .lnk inside.
Click to expand...
Click to collapse
thanks yes i tried but not working
You may need to add a depend key for the app, and make sure it launches after everything else. If there's too much stuff going on during startup when it's trying to launch, perhaps there isn't enough available memory to get it going. Just look at the other depend keys; basically, I think you just want to list all of the processes launched in the init queue. You could also increase the delay time between launches (this might work better w/ the startup folder) from 5 seconds to 6 or 7.
Farmer Ted said:
You may need to add a depend key for the app, and make sure it launches after everything else. If there's too much stuff going on during startup when it's trying to launch, perhaps there isn't enough available memory to get it going. Just look at the other depend keys; basically, I think you just want to list all of the processes launched in the init queue. You could also increase the delay time between launches (this might work better w/ the startup folder) from 5 seconds to 6 or 7.
Click to expand...
Click to collapse
ok thanks bro will try this
One-tier versus Two-tier Devices
Windows Mobile Device Security Model
One-tier versus Two-tier Devices;
The first part of the security policy is known as access tiers; devices can have one-tier or two-tier access.
To me it seems you have a two-tier access shafizal.

Categories

Resources