is there an utility that will allow me to automatically minimize apps that load at startup? I have to applications that I want to run @ startup but I don't need to visually see them.
Thanks.
you could try to put minimize.exe in \windows\startup\ folder. That app minimizes everything. Search for it.
There is also a load.exe that will run whatever argument passed, hidden and minimized, it will not run it into a bgprocess however.
the_passenger said:
you could try to put minimize.exe in \windows\startup\ folder. That app minimizes everything. Search for it.
Click to expand...
Click to collapse
Minimize.exe can be downloaded from here: http://www.mediafire.com/?3mzxozxxxwi
I put it in the windows\startup folder, however the other app is in that same folder and it doesn't seem to work.
you can create a mortscript that runs your desired app and after 2 seconds it runs minimize.exe
ga!nusha said:
you can create a mortscript that runs your desired app and after 2 seconds it runs minimize.exe
Click to expand...
Click to collapse
I've never used mortscript before, I downloaded the manual and started reading, can you give an example of how to run an exe (example.exe) and then pause for 2 seconds and then run another app (minimize.exe)?
Thanks.
Minimize.exe only minimizes the current aplication, if you have many open theres a good chance it wont take you to today screen. What you should to is create a script with one line:
Show ( "Desktop" )
This will minimize everything and show the today screen.
Using Show () and Minimize () from MortScript might be a good solution.
I'm trying to launch an exe (TCPMP) minimized from FlashLite and as there is no available solution using Compact Framework, I believe I can do it with MortScript.
Something like :
In flash :
Code:
fscommand("myMortScript.mscr");
In the script :
Code:
Run("\Program Files\TCPMP\player.exe")
While (1)
Show ("FlashLite")
Sleep(1000)
EndWhile
Related
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.
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
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
there are too many statup programs in my ppc, i wanna use mortscript to manage the starup time.
example:
when i reset my ppc,
program 1 starts after 5 seconds
program 2 starts after 10 seconds
program 3...
THX
there is already a thread for mortscripts....please search on "mortscript examples".
i searched, but i did not find what i wanna
example:
---- snip --
Run ("\Programme\CallFirewall\CallFirewall.exe")
WaitForActive ("Call Firewall", 5000)
Minimize ("Call Firewall")
Sleep(5000)
Run ("\Windows\SAPSettings.exe"
WaitForActive ("BT Remote SIM Access", 5000)
Minimize ("BT Remote SIM Access")
Sleep(5000)
...
Exit
---- snap --
Run - runs the specified app
WaitForActive searches for windowtitle, but max 5000ms
Minimize minimizes specified app
Sleep always waits for specified time (5000ms)
... thats just about how my mortrun in autostart looks like
http://forum.xda-developers.com/showthread.php?t=289197
the manual pdf helps ;D
mecal said:
i searched, but i did not find what i wanna
Click to expand...
Click to collapse
My point was two-fold:
1. Maybe they had something similar (which you looked and did not find)
2. That "existing" thread was the appropriate place to post this question.
Using existing threads is preferable to creating new ones (actually part of the XDA preferred guidelines).
Looks like someone helped you though!
Guys,
I've finally gotten around to updating VJBrisk.
See here for info about the old version.
I don't know if anyone uses VJBrisk anymore, but basically it's a small .exe file that can be used to replace another .exe.
eg, If you want to change your Stocks.exe application and make it launch VJEschaton.exe, but Stocks.exe is somehow hardcoded into a skin or application, then rename VJBrisk.exe to Stocks.exe, and drop the new Stocks.exe into the correct folder. VJBrisk will then allow you to launch whatever app you want to, instead of Stocks.exe.
Ok - what's new:
1. People used to have problems with the old VJBrisk.exe if they wanted to replace multiple target applications, as you could only have one VJBrisk per folder.
This is no longer the case.
You can rename VJBrisk.exe to anything you want, and keep multiple copies in a folder.
Eg, say you rename VJBrisk.exe to TomTom.exe.
When you launch TomTom.exe, it will search for TomTomEXE.exe or TomTomLNK.lnk in the target folder, and execute that app.
So VJBrisk will now recognise that you have renamed VJBrisk, and search for [NEW NAME]EXE.exe (for an executable file) or [NEW NAME]LNK.lnk (for a shortcut).
In this way, you can have as many VJBrisks in a folder as you want, each with a custom name and target.
2. VJBrisk will now pass the command line passed to IT, on to the target application. Eg, If Stocks.exe is launched with command line
"Stocks.exe NBC", then VJBrisk will try to launch
"VJBriskEXE.exe NBC".
Note:
To show debug info when checking command lines etc, please rename the VJBrisk.exe file VJDebug.exe. It will then show information about what program and command line parameters it is about to launch.
That's it for now I think. Let me know if it works for you.
Download from my website, or here:
http://vijay555.com/vj/releases/vjbrisk/vjbrisk0.4.cab
Version 0.42 - please replace the exe in the above cab, or just use this exe:
www.vijay555.com/vj/releases/vjbrisk/vjbrisk.exe
[EDIT]
Please remember, you will have to rename shortcuts you used to use with the OLD VJBrisk.exe to VJBriskLNK.lnk, instead of VJTarget.lnk.
Apologies, but that's the cost of the new flexibility of supporting unlimited VJBrisk redirects in the same folder.
[UPDATE]
Version v0.4 has been re-written from scratch.
It now supports a very peculiar "feature" in the OS, where if you "launch" a shortcut (.lnk) file from a shortcut, the redirected shortcut will not launch with its command line parameters. I've sidestepped around this feature so it works as it should.
It's a niche "feature", but some might be effected by this. See VJSipSwitch for details (eg launching VJSipSwitch from a shortcut with command line parameters, and launching THAT shortcut with VJBrisk now works).
As an added bonus, VJBrisk will pass parameters to a shortcut, and also merge parameters from a shortcut to a shortcut before launching the target shortcut.
Trust me, this makes sense when you're on Meth.
Eg.
Eg.
A. Make a shortcut to VJSipSwitch with the command line parameters "key", and call it VJBriskLNK.lnk (Shortcut A)
B. Make a shortcut to VJBrisk.exe with command line parameters "board" (Shortcut B)
Launching Shortcut B will launch VJBrisk, which will merge the parameters "key" and "board" to launch VJSipSwitch with the parameters "keyboard".
V
PS Once again, I repeat what I say on my website. You really don't need this app. But if you do, it might come in handy!
Version History:
v0.3: updated command line redirection and dynamic renaming
v0.4: entirely re-written; parsing of .lnk command line parameters
v0.41: fixed bug in handling of .exe in root folder
v0.42: support VJDebug debug info
It does not work for me.
I've been trying for hours to get Calendar.exe in /Windows
to redirect to PocketInformant
I used to use these instructions. Can you please modify them to fit the new version.
To launch another PIM from TouchFlo 2d from the home tab:
1. Download VJBrisk app (one of Vijay555 tools).
2. Rename VJBrisk to Calendar.exe and the shortcut to your PIM app to (ex. agendaone.lnk) to VJTarget.lnk.
3. Place these two files into \Windows folder.
Guys,
The difference (and advantage) between the old version and the new one is that the new one will (by default) search for
VJBriskEXE.exe or
VJBriskLNK.lnk (for the shortcut to pocket informant).
So rename the shortcut to VJBriskLNK.lnk, not VJTarget.lnk.
Let me know if that doesn't work.
V
No that doesn't work. I get the following error:
VJBrisk can be used to redirect hardcoded .exe and .Ink links.
Couldn't find 'calendarLNK.Ink' or 'calendarEXE.exe'
in the launch directory: '\Windows'
Command Line:
"
Can you help further? or direct me to a copy of v0.1 which did work.
Thanks.
@urbanlibrarian: can you explain exactly what you're doing?
VJBrisk is clearly working - you've renamed VJBrisk to Calendar.exe, and are launching it. The error tells you exactly what you need to do next.
VJBrisk/Calender.exe is now searching for a file called
'calendarLNK.lnk' or 'calendarEXE.exe'.
So Find PocketInformant on your system, and find the relevant .exe file you want to launch. Make a shortcut to it (eg, if it's called PocketInformant.exe, make a shortcut to it called PocketInformant.lnk).
Next rename PocketInformant.lnk to CalendarLNK.lnk, and drop that in your \windows\ folder.
Presto.
Let me know if it works ok.
V
Sorry, may i ask what is the function of this apps?
@bbshk - I tried to explain the first post, and it helps if you read the old VJBrisk thread.
Basically, say you've got the TouchFlo interface, and it's hard coded to launch the standard MS Calendar when you click "calendar". [I'm giving an example, because I don't use the interface, but theoretically follow my example].
Now, say you use Pocket Informant as your calendar - pressing Calendar in TouchFlo is just a pain in the ass, as it doesn't launch Pocket Informant, it launches the MS Calender.
So, you find Calendar.exe in your \windows\ folder, and replace it with VJBrisk.exe (renamed to Calendar.exe).
When you click Calender in TouchFlo, TouchFlo tried to launch the MS Calendar. But instead, it launches VJBrisk.
Now, that's helpful, but VJBrisk alone does nothing.
The next step is to tell VJBrisk to actually launch PocketInformant, achieving your primary goal.
Hence:
TouchFlo -> Press "Calendar" -> Launches Calendar.exe (actually VJBrisk) -> VJBrisk launches Pocket Informant.
So, although it has a very niche use, in some circumstances, it's the easiest way to make some software do what you want it to do.
Search for VJBrisk and get an idea of where it's used in various roms etc.
And remember what I say on my website re VJBrisk:
http://www.vijay555.com/?Releases:VJBrisk
This is very specific in use. You don't need it, I'm sure.
Click to expand...
Click to collapse
V
Very helpful tool for me, Thank you, Vijay555.
I use VJBrisk to lunch shortcuts by gesture in UltimateLunch. UL's gesture supportes only .exe program.
@ufriendxda - glad you like it. I didn't even think of using it like that, good stuff!
V
vijay555 said:
Guys,
I don't know if anyone uses VJBrisk anymore
Click to expand...
Click to collapse
I think alot of us rely heavily on the use of it! I know I do. Thanks for the update!
GREAT APP
Thanx a million this app made me sor happy, thnx to it i could now finich my dev. of the new X1 powerbutton 12 icon Actionscreen with softreset and power off...
thanx...
Thanks for this VJ. However, I have just made an error!
I tried to replace Tasks.exe to launch the SBSHCalendarTasks.exe but it launches Resco Contact Manager.
How do I get it back to launching the basic tasks program? Or what I need to do to launch SBSHCalendarTasks?
Thanks
You should just be able to go into your \windows\ folder and delete tasks.exe (if that was the renamed VJBrisk.exe that you added).
When you "delete" files from the rom, they aren't deleted, they just get replaced with the original rom file. So if you delete the fake tasks.exe, the original tasks.exe should come back.
There's no reason it should be launching Resco unless you told it to do so. Try remove any copies of VJBrisk.exe that you added, find the program you want to launch (SPB Tasks), copy the .exe, rename to Tasks.exe and place in the \windows\ folder.
Let me know how it goes.
V
Thanks VJ, that all worked fine.
However, it appears that I was trying to call the wrong programme!
Let me explain: I wanted to get the 'Tasks' link on the 'Today' page to link to SBSHCalendarTasks. Stupidly I had assumed that the call for the 'Tasks' on the 'Today' page is linked to Tasks.exe!
Anyone know what I should be replacing when the 'Tasks' is clicked on the 'Today' screen?
Regards
VJBrisk and VJ sipswitch won't work in combination.
Hello VJ, have a new one. I want to switch SIP by profile (using PhoneAlarm), but I have to start a.EXE and cannot pass a parameter (by using a LNK or directly at the .EXE invocation.
So VJBrisk seems to be the perfect version to invoke it. I use it already to start other Calender or Tasks (invoked by Manila2D), but it fails to invoke VJ SIPSwitch.
VJBrisk -> SPISWITCH will not work.
Exact steps, which I have done (maybe I made an error)
Created a .lnk file and named it "SipSwitchNullkbLNK.LNK" which invokes "sipswitch nullkb" (nullkb is a SIP). Invoking it directly works well. Now made a copy of VJBrisk.exe and named it SipSwitchNullkb.exe and placed it into same folder. When I start it, I get a VJ SIP messagebox: "SIP not found".
You might have a look on it?
Thank you
keep on
Dejan
Very useful, thanks a lot !
Version 0.4 released
New version:
Version v0.4 has been re-written from scratch.
It now supports a very peculiar "feature" in the OS, where if you "launch" a shortcut (.lnk) file from a shortcut, the redirected shortcut will not launch with its command line parameters. I've sidestepped around this feature so it works as it should.
It's a niche "feature", but some might be effected by this. See VJSipSwitch for details (eg launching VJSipSwitch from a shortcut with command line parameters, and launching THAT shortcut with VJBrisk now works).
As an added bonus, VJBrisk will pass parameters to a shortcut, and also merge parameters from a shortcut to a shortcut before launching the target shortcut.
Trust me, this makes sense when you're on Meth.
Eg.
A. Make a shortcut to VJSipSwitch with the command line parameters "key", and call it VJBriskLNK.lnk (Shortcut A)
B. Make a shortcut to VJBrisk.exe with command line parameters "board" (Shortcut B)
Launching Shortcut B will launch VJBrisk, which will merge the parameters "key" and "board" to launch VJSipSwitch with the parameters "keyboard".
V
I'm having trouble getting this working... I'm trying to use it to redirect manilla2d to open the Google Maps exe on my strage card instead of device memory (as I have an Omnia i910 and device memory is precious!)
I put a copy of vjbrisk.exe in \Program Files\Google Maps, renamed it "GoogleMaps.exe" (which is what is hard coded in Manilla), created a shortcut to the actual GoogleMaps on the storage card, named it "GoogleMapsLNK.lnk", put it in the same directory, but every time I try to access the maps tabs I get an error from vjbrisk saying "Could't find 'GoogleMapsLNK.lnk' or 'GoogleMapsEXE.exe' in the directory '\Program Files\GoogleMaps'". BUT I KNOW THEY ARE THERE, and spelled correctly. What am I missing???
I included an attachment of a screenshot of the "\Program Files\Google Maps\" directory connected through ActiveSync to show you I am not crazy.
Help?
Thanks
@false_apology - did this issue ever get fixed?
Could you email or attach the .exe and .lnk you made so I can have a look at them.
How did you create the .lnk?
V
Hi Vijay, I have been using the original VJBrisk for a while now - it is a really handy tool. Shall update to the new version - looks like a great step forward!
Michael