Close App with Command Line - 8125, K-JAM, P4300, MDA Vario General

I have SPB Pocket Plus and Oxios Memory's Close and Hibernate.
I was wondering if there is any command to target and close a particular program?
Basically i'm looking for something which is extremely simple and doesn't require a massive installation of another additional program.

Guys this is real important... I hope somebody can throw some light on this. I just need a small executable to be able to close a particular appliaction via the command line so I can make a shortcut out of it.
I've looked around a lot but can't seem to find anything.

The program SKScheMa (http://s-k-tools.com/) has the ability to kill a named process.
It will let you create a script to do it.

Hi ishra,
Thanks for the tip. However i'm looking for a much simpler way to do it without having to install any additional software.
Ideally, I'd like an exe file which via a command line parameter can shutdown a partucular application.

http://www.vijay555.com/?Releases:VJTaskKiller
It will also be improved (eventually) to close invisible tasks. If you need that feature, let me know and I'll prioritse.
V

hahaha... VJ... you rock.
I dunno why I didn't think of looking up your website. It was the most obvious thing to do... I looked everywhere and I missed your site.
Thanks so much.
EDIT:
VJ, I mainly wanted this app to be able to close a program called IDTransfer. The name of the task is also IDTransfer and that is exactly what I put in the shortcut. When I click on the shortcut for some reason it says
Warning - window
'IDTransfer
' not found!
Click to expand...
Click to collapse
The following is the line in my shortcut
61#"\Program Files\vijay555\VJTaskKiller\VJTaskKiller.exe" IDTransfer
Click to expand...
Click to collapse

Vijay, same problem here. It's not working (Orbit WM6). Is there any chance to have you to take a closer look what's wrong?
I tried to run it against a couple of application in order to kill them. Results as above. Window - not found

Related

Add a new custom menu item to the PocketPC New button popup

Dear All
Please let me know if there is any program that can help the user add a new custom menu items to the PocketPC New button popup?
If such a program do not exits, how we can do that by tweaking registry, please instruct step by step
thank you
Tuan
http://www.developer.com/ws/pc/article.php/10947_1556191_1
basically: requires registry entries and programming a COM addin.
V
vijay555 said:
http://www.developer.com/ws/pc/article.php/10947_1556191_1
basically: requires registry entries and programming a COM addin.
V
Click to expand...
Click to collapse
Dear Sỉr
Thank you for your fast reply
I wonder to know if there is any program created for end-users to let them build their custom new menu?
I ask so because i am a end-user and do not have programming knowledge
Thank you
Tuan
I've never seen one.
Have you considered something like SmallMenuPlus?
I've never seen anyone use the New Menu like that - I could write it, but it's not very useful because it isn't on screen all the time. The start menu is always on screen.
V
vijay555 said:
I've never seen one.
Have you considered something like SmallMenuPlus?
I've never seen anyone use the New Menu like that - I could write it, but it's not very useful because it isn't on screen all the time. The start menu is always on screen.
V
Click to expand...
Click to collapse
Dear Sir
Thank you for your email
Start Menu or SmallMenuPlus help us to open app first - not open directly a new items in this app.
As for me it is really faster to open a new items with New Menu button
Tuan
So you want to create a new document, not open an application?
V
vijay555 said:
So you want to create a new document, not open an application?
V
Click to expand...
Click to collapse
Dear Vijay
Yes, that is exactly what i am looking for.
Tuan - as I said, I've never seen a program that allows you to do this easily.
It would require you to write a new registry entry and COM object per new application you want to attach to the New menu. You would also need to know what command line you need to launch.
What program do you want to open a new document for? do you know the command line?
V
vijay555 said:
Tuan - as I said, I've never seen a program that allows you to do this easily.
It would require you to write a new registry entry and COM object per new application you want to attach to the New menu. You would also need to know what command line you need to launch.
What program do you want to open a new document for? do you know the command line?
V
Click to expand...
Click to collapse
Hi Vijay
Thank you for your fast reply.
For example:
I installed some program like Info Sharp ( a replacement for default SMS tool) and some other like Ewallet, Cash Organizer Deluxe, Plan/Text Maker.
These above program was installed in storage (my device is O2i) and now i want to add new items to New button to
- open a new SMS (with Info Sharp, of course)
- open a new account or transaction (with Cash Org)
- open a new doc or speadhead with Maker
- open a new Card (with ewallet)
Yes, something like that.
Sorry for my stupid but actually i do not know command line for such actions. (how can i find these command line)
Best regards
Tuan
Tuan - i don't know these applications.
Basically, you can't open new items with the New menu without knowing the command line to start a new document in each application.
This information will be in the manual for the software, or look on the forums for that software. It's possible it can't be done - I imagine that if it could be done, the software would do it automatically when you install it.
I'm sorry, but I don't think we can do anything else yet until you can find the options to start those applications in a new document. Then I can help you write the program you would need.
If you feel confident, the program Mort Runner can do many things automatically, but is quite complicated. It's not a neat solution, but might help, but still the best way is to get the command lines :?
V
hi
Many thanks for your reply
I would check to find the command line of these apps
Tuan

I want to ask "How to cook a shortcut"?

Hi
Is there some convinient way to create shortcuts on wm5 ppc? some app with
-browse for file
-cmd line params
-browse for icon-dll
-insert icon number into cmd line
if there is no, one should be developed immediately
………
Turist said:
Hi
Is there some convinient way to create shortcuts on wm5 ppc? some app with
-browse for file
-cmd line params
-browse for icon-dll
-insert icon number into cmd line
if there is no, one should be developed immediately
Click to expand...
Click to collapse
i cant believe everybody makes it manually
Come on! You help is needed!
thanks for the idea!
OdeeanRDeathshead said:
thanks for the idea!
Click to expand...
Click to collapse
i quess its irony... ;(
nevertheless i found one _ttp://www.s-k-tools.com/sksmgr/sksmgr.html
its almost free for ex-USSR so i`ll give it a try.
Turist: you might want to read some of OdeeanRDeathshead's posts. I don't think he was being ironic.
Frankly, I've never found it difficult to write shortcuts by hand, but the sktools app is great, as ever.
V
There was no irony. As I was reading your post I was coding my app to check on startup its current location then generate a new shortcut to replace its existing one in the startup folder. One reason i use a shortcut done by hand is to get the command line arguments in it. I use the command line to tell my program if it is being started after a soft reset. If it is it minimises itself after a couple of seconds. Of course I don't need to look up the icon because my shortcut is for my executable, from memory it was just trial and error getting the correct icon for things like poutlook. I think any shortcut generator would have to be able to copy the info from existing shortcuts to make it useable over different versions/os etc.
vijay555 said:
Turist: you might want to read some of OdeeanRDeathshead's posts. I don't think he was being ironic.
Frankly, I've never found it difficult to write shortcuts by hand, but the sktools app is great, as ever.
V
Click to expand...
Click to collapse
not really difficult, but i`d like a little bit more comfortable way.
yep, sk-software is really good. paid yesterday for sktools, skshems, skshortcut manager.
OdeeanRDeathshead said:
There was no irony. As I was reading your post I was coding my app to check on startup its current location then generate a new shortcut to replace its existing one in the startup folder. One reason i use a shortcut done by hand is to get the command line arguments in it. I use the command line to tell my program if it is being started after a soft reset. If it is it minimises itself after a couple of seconds. Of course I don't need to look up the icon because my shortcut is for my executable, from memory it was just trial and error getting the correct icon for things like poutlook. I think any shortcut generator would have to be able to copy the info from existing shortcuts to make it useable over different versions/os etc.
Click to expand...
Click to collapse
you`ll never know what could happen with those little apps designed "for my internal use only"
ps: got myself vs2005, msd, wm5 sdk. would like to try to make an xml-parsing/registry-editing engine for universal registrytweaking tool. I really like the idea of RegistryWizard-tool, but not very much its design and functionality. will see...
I just finished updating my file open dialog. It can now create shortcuts that have command line arguments and it can extract the icons and their id from any file that contains them (exe dll). This will be available shortly as part of my almost (really) finished project.
OdeeanRDeathshead said:
I just finished updating my file open dialog. It can now create shortcuts that have command line arguments and it can extract the icons and their id from any file that contains them (exe dll). This will be available shortly as part of my almost (really) finished project.
Click to expand...
Click to collapse
Great! And please notice - i`m not chraging you for this brilliant idea
will it be available as standalone utility too?
The shortcut functionality will not be limited in any way on the program, but no, it will not be stand alone. I tested on jamin today (wm2005) and the handle htc give for the port is good, unlike the atom. I spent the last week converting my lists in the file open dialog to owner drawn to try and cut the display time on the windows directory. It has 1300 items and was taking 23 seconds, I have cut that to 7 seconds. Resco take 3.

[Solved] Running Oxios Hibernate after inervals

guyz this was requested by flavopic and others..so i wrote a small script to for it
Instructions :
1. First of all install Mort Script from HERE To you device
2. Place the Both the Applications as they are attached in the following locations (dnt change their names)
the script will look in the following location :
" \Storage Card\Oxios\Close App.exe "
" \Storage Card\Oxios\Hibernate.exe "
3. Then place this in the startup folder (if you want it to start automatically)..or you can also bind it to any H/W key
Please not that i've set the timer to 5000000
If you get any error please Post
I've just edit it because I've an Italian device (so the directories' name are different...)
When this program runs automaticcaly, how to make it not show the window which appeare?
I mean... Is there a way to hide that window?
Or something that hit automatically the "OK" button?
@ather90: There is a problem with the solution you posted. It needs the script to be running always, which has the following drawbacks:
1. Consumes a lot of resources
2. If the script's process is killed somehow (e.g. WM may automatically kill a process smtimes if a new process is opened), then the running of app stops.
Moreover, you need to install the complete scripting engine to do a small task.
I can suggest an alternative in terms of my program Shantztodaychanger.
Though it is an app to change themes/wallpapers at set intervals, it also runs exe's. And to use it as a pure exe runner, just use the "mask" option, leave the mask field blank, and choose the duration of time for mask to cover all 24 hours.
It runs only when needed, hence consumes very less resources, and is pretty small as compared to installing MortScript. And is also more reliable in terms of execution.
@flaviopac: There is indeed a solution, but that would require some custom software or a little bit of trick . After executing the program, we can wait for a few seconds, then find he window of oxios and kill it. This can either be done in the program itself, or there is another way. You can club the mortscript method with my program. If there is way to send a message to the window thru mortscript, we can execute a mortscript thru my program, which in turn first executes oxios and then sends the kill/ok message to it. This way, it will also not consume resources unnecessarily.
shantzg001 said:
@flaviopac: There is indeed a solution, but that would require some custom software or a little bit of trick . After executing the program, we can wait for a few seconds, then find he window of oxios and kill it. This can either be done in the program itself, or there is another way. You can club the mortscript method with my program. If there is way to send a message to the window thru mortscript, we can execute a mortscript thru my program, which in turn first executes oxios and then sends the kill/ok message to it. This way, it will also not consume resources unnecessarily.
Click to expand...
Click to collapse
Ok, I've understood the kind of solution we could apply....
Anyway... I don't know how to make a mortscript file hit the OK button or close that window...
So, how can we do that?
@shantz..thanks for the tips..actually if i had time i would have built an app for it in C++...but i didnt..i will look for something which presses the OK button automatically
ather90 said:
@shantz..thanks for the tips..actually if i had time i would have built an app for it in C++...but i didnt..i will look for something which presses the OK button automatically
Click to expand...
Click to collapse
Let us know.......
found it..if any of you is running Oxios atm..can u tell me the Window name which apperas before the OK button on top
ather90 said:
found it..if any of you is running Oxios atm..can u tell me the Window name which apperas before the OK button on top
Click to expand...
Click to collapse
Running Oxios CloseApps the name of the windows is:
Oxios CloseApps 1.40
for Hybernate:
Oxios Hybernate 1.40
Hope this will help...
its working alright ..the command is as follows
SendOK ( window name ) or
Close ( window name )
testing atm will post it in a while
ather90 said:
its working alright ..the command is as follows
SendOK ( window name ) or
Close ( window name )
testing atm will post it in a while
Click to expand...
Click to collapse
Are you using mortscript or Shantztodaychanger?
Let me know if it works.....
im using mortscript..sorry tosay this but it aint workin..it closes all the windows in its way if i use both the commands..also i tried Wait for but alas..maybe we have to find other way
ather90 said:
im using mortscript..sorry tosay this but it aint workin..it closes all the windows in its way if i use both the commands..also i tried Wait for but alas..maybe we have to find other way
Click to expand...
Click to collapse
Let me know if you finally solve this problem.....
Why the mortscript? Why not just have Hibernate run every time you wake the device?
nonegiven said:
Why the mortscript? Why not just have Hibernate run every time you wake the device?
Click to expand...
Click to collapse
It would be an idea.... But now ather90 s trying to auto-hit the "OK" button... So you haven't to hit yourself everytime....
It's a bit annoying....
Theirs "Silent" Versions Of These Apps Somewhere.
It Does The Same Job But Doesn't Display The Message Box Afterwards.
OllieD said:
Theirs "Silent" Versions Of These Apps Somewhere.
It Does The Same Job But Doesn't Display The Message Box Afterwards.
Click to expand...
Click to collapse
please tell me where can I find it??
Voila...
http://forum.xda-developers.com/showthread.php?t=385390&highlight=Hibernate

Pocket PC Shortcuts

Is there a desktop program that creates Pocket PC shortcuts? Just enter what you want it to point to, and the icon for it, and it spits out the file?
By "just enter what you want it to point to" do you mean you type in the full path?
I have written a utility that creates the lnks for the full path, although no icons are created: http://forum.xda-developers.com/showpost.php?p=2102312&postcount=117
That's pretty much perfect! But does anyone know how to incorperate a .ico?
Whatever icon the program has will be included when the shortcut is placed onto the device...
I see... so there's no way to include an icon in just a shortcut, huh? Interesting
There probably is I just haven't worked it out!
I have worked out how to do it now: http://oldsap.blogspot.com/2006/07/customising-icons-on-your-ppc-shortcut.html
Problem is, it needs the icon to be stored in a dll...
Huh... fair technique, I suppose, although having a third file aside from the program and shortcut can make things hard to manage when file numbers grow to the double digits. Thanks for looking around... good find!
l3v5y.. thank you very much. the app is very useful.
xd1936 said:
Huh... fair technique, I suppose, although having a third file aside from the program and shortcut can make things hard to manage when file numbers grow to the double digits. Thanks for looking around... good find!
Click to expand...
Click to collapse
The dll can be used for multiple images...
xd1936 said:
That's pretty much perfect! But does anyone know how to incorperate a .ico?
Click to expand...
Click to collapse
Have a look at the attachment...
It does just what you are searching for....
Shortcut Creator crashes under Windows Mobile 6 Standard
Just to let you know - I was able to install this application on my phone (Verizon SMT5800 smartphone, running Windows Mobile 6 Standard (i.e., no touch screen). However, when I ran the application, it crashed immediately, and locked the phone up so that I had to take the battery out in order to reboot the phone and regain control.
there is an OLD WinCE program called 'Launch Pad' that does this, but will it run on a smartphone? I guess you could try and see. check this link:
http://www.onhiatus.com/Software/
this requires 'Pocket C' runtime here:
http://www.orbworks.com/wince/index_20.html

Makro app

can anybody recommend a makro app for competing a sequence of button clicks???
thanks
I feel quite justified in saying this: HUH?
Could you eleborate a bit more? I suppose with "makro" you mean "big"? And "competing a sequence of button clicks" is referring to some kind of memory game?
I think he means "macro".
Don't know of anything off hand, but there is mortscript you might be able to use (http://www.sto-helit.de/index.php?module=page&entry=ms_overview&action=view) which does something similar but don't think it has any gui interface for it.
tweedie said:
I think he means "macro".
Don't know of anything off hand, but there is mortscript you might be able to use (http://www.sto-helit.de/index.php?module=page&entry=ms_overview&action=view) which does something similar but don't think it has any gui interface for it.
Click to expand...
Click to collapse
yes i did mean macro.
A macro on a pc completes a series of button clicks with just a single press. Normally it gives you up to 20secs to complete your progress.
Basically what im trying to achieve for example is by clicking on an activesync icon on my today screen. Instead of opening activesync it would automatucally open activesync and select 'connect to bluetooth' and any other options necessary.
thanks for taking time to answer. will look into mortscripts but looks a little tricky.
did you find any way to record?
Martinhdk said:
did you find any way to record?
Click to expand...
Click to collapse
Not yet not sure if mortscript can do it as its all DOS coding basically. Relys on activating .exe or .bat files etc.. so in app commands probably unachievable.
Ill keep looking into it though....
You could combine mortscript with a key capture program (if you can find one for ppc).
Darren8448 said:
Not yet not sure if mortscript can do it as its all DOS coding basically. Relys on activating .exe or .bat files etc.. so in app commands probably unachievable.
Ill keep looking into it though....
Click to expand...
Click to collapse
I have to say Mortscript is great and can achieve most things but isnt very easy, plenty of research needed.
I have however achieved my goal, one click on an icon from today screen and my device will bluetooth sync to pc
Code is below if anyone interested
Run("\Windows\Start Menu\programs\ActiveSync.lnk")
Sleep (800)
SendRightSoft()
SendUp()
SendCR()
Sleep(7500)
Minimize "ActivSync"

Categories

Resources