Start a program minimized - JAM, MDA Compact, S100 General

Hi to all.
Anyone know how to made automatic startup of application in minimized mode?
I must do this to workaround to a mms problem, effectively i can receive mms only if the message application(tmail.exe) is started.
I think a good solution is to put a link to the application in automatic startup of ppc and it works fine, but when i reset the device at the end of startup process the application is in the foreground.
Thanks to all.

This would be easy if you use wisbar advance 2 or spb pocket plus.
firstly,u will have to put the shortcut of the program's exe file in the windows/startup
secondly, if you wisbar you'll have to put it under task management and tick on minimise(or dont show the icon)
if you are a pocket plus user,put it under exceptions tab(go to "close button" properties and then to exceptions tab)
KAMAL

Thanks a lot but this don't solve my problem...
If i softreset the ppc when it restart the tmail application remain in foreground and i must close it by x button.
The application continue running correctly in background but if possible id' like to completely automathize this process without anyone user action.

Srry that cant be done. I did the same,when I wanted to run pocket informant to always run in the background
KAMAL

kdskamal said:
Srry that cant be done. I did the same,when I wanted to run pocket informant to always run in the background
Click to expand...
Click to collapse
There is no solution out of the box (unless there are hidden parameters that make the app minimize itself after starting, but who knows...) Both of you can workaround this with MortScript though. Google for the download link (use "MortScript" or "Mortscripts"), it is a freeware batch automation environment. Install it (small) and make up a script that you put into your autostart folders. It will look kinda like this:
Run \Windows\tmail.exe (or whatever other application you want)
Sleep 250 (adjust to how many milliseconds app takes to start)
Minimize <window title> (not .exe file name, but window title!)
That should do the trick.

Related

[Voice Command] How to "import" new fonctions

I'm looking for a small .exe file that can switch to Today screen without closing applications (like 'Today' option in SBP Pocket +)
Why, you'll ask me ?
Because I'd like to switch to today screen with my voice using Microsoft "Voice Command"
I'm already able to :
- Power off
- suspend
- soft reset
- Rotate screen
my Magician with some little applications command by voice but I can't find an exe file to switch to today screen...
Thanks in advance
I find what I was looking for
I post it there if it interests somebody...
I use PHM Keys for Pocket PC a freeware developed by Philippe Majerus
I extract PHMKeys.exe (34 Ko) and put it in \Program Files\Today (but you can put it wherever you want)
After this I create a shortcut in \Windows\Starting Menu\Programs to PHMKeys.exe with this Target :
Code:
"\Program Files\Today\PHMKeys.exe" Today?"\Program Files\Today\PHMKeys.exe",-117
I name it Today.lnk
That way when I pronounce "Launch Today" the today screen appears
Very interesting because I also use VC. And I do want to use it for more, than the built-in abilities.
1. How to create a shortcut and what do its elements mean?
2. How to switch between full volume/no volume + vibra? Built in command only changes telephone volume.
3. How do your other named shortcuts look like? (Power off and so on)
I think u can just say "start today" on voice command without any extra addon. I just tried it and it worked.
RE
Hi DocteurN
Can share how to use VC to
- Power off
- suspend
- soft reset
- Rotate screen
and what programs are required?
Thanks
I would realy REALY like to add skype ability to VC.
Much like as the call command works, but instead of a regular, using SkypeOut.
Like saying:
say: Skype <conctact name>
VC response: home or mobile
say: Mobile
I know it's like: offering a finger and trying to take the whole arm, but this would be realy convenient.
Anyone an idea if this could be accomplished?
Chatty > to create shortcut I use Resco Explorer : I Tap and Hold on PHMKeys.exe then Copy. Second Tap and Hold then Paste Shortcut.
A file named PHMKeys.lnk is created.
Rename it Today.lnk for example
Make a tap and hold on this file then Properties > Shortcut
That where you copy :
Code:
"\Program Files\Today\PHMKeys.exe" Today?"\Program Files\Today\PHMKeys.exe",-117
Copy the link in \Windows\Starting Menu\Programs and that's all
ioneng > Yes you're right !
but I'm using the french version of VC and I made a wrong translation of what I said
FOSA > I'm using little exe files (freewares) I've found on the net and that extracted from packages
Here they are :
Heimiko > Sorry for Skype I've got no idea...
Seeking deeply in 'PHM Keys' I find that you can use PHMKey.exe for a lot of interesting things just by creating shortcuts
Here are what you can do (text is from PHM site) :
Today - Returns to Today screen
My Documents - Opens My Documents folder
Close - Closes active program
Task Switch - Toggles between running programs
Next Window - Cycle through open programs forward
Prev. Window - Cycle through open programs backward
Undo - Cancels previous action
Redo - Cancels previous undo action
Cut - Cuts the selected item
Copy - Copies the selected item
Paste - Pastes the selected item
Page Up - Move one page up / to previous page
Page Down - Move one page down / to next page
Volume +/- Changes Volume
Lock - Shows the system password screen
Suspend - Turns off your Pocket PC
Rotate - Next display orientation clockwise
Rotate Left - Toggle display between 0° and 270°
Rotate Right - Toggle display between 0° and 90°
Rotate Reverse - Toggle display between 0° and 180°
I make a zip of all this shortcuts.
You just have to copy PHMKeys.exe in \Windows and the lnk files in \Windows\Starting Menu\Programs (you'd better create a folder before copy)
You can rename lnk files the way you want and it would work with VC
Now I'm looking for an exe file that can mute/unmute the volume.
You launch it one time => mute
A second time => unmute
I only find this utility : AutoMute (11 Ko)
But it intended to turn the volume down for a specific interval of time...
Anybody knows an application that does that ?
RE
Hi DocteurN,
Thanks for the files.
Just one question though. When you use VC to activate the files (like reset, poweroff, screensave etc) is there a pop up message box which says "Are you sure you want to xxxxx...Yes..No" upon which you manually tap either YES or NO action or that it'll execute the program stratightway without any pop up message box?
BTW, where to install all the mentioned files?
Thanks again
No, there is no popup, the program is execute straightway
Where to install the files ?
There :
You just have to copy PHMKeys.exe in \Windows and the lnk files in \Windows\Starting Menu\Programs (you'd better create a folder before copy)
You can rename lnk files the way you want and it would work with VC
Click to expand...
Click to collapse
Anybody has an idea how to make VC read the e-mail to me?
That is what I am really missing on the road
thanks in advance.
RE
Hi!
I think your Reset has a problem.
When I click on it it pops up a message "Are you sure you want to rest your Pocket PC? Any unsaved data will be lost."
When I click on it it pops up a message "Are you sure you want to rest your Pocket PC? Any unsaved data will be lost."
Click to expand...
Click to collapse
No, Why ?
That what does a soft reset... If you haven't saved your data (a Word document for exemple you'll lost it)
If you're afraid it does a hard reset, that not the case
RE
Hi DocteurN,
There's another soft reset freeware utility which soft resets immediately WITHOUT a pop-up message. I managed to find on the net which does the job nicely.
RE
Hi noviur,
VC cannot read email to you.
What you need is a TTS (text-to-speech) 3rd party program. I think one of the Toshiba's PPC has a simple TTS engine built-in
Thank you, Fosa
I know that it can not... but thought may be somebody tweak it
I was looking for any TTS application for PPC... Found something called Fonix Voice Central - they described it as app, which is doing it - i tried - no way
any suggestions would be appreciated
There's another soft reset freeware utility which soft resets immediately WITHOUT a pop-up message
Click to expand...
Click to collapse
FOSA > That interests me
Could you upload it here ?
Thanks by advance !
RE
Hi DocteurN,,
See attached

using Internet Explorer button to 'close' programs

Is it possible to actually 'close' programs using the internet explorer hard button?
I have SPBPlus installed, and the 'x' button is set to actually close programs rather than minimize then. When i assign the (ok/close) behaviour to the internet explorer button, and then use it to close a program, it only minimizes it.
So basically, is it possible to make my internet explorer button actually close programs?
thanks.
Yes it is possible with SPB Plus installed. Look further down the list of options and choose [Close]
This should do the trick.
I use Wisbar Advance 2 for that. I also have a .cpl that you drop in your windows folder that will show up in Settings>System>Soft Key so you can use the soft keys as a close button. I have the left SK for Windows and the right SK for a Close button.
whats good said:
Is it possible to actually 'close' programs using the internet explorer hard button?
I have SPBPlus installed, and the 'x' button is set to actually close programs rather than minimize then. When i assign the (ok/close) behaviour to the internet explorer button, and then use it to close a program, it only minimizes it.
So basically, is it possible to make my internet explorer button actually close programs?
thanks.
Click to expand...
Click to collapse
Hello whats good,
Seems Like no one in the above posts interpreted what you meant.
I understand that U want to close your apps. with the HARDWARE BUTTON <INTERNET EXPLORER>
I assume (As u have stated above) U have set <ok/close> as the Action assigned to it.
Thats why It Minimises it.
To CLOSE IT FULLY. simply assign <CLOSE OK>
SCROLL DOWN >>>
Ok/CLOSE and CLOSE OK are Two Different Things.
That shall close it Proper.
PS::I too was using OK/CLOSE previously. Thanx to your Post I am able to Close my apps Fully.
One thing though It takes a mere 1.5 seconds to open my 2900 Contacts Book. But My device is lighter all the time with all the memory Hogging apps Down !!
One more thing I shall add (editing My Post)
Only those apps. whose page is Open shall be closed by this.
Not the background apps.
I know this doesn't answer your question, but you should install smartskey and use the right softkey button to close apps. Alternatively, the end call button seems to close most apps.
thanks for the replys, all helped, i've finally managed to actually close programs without having to always touch the little x in the top corner with my big clumsy thumb!
Im not really familiar with pocket windows but basically, can i create a shortcut to a specific folder. I know there are buttons linking to my documents, and on SPB plus you can have a link to my documents on your today screen, but can i choose a shortcut to a specific folder i have created, on my memory card, and put the shortcut on the today screen?
Thanks again again!
Post the .cpl file?
hellomoto_25 said:
I use Wisbar Advance 2 for that. I also have a .cpl that you drop in your windows folder that will show up in Settings>System>Soft Key so you can use the soft keys as a close button. I have the left SK for Windows and the right SK for a Close button.
Click to expand...
Click to collapse
Can you post this .cpl file? I want to try it. Thanks
whats good said:
can i choose a shortcut to a specific folder i have created, on my memory card, and put the shortcut on the today screen?
Thanks again again!
Click to expand...
Click to collapse
with the spb pocketplus plug-in, you can. click (and hold) on it and a dialog box will open, do the following:
choose Add/Remove Items...
choose Add (left softkey location)
choose Folder
select the folder that you want (you can press on the '+' sign at the storage card folder in order to choose sub-folders)

.net fullscreen application on HTC Diamond

Hi,
I'm working on programm with .NET Framework 3.5 for my HTC Touch Diamond 2.
Now I need help on two issues:
1. Fullscreen (hide taskbar)
I set WindowState to Maximized and FormBorderStyle to None.
This works on the emulator. On the emulator, the form is maximized and the taskbar is not visible anymore.
However, when I run the same programm on my htc diamaond 2 the taskbar is still visible! Does anyone know what the problem is?
2. Form.Closing
In the form closing event I want to show a message box "Are you sure". If the user clicks 'no', I want the application to not close.
For this purpose I cancel the CancelEvent: e.Cancel = true;
But this doesn't work: The from gets closed anyway but the application process keeps running in background. The programm doesn't appear in taskmanager running applications but only in running processes. So I cannot switch back to my application.
Any hints how I can manage this?
Thanks
Tom
noone got any experience with this issues??
TomRR said:
Hi,
2. Form.Closing
In the form closing event I want to show a message box "Are you sure". If the user clicks 'no', I want the application to not close.
For this purpose I cancel the CancelEvent: e.Cancel = true;
But this doesn't work: The from gets closed anyway but the application process keeps running in background. The programm doesn't appear in taskmanager running applications but only in running processes. So I cannot switch back to my application.
Any hints how I can manage this?
Thanks
Tom
Click to expand...
Click to collapse
From my Windows programing experience (not WM though) your code should go like this:
Step1: Bring up a dialog box with your question
Step2: Main form is waiting for the result of the dialog box
Step3: Once the main form gets the result THEN it decides what to do: Exit or "nothing"
What I want to say is that you should not "cancel" the event. You should not generate it in first place if the user does not click on "Yes, I'm sure"
Thanks for your response.
As far as I know, I cannot prevent the closing event to be raised when the user clicks the 'x' in the taskbar.

How to minimize Opera than closing it when tap on the "X" button?

The question is in the title
Really hate it when everytime I tap the "X" button for Opera, it closes the app than minimizing it... I've set it off in the Task Manager to disable it. But still the same??? Pls help...
SEQ said:
The question is in the title
Really hate it when everytime I tap the "X" button for Opera, it closes the app than minimizing it... I've set it off in the Task Manager to disable it. But still the same??? Pls help...
Click to expand...
Click to collapse
it is funny you mention because the question really is how to close opera. Once you have opened opera it stays on. the only thing is that you cannot see it in the task manager. they made it invisible so you can't kill the process. but now you also cant start it up from there. so when clicking the X you are minimizing the app. don't you think it starts fast when opening it for a second time. when new roms come without manilla, you will see it again in the task manager
SEQ said:
The question is in the title
Really hate it when everytime I tap the "X" button for Opera, it closes the app than minimizing it... I've set it off in the Task Manager to disable it. But still the same??? Pls help...
Click to expand...
Click to collapse
just exit the program via the opera-menu then it really closes.
if you use the X it does only minimize.
real187 said:
just exit the program via the opera-menu then it really closes.
if you use the X it does only minimize.
Click to expand...
Click to collapse
that still doesnt close it, if u use a proces monitor like Sktools u can still see Opera9.exe running, its even in the top 10 in mem usage. killing it in the process monitor doesnt seem to fix it either as the proces gets restarted somehow, but it does use lots less memory afterwards
I uses Touch Pro (Raphael) before switching to Touch Pro 2 (Rhodium), Opera minimizes visibly in Task Manager. But not in Touch Pro 2 (Rhodium). Now I know...
But is there a trick or 2 to modify the registry in Manila file(s)?
this would explain why sometimes as I'm moving offices etc and connecting to different wi-fi's sometimes although the wi-fi is connected it continues to use 3G.
I shutdown Opera and restart usually to try and force it to use the connected wi-fi but sometimes it just doesn't.
Turns out I'm not really shutting down opera hence why It continues to use it's original connection to 3G (not always though.)
Posted this in the General section
I have been playing around with the registries and it seems there are some registry settings that you can change to prevent that
HKCU\Software\HTC\TaskManager\ExclusiveList\System
If you look into the above folder, you can find a list of apps that will run under exclusive, meaning they will not show up in the normal task manager. You will notice Opera9.exe is in there. If you remove the entry, you can now see Opera9.exe in the task list. But it still doesn't seem to terminate the process when you exit Opera. Hence for the first poster, if you just stop here, your Opera will minimize visibly to the tasklist once you click on the "X"
For those who want to further kill Opera when you click on "X", you need to go to
HKCU\Software\HTC\TaskManager\TerminateProcess
Add a DWORD key (Opera9.exe) and set the value to 1. Now when you exit Opera, the process will be terminated and memory returned.
This works for me.
Cool~ Will try it out. Thanks so much!
Seifer1975 said:
Posted this in the General section
I have been playing around with the registries and it seems there are some registry settings that you can change to prevent that
HKCU\Software\HTC\TaskManager\ExclusiveList\System
If you look into the above folder, you can find a list of apps that will run under exclusive, meaning they will not show up in the normal task manager. You will notice Opera9.exe is in there. If you remove the entry, you can now see Opera9.exe in the task list. But it still doesn't seem to terminate the process when you exit Opera. Hence for the first poster, if you just stop here, your Opera will minimize visibly to the tasklist once you click on the "X"
For those who want to further kill Opera when you click on "X", you need to go to
HKCU\Software\HTC\TaskManager\TerminateProcess
Add a DWORD key (Opera9.exe) and set the value to 1. Now when you exit Opera, the process will be terminated and memory returned.
This works for me.
Click to expand...
Click to collapse
It's work! And I was looking for this for a long time !Thank You!
is there ANY possibility of someone posting a screenshot of exactly what this looks like when it is typed in? I am so new and i dont want to mess up anything. Thanks.
But it opens very quickly when you want to use it again. Almost immediatly.
I just use cleanRAM a couple of times a day...Mostly after using opera
As far as I know opera keeps running is because push page is enabled.
Turn off push page in registry and reboot, then and it should not be always running in background.
milton009 said:
It's work! And I was looking for this for a long time !Thank You!
Click to expand...
Click to collapse
Hello,
Sorry, it doesn't work for me
I've tryed every solution I found, I believe on registry settings, but all I found doesn't work, the opera9.exe process still become again and again, however I kill it, turn on the registry keys (RealExit, allready on), using the right menu of Opera for the built in "real" exit, killing Opera9.exe from different Task Manager (then OperaL.exe appears a few seconds, then Opera9.exe again), renaming file OperaL.exe to not be launched at startup -> another one was restored (more ancient) !
How is it possible to change any settings on a brower, or installing any plugin, if this one is always running ??
Thanks for help
PERSONA said:
As far as I know opera keeps running is because push page is enabled.
Turn off push page in registry and reboot, then and it should not be always running in background.
Click to expand...
Click to collapse
Hi !
Could you please give this registry key, for everyone ?
Odjavel said:
Hi !
Could you please give this registry key, for everyone ?
Click to expand...
Click to collapse
See this :
http://forum.xda-developers.com/showthread.php?t=532948
PERSONA said:
See this :
http://forum.xda-developers.com/showthread.php?t=532948
Click to expand...
Click to collapse
Yes, you did it ! Woohoo !
Thanks a lot for this tip, it helps me !
In fact, I didn't need to install the NoPushInternet_v2.CAB of TinTin, but thanks to him ; the indication that there is a service to stop was suffisant for me. I set myself the PushInternet service to start manually, with FdcSoft Task Manager. After soft reset, Opera is not launched automatically !
I gain 5% of free memory.
In addition to that, Opera works better now, the splash screen of Opera Mobile appears when he starts, sign that it is really launched manually. And Flash Player runs now, that's great ! Sign that it is not possible to install a plugin when the browser is still running. And also, when minimized, Opera appear in the Task Manager menu of TF3D, great too.
Strangely, when I use the Opera menu to exit, it does not ! He's not minimized, but Opera9.exe is still running. But I can kill it and he doesn ot reappear.
Also, if I use the X button, Opera really exit ! So, all is allright
Anybody has an idea oon which process to chose to do the same with Activesync ?
Should be \Windows\repllog.exe ?

How can i hide (not close) htc message with right down close button

Hi all,
i use spb mobile shell. With this UI, takes a long time to load sms messages (1 sec is a lot for me ). So i try to figured out, how can i hide sms ui, but not close.
I tried Ameba, but this doesnt have possiblitity to do exception for apps.
Maybe some change of registry? In my signature are my rom (i use rom with big buttons and cross in right down corner)
any suggestions?
thx
will it be closed if you just hit the backbutton? or are you looking for a software solution?!
Maybe this is what you're looking for. Excerpt taken from tboy2000 thread:
82. Make Common Apps Open Instantly With No Delay
The most often used apps on the HD2 would be SMS and Email. As the HD2 has plenty of memory and it is very hard to fill it up during use, why not add these two apps to the task manager exception list. This means they will never truely exit and will always be open in the background. The benefit of this is that HTC Messaging does not automatically refresh and redraw the contact thumbnails when you load the app. Instant opening of both apps with no load time. You can add any other app to this list too if you never want it to exit.
Just use this tweak. HKCU\Software\HTC\TaskManagerExclusiveList\System and add a new DWORD Value of Messaging_Client.exe and tmail.exe
to fruchtfliege:
i know about back button, but yes, i want software solution. I want alway use cros for closing apps, but for this two i dont want to close them.
to weepatc:
yes, i know about this change of registry. I tried it in past, but i think it is not working because it is not very quicker loading. I dont see them in task manager (but maybe this is normal when it is excluded).
i will try it again..
thx guys for help
if are any other suggestions, it will be great
now i figured out, that tmail is ok, and this exe file doesnt close, but file Messaging_Client.exe it still close after pressing cros (X).
I try tu use sk tools in runing proceses i also try to set "add to dont close list" but it also doesnt works and this process is still killed
why?

Categories

Resources