Where is smartskey automatically ran from after suspend? - 8125, K-JAM, P4300, MDA Vario General

I'm hoping someone can help me. I had smartskey installed in '\My Documents\smartskey\smartskey.exe', and now I've moved it to '\Program Files\smartskey\smartskey.exe'.
Whenever my phone wakes up from suspend, I get an error saying "Cannot execute "\My Documents\smartskey\smartskey.exe". I cannot figure out for the life of me where this is getting called from.
I need to change it to reflect the directory change that I moved the file to. I have been looking for some sort of grep-like tool for PPC to where i can possibly search where this is getting called from, but that's not working out either.
Thanks!
--upen

Funny - I came on here specifically to ask the same question. In my case I just upgraded Smartkey from 0.4 to 0.41 - I deleted the old directory and its contents that contained 0.4 and created a 0.41 directory. i deleted the old link to smartkey.exe and created a new one. I did get a duplicate lnk the first time (I assume smartkey created its own and I deleted one of these. Everything seems to work fine including the new features of 0.41 but after suspend I get the same message as above as it tries to start smartkey.exe in the OLD (0.40) program in the old directory. No problem on soft boots..

That's because Water adds a notification to the notification database to execute the smartskey app on a device wakeup.
You can use a tool like MemMaid to modifiy the particular notification and point to the new location of the smartskey app on your device.

Yep, Memmaid handled the issue. I didn't even think about looking in there.
Thanks!

upenox said:
Yep, Memmaid handled the issue. I didn't even think about looking in there.
Thanks!
Click to expand...
Click to collapse
If you have orphan notification in the queue, you can copy smartskey.exe into the old directory and run twice. and select close the application in the second pass. The program will delete the notification automatically during close of application.
water

Related

Autorun on resume problem

Hi,
I have a problem with my magician.
Every time I power it on (warm-start) it tries to execute a program (skype) and gives error (because skype was deleted by hand).
I tried looking with a registry editor and could not find the place it's told to start it. No stuff in autorun under \windows too...
where do I look?
Answering my own question
I'll answer my own question as it could be usefull for others ;-)
There's a thing called "notification queue" which is basically a list of programs that need to be started in kernel when things happen.
Skype had installed itself with an APP_RUN_AFTER_RESUME and was starting after each power on. Since I deleted the prog by hand, the queue was left behind.
To delete, I used PocketMechanic (there's a trial version also).
I could not find the references in the registry.
Any body knows how to manage this queue and where it's kept?

App on SD card, no icon on Start menu

I've got a couple of apps on the miniSD card which I've added to the start menu but (I guess because they're on the miniSD) when I start up there is no pretty icon in the list.
It's not the end of the world, but I wondered if there was a way to fix it properly?
Yes, you can make a shortcut in the local/windows/start directory.
works perfectly - thanks! Clever things shortcuts
is it possible (as a follow-on) for a program in the 'startup' list that's on the miniSD card to be delayed before starting... or does it retry the card until it's ready?
I don't really understand what you mean.....
OffBeatMammal said:
works perfectly - thanks! Clever things shortcuts
is it possible (as a follow-on) for a program in the 'startup' list that's on the miniSD card to be delayed before starting... or does it retry the card until it's ready?
Click to expand...
Click to collapse
Why don't you try and tell us that it won't kill your device, the worst it will do is just give you an error message.
hanmin said:
OffBeatMammal said:
works perfectly - thanks! Clever things shortcuts
is it possible (as a follow-on) for a program in the 'startup' list that's on the miniSD card to be delayed before starting... or does it retry the card until it's ready?
Click to expand...
Click to collapse
Why don't you try and tell us that it won't kill your device, the worst it will do is just give you an error message.
Click to expand...
Click to collapse
wasn't sure the best way to test... and as I've only had the thing a few hours was a little nervous about busting it but popping memory cards in and out to see what happens to get some empirical evidence
Looks like (on testing) that it doesn't retry an app that's set to run off the card if the card isn't installed in the first few seconds... in fact, programs living on the miniSD card but with shortcuts in the /windows/startup folder don't seem to launch at all (tried with a couple - Chronos and SmartsKeys from here) - does this mean I need to go find a launcher app that loops until it's found/started everything?!
I know... I'm a developer by trade so maybe I should learn to hack this thing myself, but most of my development is web not PDA (last time I used VB for a PC app was before .net!)
Funnily enough, in the testing I discovered it's pretty hit and miss if the shortcut icon appears when the app itself lives on the miniSD card... looks like I'm going to have to move Chronos to main memory if I want to be sure of getting woken up in the am
What's the "local/windows/start directory"?
I have the same problem with the icon for programs on the SD sometimes not showing up (sometimes display as a generic Winsows desktop liiking icon) - the entry is there just that the icon itself isn't the correct program specific one. Doesn't seem to be any rhyme nor reason to it.
So is there a solution?
I have the same problem with Storage Card icons not showing up after a soft reset. Has anyone figured this out? Putting shortcut in the startup folder only cause the programs to be loaded, and sometimes that cause errors and all those apps do get launched.
As a work-around I've installed Smallmenu and put cascading menu on my Programs folder (subfolders). It's a few clicks more but at least I get all my icons, organized the way I like them.
Can someone explain this solution to me? What am I creating a shortcut to? If I create a shortcut to the program in the startup menu, will i tnot just open the program?
That seems more annoying than not having the icons...
Looks like AKU2 update has made this problem go away, at least, I've not noticed a problem with startup or icons since upgrading...

Weird error with smartskey launch

So, when I first started using smartskey.exe, it was located in /My Documents/My Downloads. Everything was working fine, but then I decided to rename My Downloads to just Downloads. This messed with the smartskey entry in the autolaunch thing, so I changed the target of /Windows/StartUp/smartskey.lnk. This stopped the annoying "file not found" errors when soft-resetting the device, but when the device wakes up after around five minutes of non-use, I still get a notification error reading "Could not execute command '/My Documents/My Downloads/smartskey.exe'". I've gone through every file (with Total Commander's find file function) and every registry key (with PHM Registry Editor's search function), but I can't find where there's still a reference to /My Documents/My Downloads/. Any idea where smartskey may have put such a reference and how I can remove it?
that's because it's not in the registry, it's in the notification queue.
You'll have to get a program to scan it and remove the broken references.
rwald said:
So, when I first started using smartskey.exe, it was located in /My Documents/My Downloads. Everything was working fine, but then I decided to rename My Downloads to just Downloads. This messed with the smartskey entry in the autolaunch thing, so I changed the target of /Windows/StartUp/smartskey.lnk. This stopped the annoying "file not found" errors when soft-resetting the device, but when the device wakes up after around five minutes of non-use, I still get a notification error reading "Could not execute command '/My Documents/My Downloads/smartskey.exe'". I've gone through every file (with Total Commander's find file function) and every registry key (with PHM Registry Editor's search function), but I can't find where there's still a reference to /My Documents/My Downloads/. Any idea where smartskey may have put such a reference and how I can remove it?
Click to expand...
Click to collapse
As GldRush98 stated, you'll need to clean up the system-level Notification Queue. I recommend SKTools for the task - it's one of the best utilities for the PPC and well worth the money.
I grabbed a copy of MemMaid, and that solved the problem. Thanks for your help guys!

[App] VJBrisk v0.4 - new and improved

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

Cant add programs to list

HI, i have seen on this WM6.5 that i can't add any program (ie one thats not say google maps or one of those big companies)
i can run the program via file manager and clicking the application .exe
the phone still wont see the application as a program.
i had a jasjam before and the prgrams i am trying to add worked fine but now on 6.5 cant do this.
the only way is to run these apps, well not run but to get a short cut, is on a program like CHome but then i move away from HTC sense start up display that is nicer looking.
like i said the programs work fine, just can see them in programs.
anything that will help?
cheers
have you posted a shortcut to your windows\start menu\programs\
I'm running 6.5 and any time I have a program installed on my sd card or trying to run an .exe from the storage card (or even if the .exe is just in another folder) thats what I do and it shows in my start menu or whatever subfolder I put it in in the start menu.
Aaron McCarthy said:
have you posted a shortcut to your windows\start menu\programs\
I'm running 6.5 and any time I have a program installed on my sd card or trying to run an .exe from the storage card (or even if the .exe is just in another folder) thats what I do and it shows in my start menu or whatever subfolder I put it in in the start menu.
Click to expand...
Click to collapse
Yeap, in programs folder as an .exe, other folders like goggle maps are there too. The programs still don't show or work. Should i not try and get an .cab version? since looking into this takes you into trying to understand a pda rather than a PC. The .exe files still cant be seen, i have to run them via file explorer, although now loaded a short cut via button strokes so am using that to make the task a little easier.
I ran a .cab file on another program and found it distributed files with icons and other th9ngs that seem to integrate better into the host rather than an .exe
Also been looking at all the apps these phones can have its amazing.
I have one on my phone that can change a set of traffic lights in my city!
With authorisation of course, its my job, just saying how the PDA has really started to take off. become the real modern Swiss army knife.

Categories

Resources