Turning on phone at set time? - 8125, K-JAM, P4300, MDA Vario General

Hi. I frequently turn off my phone using the Comm Manager while leaving the PDA on during the evening. In the morning, I frequently forget to turn the phone back on and I was wondering if there was a program that can turn on (and perhaps turn off) the phone using the Comm Manager at a set time. Thanks.
Phone: 8125 on WM5 with original ROM

I'm looking for something like SleepWell.
http://www.connectivetools.com/sleepwell.html
The problem is that this program works only for smartphones. I tried it on my 8125 and it doesn't work. Moreover, the program deposited 300Kb of data which I can't seem to get rid of even after uninstalling it. But I'm still looking for such a program. Thanks.

Try Mortscript (Freeware). you can write a simple script that will set a notification event (or whatever it's called). I use it to run weather watcher automatically every morning. there are several forum strings, here and on others that have examples of different scripts that you can modify for your own needs. just do a google search for Mortscript, and Mortscript examples. It also has documentation included. Learning to use Mortscript will give you more control over your device than you ever though was possible.

I didn't think of MortScript, but even if I had, I don't have the technical know how to create do what I wish with a nice GUI.

Related

[Universal Owners] Please upload Comm Manager For Wiz Users

The wireless manager in the universal seems to have the Phone Off,BT,Wifi and all off.
While the Manager in the wizard has Vibrate,Ring,Wifi,BT and activesync.
Can we get the universals manager on the wizard?
vbguru613: I doubt there's any reason why you couldn't do a rom rip and move it across. But why Universal to Wizard? Wizard's sounds better.
I kinda made a command line utility to replace the manager, given VGA difficulties of the manager on the Uni. But Wizard's could be much more interesting.
V
can you send me the CommManager from the universal?
I'll try to get to it, but I'm not near my home PC until later today. If anyone else has got a copy, jump in!
If you've got it at hand, wanna trade me your Wizard's manager
V
I need the Universal comm manager too. I dont see the point of turning on vibration in an application called COMM manager!!
Comm Manager Wizard
Here it is.
If you have a universal please do the same.
To developer guru's I suggest:
ON/OFF:
- Phone
- WiFi
- BT
- IR
- Proxy
and maybe: - sound ON/OFF (Ring/Vibrate)
I think will be a good APP.
arp - I've got a new app I'm working on, VJBlooToof (temporary name, maybe). A couple of guys are trying it out right now, but it's basically going to be an interface to most comms stuff.
I haven't added proxy and vibra, but I'll look into it. Also some other hacks not mentioned on your list :wink:
V
VJ,
I think You can do it! :wink: Will be a great program!
Names: VJComm; VJCManager; VJAllComm (I like first!)
Do you develop in VB? What toll?
Thanks
Arp - I develop in c++ unfortunately. It's not for people who want to keep their hair until they are 30 :evil: It can be very frustrating, but I'm getting used to it slowly. (on the PC I develop in VB, if I need to write any quick programs.)
Hmm, the names are too obvious :wink: I'm thinking of VJVolubilis.
It started out as a small app I made to test VJElectrify (programs to test bluetooth/voice command on the Universal). I put some other functions into it, but I will use the code in some other apps that control communications. But for me, at least, it's useful to have access and control over all communications functions in one place.
V
[Universal Owners] Please upload here
Just tried to copy Comm Manager from my Exec but it won't let me (Access denied). How can I get past this?
can you explore your universal from active sync and in the windows folder can you "Copy" it to your desktop and then upload from your desktop.
No, that's what I tried to do - it won't let me copy anything from the Windowsdirectory - either through Active Sync or on my device Any ideas would be great!
can you copy from your device to somewhere other then the windows directory internally using REsco or file explorer.
Or maybe the file is running. you have to end the process to copy it use the attached file (copy to device and run it) and end the process tree of commngr.exe and then copy it.
Tried resco, tried the task manager, tried renaming the file, all with no success. There has to be a way!
did you end the task (process tree)?
yeah, still wont copy
Uni WirelessMgr
Here you go guys.
Not sure if it'll work due to ripping procedure, but let me know.
V
VB: CommManager.exe doesn't seem to work. Does it have associated dlls?
V

TodayPlus on wizard?

Has anyone got TodayPlus http://www.pocketpcfreeware.com/en/index.php?soft=843
up an running on the wizard. It is/was the best todayscreen plugin on my old Ipaq. I can get it to run as a stand alone app. but not to integrate as a plugin.
Al
Hmm.. I reviving this threat after 'discovering' something called 'TodayPlus'. I did a google to it and it seems to be a very powerful program. From the looks of it, it seems to have the potential to cover both PocketBreeze and PocketPlus.. and yet it seems to be not often being discussed here. It seems to be able to do everything, by scripting (feels to be like the PPC version of Samurize.com)
I'm bound to give it a go this weekend.
Those who are interested, take a look at this MASSIVE forum just for this today plugin/application.
http://forums.jhollin1138.com/
French version http://www.todayplus.fr.tc/
You may able to download the software from the link above (post by `wizzzard`).
Note that, there are a lot of software named TodayPlus, which includes a Palm based software that tries to emulate PPC Today. So, it is rather confusing to do a google for it. Anyway, the 'head' of TodayPlus seems to be at this site
http://www.dark-mojo.com/
But it seems to be currently down.. interesting...
i got it working
http://forum.xda-developers.com/viewtopic.php?p=360201#360201
but i couldn't get it to update weather, rss,radar
attaching the program
Todayplus is/was the best plugin I found. It worked perfectly on my WM2003 Ipaq2210 and works on my WM5 Wizard. It was designed for WM2003 and does not support landscape correctly. There is no support available from the author but remains for me the most adaptable today screen plugin.
Don't work for me...
I got only a blank screen. Any suggestion?
Ciao
blank screen
i have given edited dll also in that archive.
Skip the steps for editing it and you have to follow these steps
phuntum (05-27-2005) - v0.11.0
On your PPC use a file explorer that will allow you to see extensions and hidden files to find the file “todayplus.dll” in \Program Files\TodayPlus and copy it to your PC. On your PPC turn off the TodayPlus plugin (uncheck in the Settings/Today screen), soft reset, and move “todayplus.dll” from \Program Files\TodayPlus to \My Documents. On your PC use a hexeditor to open the “todayplus.dll” and search for “7D 1E A0 E3 03 08 A0 E1”; replace “7D” with “8D”; save the edited “todayplus .dll” and copy it back to \Program Files\TodayPlus on your PPC. Delete” todayplus.dll” from \My Documents and reset your PPC. On your PPC turn on the TodayPlus plugin (check in the Settings/Today screen) and soft reset.
phuntum (05-28-2005) - v0.11.0
The above fix is permanent. Save the new todayplus.dll in a safe place so that if you have to reinstall (e.g., after a hard reset) all you need do is install, disable, and replace as per above. You might want to save the instructions just in case. Free hexeditors are abundantly available. Do a web search for one. It's a great program and the effort is worth it. When you're ready, surf over to http://www.jhollin1138.com for a goldmine of help. There is a great debate as to whether the fix should be shared--somewhat hypocritical in my estimation, since those who were lucky enough to get it before it disappeared are using it.
these are the directions from ppcfreewares i followed
after doing this go to this thread http://forums.jhollin1138.com/viewtopic.php?t=1292
and start with no 6 in instructions
good luck
I still need to reinstall this plugin after upgrading my ROM.
There are loads of diferent skins available my favourite is attached.
The Dark Mojo forum closed ages ago but discussions particularly on the "Hammerskin" skin are ongoing on http://forums.jhollin1138.com/
Hammerskin is awesome but it was too much of a resource hog last time I tried it.
Sorry for the double post
updates?
did u get weather and rss updated?
I have tried it twice on my Kjam. Used the modified dll provided. however, I can only see a white screen when trying to access the settings! :S Does anybody know what I am doing wrong? Thanks
Ok, I found it! I was missing the .net!
Very nice application with beautifull skins! Only drawback is that it does not auto refresh when you add a new apointment or task!
Apart from that its a really nice application!
Arrgghh,
Reinstalled on my Wizard after upgrading to Molski's ROM. I can get it working as a plugin rather than as a stand alone program, which previously was my stumbling block. Now I can't get the config utility to remember my location or get weather and rss feeds updated. This did work on my old ROM. I think it is just some reg settings that need creating but why it worked before and not now I do not know.
Hi Guys,
Im a newbie to this plugin but so far I understand that its able to make short cuts on the "desktop" just like a normal pc....and thats what Im looking for.
Ive followed the instructions carefully and the first time it went okay....i.e I got the slider.txt in the skin box. However I didnt find the "okay" button on the top.
Well I followed the instructions but it didnt show up on my desktop....strange so I uninstalled.
Now Ive been reading a bit further and read that the reason why it might not have workd could be the date so I decided to set back the clock 2 years and reinstall it.
2nd time around I dont get the slider.txt option, it has saved my settings from my first install....and it still doesnt work.
help help help
Well after som struggle I managed to get the slider.txt into the "Select Skin (DLL)"
But its still not working on my today screen. I can choose it as the only item on the today screen however its just blank.
Is this because I use a special black screen (tsk file) for my back ground ?
Also its seems to forget my location (Lat/Long)
Any help so that I can get it working ??
Im using a Qtek 9100 with WM 5 OS 5.1.195 Build 14847.2.0.0
Oh I'm happy again
I finally got Todayplus running properly again. Weather and RSS are updating correctly.
This is what I did.
1 install Todayplus cab
2 Disable Todayplus from Settings/Today/items
3 Soft reset. Or power cycle the phone.
4 Overwrite todayplus.dll with the modded one
5 create directory \program files\todayplus\Buffer
6 Connect to internet and verify connection with PIE, minimise
7 Run todayplus config
6 Tab to Weather/RSS add new weather cities and rss feeds
7 Tab to Time/Storage add new timezone and set storage path to \Storage Card (case sensitive and device specific for Wizard?
8 Close Todayplus config
The config utility would not save my location coordinates on the owner info tab so I manually entered the values into HKCU\Software\SRSSoft\TodayPlus\coords\1 (string value of the form 53.483,-2.053) You can get your city coords from http://www.heavens-above.com/
9 Disable all other today screen plugins and enable todayplus. Close the settings program.
On returning to the today screen after a short wait Todayplus should be working. This worked for me but there is loads of information at http://forums.jhollin1138.com/viewtopic.php?t=1292 if you need further help.

Scheduled switch on / off of Bluetooth

Hi,
This may be a generic piece of software but I'll post it here becuase the TyTn is the device I want to use it on...
Is there a piece of software available that will switch on and off bluetooth at a specified time?
If not, would somebody with some programming knowledge be able to write this?
The idea behind it is that - say you travel to and from work at a specific time - say 8am -> 8:30am and 5:30 -> 6pm - you would'nt have to keep switching bluetooth on and off in order to connect your mobile to a headset...
Cheers
Lee
Auto switching..
Have you tried PocketZenPhone?
it may be what you are looking for..
Charlie Grillo
Phonealarm has an option to schedule profile changes at specific times and within each profile, one of the settings available is to switch bluetooth on/off. You can also specify to run a program of your choice upon profile change as well.
TyTn is PocketPC bassed not SmartPhone bassed so it dosn't have profiles as such...so don't think that'll do it...
Phonealarm is a program which gives your profile functionality on a PPC device.
My phone is a Vario II (aka HTC Tytn).
Nicky said:
Phonealarm is a program which gives your profile functionality on a PPC device.
My phone is a Vario II (aka HTC Tytn).
Click to expand...
Click to collapse
I'd better have a look at it then!!!
Yeh, it is worth a look, it is a great program
I really missed having profiles when I switched from standard phones to PPC devices which is why I bought it.
If you click on the link on my first post it will take you to the developers home page.
I'm using SKScheMa from the SKTools folk.
http://www.s-k-tools.com/
It works fine to schedule all sorts of stuff on/off, including soft reseting in the middle of the night, running clean up utilities at 6am etc..
It's also got some neat (if quite complicated) scripting capability but there are one or two pre-canned scripts that you can assign to buttons like 'Toggle BT' ...
Works for me...
Cheers
Dave
davejeff said:
I'm using SKScheMa from the SKTools folk.
http://www.s-k-tools.com/
It works fine to schedule all sorts of stuff on/off, including soft reseting in the middle of the night, running clean up utilities at 6am etc..
It's also got some neat (if quite complicated) scripting capability but there are one or two pre-canned scripts that you can assign to buttons like 'Toggle BT' ...
Works for me...
Cheers
Dave
Click to expand...
Click to collapse
Dave
is it possible to use this to get ActiveSync via bluetooth to start automatically when I come in range of the bluetooth on the PC? I do all my synching with BT, but it is a pain in the butt to have to manually start the process every time
yeah - I know what you mean... so as far as I know, it's possible to create a script to switch BT on, then start an App (such as Activesync)... you can even script it to emulate stylus 'clicks' etc.. now the only trick may be having to start the script (for activesync) depending on a connection being available ... but there is some capability called WATCH which is supposed to watch for certain events etc...
So, have I done it myself ? no...
Is it possible ? it certainly looks like it..
Cheers
Dave
Hi lsainsbury,
I would also give PocketZenPhone (mentioned above) a try. From experience I have personally found it better than Phonealarm for switching profiles etc...
From what I remember PhoneAlarm has other features which I was not interested in. PZP has many features for customizing notifications etc...
I am sure others will disagree but this is my opinion.
Guess you have nothing to loose by trying it, right?
Tried both, pocketzenphone is the best IMO....its only missing ONE thing which is automatic profile changing via cell id.
(as you can see by my new topic) Phonealarm seems to have problems with the TyTN from my experience anyway!

Any software requests out?

Hi, I'm a developer wanting to write an app/today plugin. Do you have any request?
Yea I've wanted this for long time and hope you make it for me. Program that like the watch beep or vibrate 30 min or hour and not turn the screen on?? so I can tell time without pulling the phone out.
Thanks for the opportunity, I was thinking about asked here.
Today plug in for Last call and Running Program as in O2 Plus. Both are nice features of O2 Plus but sadly hacked version has lot of issues to run on wizard and it's big prog to install only for those plugins. Thanks.
check this out http://forum.xda-developers.com/showthread.php?t=328317
I'd love an app that would allow you to get notifications of email that goes into folders other than inbox. Currently, there's no way to do that, and there are no rules you can set like in desktop Outlook to inform you when a message goes into one of those folders.
Hi Kartam, I use claunch, you can see it in my avatar there, I would love to be able to finger scroll the launch icons to the left or the right to quickly get to all my apps, configurable icon size of course. Outside of the today screen a finger friendly file browser is definitely waiting for development, something that has the look and feel of pocketCM but shows your files instead of your contacts, complete with favourites and filters for stuff like music videos or documents. It should also allow users to set a default action on selecting any given item.
funger friendly alarm clock?
Hi,
how about an alarm clock with numbers like a telephone pad, so you can easily type in the wake up time (regular cell phones allow this). I tried all sorts of commercial products, they are not good (snowtime, spb time, etc...)
Or how about a modern version od "pPod"? :-D
Good luck with all your programs!!
finger friendly alarm clock?
Hi,
how about an alarm clock with numbers like a telephone pad, so you can easily type in the wake up time (regular cell phones allow this). I tried all sorts of commercial products, they are not good (snowtime, spb time, etc...)
Or how about a modern version od "pPod"? :-D
Good luck with all your programs!!
Mine's rather Simple!!!!
...or at least I think it it should be.
All I want is an app (preferably that sits on the today screen) that can toggle the network selection between automatic, roam only, and home only.
Sometimes I need to roam to hold a proper signal, and in those places I like switching my phone to "roam only". Then, when going home, I switch it back to automatic network selection. Problem is that this is buried in many menus and takes several clicks to switch. Its a pain to do this 2x a day.
what do you think?
I actually think you may be able to do that with MortScript, I could've sworn I saw a script that did something similar on HoFo or another forum with one that did almost exactly what you described, but it might've been the WiFi radio in conjunction with a GPS puck...or something
I have multiple application using GPRS. My problem is that all those application are not using tha same APN (not sure of the name, I mean different GPRS connections). Each time I need to use one application or another I need to go to the parameters, change my setting click multiple times on OK.
It would be great (at least for me) to have an application on the today screen which permit to select the correct APN.
Regards
Stephane
cybersush said:
Hi,
Or how about a modern version od "pPod"? :-D
Click to expand...
Click to collapse
What a great age we live in when a completely touch screen digital music player is not considered as modern!
Haha, you got a point there, touché :-D
What i meant was a more modern pPod skin (maybe more skins to choose from...?), a playlist manager of some sort (so you dont have to browse through all kins of folders until you find your mp3s), slightly bigger buttons, ....
I love the design and the simplicity of the pPod though, just a little tweaking would be cool. And yes, i did also try mortplayer and HTC audiomanager, both great programs, but both programs are too big for just playing music (in my opinion)
Actually a great program would just be a hack to have HTC Audio Manager use the ID3 Number tags to sort music instead of Alphabetical
Re the new ppod program - that'd be great - I've been refreshing the iphone media player thread like nothing on earth - cant wait to see what that turns out like... the HTC hack would be good tho.
ps you might want to check out Simple Tunes V1.61
Hi!
You can make a little program for me??
Here you can find a little CAB http://forum.xda-developers.com/attachment.php?attachmentid=49265&d=1188921933
They copy to the Windows folder a little executable, copy into StartUp folder a shortcut to it, and add few registry-entries....
Well, this program don't have any interface, simple start when device start...
The target is "improove" the quality of A2DP transmission (audio over bluetooth)
BUT, when this service running, the battery quickll drain!!
You can make a simple app (like a GUI) to enable/disable it??
To enable = write few registry-entries and copy a shortcut to the StartUp folder, then softreset the device
To disable = remove the same registry-entries and remove the shortcut from the StartUp folder, then softreset the device
Can you create an application that will let my Hermes roam the floor vacuuming!?
a2dp stereo auto enable
can you write (or is there out there) an app which enables the a2dp pairing with a bt headset so the stereo is enabled by default when the headset re-establishes a connection.
currently (for me) if i turn loose the pairing, ie if I charge the headset, then turn the headset back on for a2dp. I have to run the bt settings in control panel and click 'set as wireless stereo' on the headset.
note the phone headset is enabled straight away when it is powered up.
thanks
left/right scrolling today screen plugin
this would be a sweet today plugin....
Location based profile changer

New audio switch program for skype and others.

This program is an evolution of the first I made. It will route the audio to the earpiece when an certain program is running.
I put the program here because I have test it in wizard, if people test this in others phones and it works, please post here and maybe move this this thread to an more "generic" forum.
the program MUST be under "\($program files)\audioswitch" folder, you must unzip the contents to this folder.
the configuration file (command.txt) is under this format:
1000
skype
fring
etc
the first line is the delay(in miliseconds) in witch the program will "look" if a program in the list is in the top level window, faster phone, smaller delays, I recommend 1000 ms.
the next 20 lines are the programs you want the audio to be routed to the earpiece(max 20 lines for now).
Again the program is under the "do it on your own risk" and "I am not responsible for anything" licence. And,of course, it is free!! Do not sell it!
It is manly intended for little expert users, as it is still in "beta" fase, hehehe.
How it works:
the program runs in an eternal loop and look for the title of the current window that is displayed for the user in a time interval.
When the program mach the title window with one of the names user configured it it will switch the audio, when the program is not running anymore, the audio will swich back.
Do not launch two or more instances of the program at the same time, could really mess things up. -- se the forum (thanks tucahara)
To stop the program, u must use a process manager.
it would be good if someone could make a cab to install it. -- done see the forum (thanks tucahara)
this is still a beta, I intend to make ajustments as people give feedback.
Thanks,
hope u like.
-----first update---
now, an file called "audioswitch_error.txt" in the root directory will hold the error messages.
------------ List - Working ------------
wizard - I tested
P3301 or P3300 - I tested
att tilt - I tested
touch 3452 and 3450
touch dual
touch cruise
touch HD
Sony Ericsson Xperia X1
BenQ E72
Titan --> see the forum
------------ List - NOT working ------------
T-Mobile Diamond
HTC Touch by Sprint
Samsung SGH-i780
------------------------------------------------------------------------------------
check the new thread at:
http://forum.xda-developers.com/showthread.php?t=502361
new aproach to do the switch and now open source, even with an class that others can improve and put in other apps...
Some people complain about me not openning the source of the app, I have just made this way because there was proprietary code inside and I had no time to rewrite it without the proprietary code.
I have made the best I could, and now I had some time and rewrite the app in open source, to those who only complain about it, get the code and make it better instead of complaining!
Thanks for all that encourage me to continue the work and helped the development.
will retire this project for while...
thanks u all.
Audioswitch for Skype
On HTC Touch by Sprint (CDMA, also known as Vogue), audioswitch does switch the audio in the Skype 2.5 windows mobile PPC from external speaker to handset. Unfortunately, the microphone is then also disabled. I hope you'll be able to tweak your audioswitch to resolve this.
Thank you so much for developing this wonderful applet. I'm sure you will have the gratitude of many frustrated Skype windows mobile users.
What really happens is that when the sound output is switched in some phones, the microphone gain changes too. This happens because the phone thinks it is a "normal call".
Most of the times the mic gain increases, but in your phone it must be decreasing. Try to figure out in registry where the mic gain controls are recorded and chage all of then to the same value. I had this issue with my P3301 and solved this way, but there is quite a time now and I do not remenber where are the reg keys to change, but I have found the information here in the forum.
I will try to figure out for other "hack" to solve this issue... thanks for reply.
doesn't work at T-Mobile Compact IV (aka Diamond)
Sound went to loudspeaker....
PS: fring last version working fine with sound at mine phone (without any additional programms). Sound is going to correct destination automatically
I just tried the latest version of Fring, which automatically switches audio to earpiece when call is connected.
The same issue occurs with the new Fring as I described above with your audioswitch program: I can hear audio through earpiece, but microphone doesn't work (or is inaudible).
I couldn't find a tweak or registry hack to correct this. Any help would be greatly appreciated.
MarceloFB said:
This program is an evolution of the first I made. It will route the audio to the earpiece when an certain program is running.
I put the program here because I have test it in wizard, if people test this in others phones and it works, please post here and maybe move this this thread to an more "generic" forum.
the program MUST be under "\($program files)\audioswitch" folder, you must unzip the contents to this folder.
the configuration file (command.txt) is under this format:
1000
skype
fring
etc
the first line is the delay(in miliseconds) in witch the program will "look" if a program in the list is in the top level window, faster phone, smaller delays, I recommend 1000 ms.
the next 20 lines are the programs you want the audio to be routed to the earpiece(max 20 lines for now).
Again the program is under the "do it on your own risk" and "I am not responsible for anything" licence. And,of course, it is free!! Do not sell it!
It is manly intended for little expert users, as it is still in "beta" fase, hehehe.
How it works:
the program runs in an eternal loop and look for the title of the current window that is displayed for the user in a time interval.
When the program mach the title window with one of the names user configured it it will switch the audio, when the program is not running anymore, the audio will swich back.
it would be good if someone could make a cab to install it.
this is still a beta, I intend to make ajustments as people give feedback.
If someone like this program and wants to make an donation...
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=4WLQVA6LTKWSL&lc=GB&item_name=marcelofb&item_number=marcelofbxdadonations&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG_global%2egif%3aNonHosted
Thanks,
hope u like.
Click to expand...
Click to collapse
I have an idea. Rather than regularly polling to see what the current windows is, why not use a windows hook to monitor windows messages. When you see a message indicating a window has come to the foreground test it against your list of windows and enable/disable audio switch as necessary. Use SetWindowsHookEx and hook for WH_CBT messages. If you are unfamiliar with using SetWindowsHookEx I could supply you with the hooking code and all you would need to do is insert the code to check the window names, enable the audio switch, and disable the audio switch. Or you could send me the enable/disable routines.
Another tip, I noticed that skype places an icon in the notification area during a call. If there is someway of detecting the notification icon that could be another great way to trigger the switch.
Great program though. Works beautifully.
OOOH
If this program works on the new BenQ E72 I'm getting in a couple of days I'll certainly donate!
THANKYOUTHANKYOUTHANKYOU
hello,
it does not work on hermes (tytn).
by the way "troca2" does work on hermes! - maybe you guys want to work together?
baal_zebub said:
hello,
it does not work on hermes (tytn).
by the way "troca2" does work on hermes! - maybe you guys want to work together?
Click to expand...
Click to collapse
hehhehe, I made troca2, I will see if the switch code is the same or if I have made some mistake...
are u sure you have put the program in the correct directory?? I will make some modifications to have an error feedback. So u can see if something is wrong...
JKingDev said:
I have an idea. Rather than regularly polling to see what the current windows is, why not use a windows hook to monitor windows messages. When you see a message indicating a window has come to the foreground test it against your list of windows and enable/disable audio switch as necessary. Use SetWindowsHookEx and hook for WH_CBT messages. If you are unfamiliar with using SetWindowsHookEx I could supply you with the hooking code and all you would need to do is insert the code to check the window names, enable the audio switch, and disable the audio switch. Or you could send me the enable/disable routines.
Another tip, I noticed that skype places an icon in the notification area during a call. If there is someway of detecting the notification icon that could be another great way to trigger the switch.
Great program though. Works beautifully.
Click to expand...
Click to collapse
It is a good idea to use hook, I have not think of it!
I use a proprietary code included in a lib at the company I work for to make the "switch" but it is not different of what u find here in the forum.
Maybe we can make an effort to re-make it with hooks...
so this program must run all the time? after every softreset you have to start it?
is it not easier with mortscript (for example) to make an shortcut that opens skype as well as the audioswitch program? and closes the audioswithc program when you close skype?
I am using it right now and it seems to work perfect:
i used this script after installing mortscript (http://www.sto-helit.de/):
run( "\Windows\SkypeSoundSwitch.exe" )
runwait( "\Program Files\Skype\Skype.exe" )
close( "troca2" )
(see that in my case i downloaded your original program and renamed it to skypesoundswitch.exe and put it in the windows map)
I renamed it so i could remember what the purpose the file had.. changed nothing but the name!
Thanks for the program by the way! it always worked perfect!!
so to sum up the way i have it now (most files included) on my xperia x1:
1) installed skype
2) installed mortscript
3) add skypesoundswitch to \windows\....
3) add skype.mscr to \.... (root)
4) overwrite skype.lnk with the new skype.lnk in \windows\start menu\programs\..
in the way whenever i open skype(.lnk), it opens skype.mscr, this opens skypesoundswitch.exe and than skype.exe... when you close skype.exe it closes skypesoundswitch.exe...
it seems to work perfect.. but hey maybe i am doing something totally wrong here.. than just shout!
by the way, the .mscr and the .lnk files are offcourse edit-able .. so you can put the files everywhere you like..
madhijs said:
so this program must run all the time? after every softreset you have to start it?
is it not easier with mortscript (for example) to make an shortcut that opens skype as well as the audioswitch program? and closes the audioswithc program when you close skype?
I am using it right now and it seems to work perfect:
i used this script after installing mortscript (http://www.sto-helit.de/):
run( "\Windows\SkypeSoundSwitch.exe" )
runwait( "\Program Files\Skype\Skype.exe" )
close( "troca2" )
(see that in my case i downloaded your original program and renamed it to skypesoundswitch.exe and put it in the windows map)
I renamed it so i could remember what the purpose the file had.. changed nothing but the name!
Thanks for the program by the way! it always worked perfect!!
Click to expand...
Click to collapse
That works great too. The advantage of this new program is that it will only reroute the audio when skype is in the foreground. You could minimize skype and leave it running, and audioswitch will automatically restore your sound. Get a call and open up skype and your sound goes back to the earpiece.
I will create the code to do it with a windows hook when I get a chance MarceloFB. Please pm me your email address. All you will have to do is insert the code to read the config file, check the window names, and when necessary enable or disable the switch. Or please show me where to find details on how to code this myself. Thanks!
Hat off to both of you and really glad that we will have a much improved solution.
JKingDev said:
That works great too. The advantage of this new program is that it will only reroute the audio when skype is in the foreground. You could minimize skype and leave it running, and audioswitch will automatically restore your sound. Get a call and open up skype and your sound goes back to the earpiece.
I will create the code to do it with a windows hook when I get a chance MarceloFB. Please pm me your email address. All you have to do is insert the code to read the config file, check the window names, and when necessary enable or disable the switch.
Click to expand...
Click to collapse
okay! I only used skype to make calls and than get offline so this way did the trick for me! but i have to admit it would be much better when i can keep skype online!
this new program does the trick indeed! it changes the output back when i minimize skype!
But still my question above, you have to start this program on every startup isn't it? what does it do with the battery?
madhijs said:
okay! I only used skype to make calls and than get offline so this way did the trick for me! but i have to admit it would be much better when i can keep skype online!
this new program does the trick indeed! it changes the output back when i minimize skype!
But still my question above, you have to start this program on every startup isn't it? what does it do with the battery?
Click to expand...
Click to collapse
Yes it must be run at startup but placing a link in your startup folder will make everything transparent to the user. I don't think there will be an effect at startup. In it's current form it must check every second (or whatever you set the timeout to), but its only a little bit of code. I am not really sure if that will really have an effect. The more often it checks the faster it will switch when you open skype, but also the more processor use. Check less often and it uses less processor, but there might be a delay in switching the audio. I proposed doing it by hooks though because this would use even less processor. The app will only check when a new window takes focus, rather than just periodically checking. This way it only checks when it needs to and will always switch instantly.
I am glad u liked the program.
I will try to answer most of the questions...
1- JKingDev:
I have though in your idea of using hooks, but if I use a hook, the program will have a loop anyway to check for the messages(hidden loop ;-) ), and it would have to have an "fake window" or something to process the messages. This way we have only one loop, in a very simple command line program with high optimization, so we have to think what is really the best way of doing it... I will pm u as soon I have any time to "program" again. hehe
2- people that uses mortscript with the old "troca2"
I will try to make a way to make this program work the same way as troca2, maybe with an "argc argv", wait the next update.
3- the battery life??
if u notice any battery life decreasing with the usage of the program, configure a bigger delay, maybe 5000ms, it is a matter of adjust the "timming" for each processor. Post your results here so others can find the optimum value for the delay in their phones.
4- have to start the program every reset?
yes, just put it in the startup folder.
maybe someone can make an cab that put the program in the right place and a link in the startup, it would be cool! I dont have an easy program to deal with cabs, and the vs projects for cabs.... I really cant make that thing work!!
well it is only the batterylife i was worried about. but i'll try running the phone this weekend with the program running and doing some skype.. lets see how it turns out!
For folks who have issues of mic on using this program, there is a quick solution for this problem. You can try sjphone. It provides a internal mic volume control. However, the major setback is that it's only working in wm5.
my 2 cents
weekendli said:
For folks who have issues of mic on using this program, there is a quick solution for this problem. You can try sjphone. It provides a internal mic volume control. However, the major setback is that it's only working in wm5.
my 2 cents
Click to expand...
Click to collapse
will check this, but people reported that worked in xperia... and it is running in my P3301... anyway, will check and post an wm6 build if it is the case... check the error file and see if it tells anything.
Other thing, this program uses low level api`s, so your windows MUST be fully unlocked for it to work in wm6.

Categories

Resources