View Full Version : [WM6.5] Launch "Settings" and "Start Menu" from shortcut
egoist6
30th July 2009, 07:50 PM
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:
Show(FindWindow( "Settings", complete, yes, no, no, "MSSTARTMENU" ))
to launch "Start Menu" simply execute this command:
SendWin
i am sure it will be of help for those who create their own UI
twfx
31st July 2009, 05:52 AM
Add this:
Launch "Programs":
Show("Pograms")
Launch "Settings" for WM5/6.0/6.1
Show(FindWindow( "", complete, yes, no, no, "Dialog" ))
Launch "Settings" for WM6.5
Why not use
Show("Settings")
since this window has a valid title.
oldsap
31st July 2009, 07:29 AM
is it possible to use the above command lines in an lnk file?
egoist6
31st July 2009, 11:08 AM
Why not use
Show("Settings")
since this window has a valid title.
... 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.
egoist6
31st July 2009, 11:09 AM
is it possible to use the above command lines in an lnk file?
yes it is. just write path and name of the .mscr file in your .lnk file - just as you would do with .exe files
Krzysiec
31st July 2009, 11:17 AM
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 !
egoist6
31st July 2009, 11:22 AM
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 !
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
Krzysiec
31st July 2009, 11:56 AM
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
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...
egoist6
31st July 2009, 02:38 PM
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...
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 (http://www.sto-helit.de/index.php?module=download&action=view&entry=124). that's why you get error messages.
Krzysiec
31st July 2009, 02:52 PM
Show("Settings") worked ;)
Farmer Ted
31st July 2009, 03:30 PM
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.
egoist6
31st July 2009, 07:28 PM
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.
hm. not sure what the problem exactly is.
what do you mean by re-start start menu?
Farmer Ted
31st July 2009, 07:55 PM
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.
egoist6
31st July 2009, 08:34 PM
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.
check it with dotfred's taskmanager and browse through the windows.
probably magic button closes this window.
wg5566
31st July 2009, 10:50 PM
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.
Farmer Ted
31st July 2009, 10:58 PM
Just install magic button, it kills all!
wg5566
31st July 2009, 11:35 PM
Thanks Farmer Ted for the info, another lite tool added to my suitcase: MagicButton (http://www.trancreative.com/mb.aspx).
Just still curious to know what is exactly the WM6.5 Start Menu. (Edit: Check this tread (http://forum.xda-developers.com/showthread.php?t=509160&highlight=start+menu) 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
egoist6
6th August 2009, 10:47 AM
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
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
RoryB
20th April 2010, 07:05 PM
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.
Add MSSTARTMENU to your exclusion list. That is what I just did to Smartskey.ini exlude list for closeapp
nogit
30th July 2010, 02:28 AM
Show("Settings") worked ;)
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'
MoorpheusS
7th August 2010, 10:02 PM
Hello, I tried the suggestions but I canīt launch StartMenu from shortcut....when I clik in it doesnīt happen!
I have a LG Incite and for now the solution is press the Call button and then press the start menu icon....the StarMenu button I desactivated via NueNoBar cab...
Suggestions?
tito12
17th December 2010, 09:44 PM
Hi
Since neither options mentioned in the 1st page worked for my 6.5.5 ROM, here's my script for "Settings" on one condition though: you have to move the Settings icon in Start menu to the top (i.e. to be the 1st icon).
Enjoy:)
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.