Is there a fast way to turn on bluetooth on the Diamond? Whenever I want to use my headset, I have to go to Settings, Communications, bluetooth and its a bit too slow.
Any suggestions or tips?
Thanks,
Jon
I use QuickMenu (search the forum) which provides a nice little menu pick for this. Granted you need to select Start: Quick Menu: BlueTooth but then it's right there. It's not like you are selecting some application that will then occupy your screen so that you can toggle something on and then you have to get rid of the application/screen. Plus QuickMenu is a much better start menu anyway!
I use this, set to a soft key with softkey manager. One touch toggle, can't get much quicker!!
thanks for the program - does anyone know a way to hook this exe into an event? Perhaps such as turning on bluetooth when I plug in a USB cable?
-Mike
Download and install mortscript from here http://www.sto-helit.de/index.php?module=page&entry=ms_overview&action=view
Create script as follows:
Code:
VariableValue = 0
While (1)
USBState = RegRead("HKLM", "System\State\Hardware", "Cradled")
If (USBState = 1 && VariableValue = 0)
Run "\Windows\Start Menu\Programs\ToggleBTh.exe"
VariableValue = 1
EndIf
If (USBState = 0 && VariableValue = 1)
Run "\Windows\Start Menu\Programs\ToggleBTh.exe"
VariableValue = 0
EndIf
Sleep 2000
EndWhile
Save in Windows\Startup folder.
use advanced config to map one of the soft keys to run the Comm Manger and use the 10 buttons comm manager. this will give you easy access to all communications
What is a softkey?
Related
I just "installed" smartskey onto my Cingular 8125 and I get the soft keys to work (holding the left softkey activates the start menu) but I can't get any other functions to work, mainly the volume/jog and the dpad launcher.
Can someone tell me what's missing? Thanks!
This is my config (pretty much the default):
; INI FILE MUST BE SAVED IN UNICODE, PLEASE USE NOTEPAD TO EDIT IT
[MAIN]
; set LSKEY to 1 if you want to override Left Soft Key (DEFAULT 1)
LSKEY=1
; set RSKEY to 1 if you want to override Right Soft Key (DEFAULT 1)
RSKEY=1
; set VOLKEY to 1 if you want to override Volume Key (DEFAULT 1)
VOLKEY=1
; set DPAD to 1 if you want to use dpad to launch call log, contacts in phone app (DEFAULT 1)
DPAD=1
; set CLOSEAPP to 1 if you want to close app instead of hide (DEFAULT 0)
CLOSEAPP=1
; set STARTONREBOOT=1 to 1 if you the program to be start automatically during
; reboot, use with RSKEY (DEFAULT 0)
STARTONREBOOT=1
; set VOLUMEONPHONE=1 if you want to set volume using volume key in phone app
; use with VOLKEY (DEFAULT 1)
VOLUMEONPHONE=1
; set VOLUMEONTODAY=1 if you want to set volume using volume key in today
; use with VOLKEY (DEFAULT 1)
VOLUMEONTODAY=1
; use with lskey, rskey (DEFAULT 1)
PAGEONEXPLORE=0
; set OMAPCLOCK to the clock if you want to use omapclock and automatically
; set the clock speed after wakeup, you should put OmapClock.exe in the same
; directory of smartskey.exe
; REMEMBER TO REMOVE ';' BEFORE THE LINE TO ENABLE IT
;OMAPCLOCK=264
;REMOVEDUPSDDAEMON=0
;STARTMENUMETHOD=0
DUP=2
DDOWN=3
DRIGHT=1
DLEFT=4
; if you set CLOSEAPP to 1, the program will hide the following
; apps (by title) instead of closing. Other apps will be closed.
; maximum can set 16 apps
[EXCEPTIONLIST]
APP00=Text Messages
APP01=Outlook E-mail
APP02=Hotmail
APP04=MMS
APP05=Contacts
APP06=Calendar
APP07=Camera
Jason_Wilkerson said:
I just "installed" smartskey onto my Cingular 8125 and I get the soft keys to work (holding the left softkey activates the start menu) but I can't get any other functions to work, mainly the volume/jog and the dpad launcher.
Can someone tell me what's missing? Thanks!
This is my config (pretty much the default):
; INI FILE MUST BE SAVED IN UNICODE, PLEASE USE NOTEPAD TO EDIT IT
[MAIN]
; set LSKEY to 1 if you want to override Left Soft Key (DEFAULT 1)
LSKEY=1
; set RSKEY to 1 if you want to override Right Soft Key (DEFAULT 1)
RSKEY=1
; set VOLKEY to 1 if you want to override Volume Key (DEFAULT 1)
VOLKEY=1
; set DPAD to 1 if you want to use dpad to launch call log, contacts in phone app (DEFAULT 1)
DPAD=1
; set CLOSEAPP to 1 if you want to close app instead of hide (DEFAULT 0)
CLOSEAPP=1
; set STARTONREBOOT=1 to 1 if you the program to be start automatically during
; reboot, use with RSKEY (DEFAULT 0)
STARTONREBOOT=1
; set VOLUMEONPHONE=1 if you want to set volume using volume key in phone app
; use with VOLKEY (DEFAULT 1)
VOLUMEONPHONE=1
; set VOLUMEONTODAY=1 if you want to set volume using volume key in today
; use with VOLKEY (DEFAULT 1)
VOLUMEONTODAY=1
; use with lskey, rskey (DEFAULT 1)
PAGEONEXPLORE=0
; set OMAPCLOCK to the clock if you want to use omapclock and automatically
; set the clock speed after wakeup, you should put OmapClock.exe in the same
; directory of smartskey.exe
; REMEMBER TO REMOVE ';' BEFORE THE LINE TO ENABLE IT
;OMAPCLOCK=264
;REMOVEDUPSDDAEMON=0
;STARTMENUMETHOD=0
DUP=2
DDOWN=3
DRIGHT=1
DLEFT=4
; if you set CLOSEAPP to 1, the program will hide the following
; apps (by title) instead of closing. Other apps will be closed.
; maximum can set 16 apps
[EXCEPTIONLIST]
APP00=Text Messages
APP01=Outlook E-mail
APP02=Hotmail
APP04=MMS
APP05=Contacts
APP06=Calendar
APP07=Camera
Click to expand...
Click to collapse
To use the Volume slider as a "Jog Wheel" yo need "PAGEONEXPLORE=1" not "PAGEONEXPLORE=0" as you currently have set. Make this change and soft reset, or tap the shortcut to "Launch" smartskeys. this will present a dialog window to close it, do so, then relaunch using the shortcut.
Thanks! That corrected the "jog wheel" but any suggestions on the DPad problem?
Jason
I'm not sure I understand the question. What are you trying to do with the DPad?
The documentation says that you can use the dpad to launch 4 different applications, depending on the direction:
DUP=x
DDOWN=x
DLEFT=x
DRIGHT=x
x =
0: Do nothing
1: Call Log
2: Quick Dial
3: Contacts
4: Messaging
Nevermind - I just figured it out... I thought this would work from the Today screen, but you have to be in the Phone Application.
Thanks for the help though!
Jason
Dpad problem
Jason_Wilkerson said:
Nevermind - I just figured it out... I thought this would work from the Today screen, but you have to be in the Phone Application.
Click to expand...
Click to collapse
Well, but dpad is not working for me (details)
Nobody has an idea?
This is a summary of Diamond tweaks collected from various threads on XDA and from people's contributions. Thanks to all who discovered the Tweaks (not mentioning by name because there's too many to mention and all I did is aggregate). This is a collective effort so let's keep the list growing!
thread. Let's keep the comments in the Warning: Be sure you know what you're doing and read around the Diamond forums to see where others have run into trouble and with which tweaks on which ROMs. Many people have had to Hard Reset their devices while others have had no problems so read up!
1. Boost TFL3D Performance --> Using Advanced Config, change File system cache to 8mb and file system filter cache to 131072
2. Boost TFL3D Performance --> HKLM\System\Storagemanager\Fatfs and change key Cachesize from 16384 to 32768
3. Wake Up on New SMS --> HKLM\Drivers\BuiltIn\RIL : DisableSMSWakeUpEvent <-- set to "1" by default. Change value to "0"
4. Switch Mute Call on phone flipped face down: HKLM\Software\HTC\PHONE : FaceDownMuteRing: change value to "1" (FIXED: thanks KuKuRiKu and everyone)
5. Change CallWaiting Tone --> HKLM\Software\HTC\PHONE : by default set to \windows\waitingtone.wav by default. change to anything else
6. Boost TFL3D Scrolling Speed --> - HKLM\SYSTEM\GDI\GLYPHCACHE\limit = 16384 or 32768 (DWORD decimal)
- To change it back to the default: - HKLM\SYSTEM\GDI\GLYPHCACHE\limit = 8192 (DWORD decimal)
7. To do a Hard Reset, with the phone ON, hold down the Volume Down and Enter (round navigation) keys and press soft reset while they are pressed
8. Prevent screen switching off during phone call --> HKEY_Local_Machine\Drivers\BuiltIn\RIL\EnableFastDormantDisplayDuringCall to 0 (Note: does not work on all ROMs)
AND (tested and works on EU ROMs thanks to Rod65)
HKCU\ControlPanel\Phone\Sleep switch value from 1 to 0
9. Downlod original CONTENT folder (Wallpaper, VIDEO, MUSIC) here http://rapidshare.com/files/121271047/CONTENT_Internal_storage.rar.html
10. Set HTC Album X button to close not minimize:ok_minimize change value to 0
11. Disable Enlarged Title bar (when you click on a notification) to the default WM behavior: HKLM->Software->HTC->EnlargeTitleBar - and change "Enable" from 1 to 0.
12. Turn off startup aninmation and sound: HKEY_Local_Machine\Software\HTC\HTCAnimation\ -> rename both "StartupGif" and "StartupWav" to other names
13. Enable GPS photo: HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Camera\P10 -> change the value "enabled" from 0 to 1
15. Another supposed TFL3D tweak for better performance: HKLM\Software\OEM\TFLOSettings:
SpeedHigh: default value (25) <-- Change to (5) / SpeedLow : default value (70) <-- Chnge to (14) save and soft reset
16. Adjust screen sensitivity: HKEY_LOCAL_MACHINE\Drivers\TouchPanel
Value = PressureThreshold
Change from the default dword:00000027 or 34 to dword:000000f0 or 240 in decimal
17. Lightsensor Switching the Screen off- realised by yelitterulez, confirmed by pietrucci and tested by myself. When making a call the screen stays on if you leave the phone lying flat on a table. If you wait 10 seconds into the call, you can pick it up to your ear and the screen stays on.
BUT if you make a call with the phone slightly tilted/ slanted (you get the idea), the screen turns off as soon as the call gets connected!
The moment you hold the phone to your head the blacklight turns off. In fact: the moment you hide the screen with anything it turns off! (try your hand...).
This might be the reason why everybody's complaining about the screen turning off during a call: you hold the phone to your head! When you turn the screen back on manually, it stays on no matter if you hold your hand or head...
18. Automatically lock your Diamond --> HKEY_CURRENT_USER\ControlPanel\BackLight\AutoDevic eLockEnable from 0 to 1 and everytime your backlight goes off the device is locked
19. More Camera Modes:
To Enable 'Burst': HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Camera\P6 -> change the value "enabled" from 0 to 1
To Enable 'Sport': HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Camera\P8 -> change the value "enabled" from 0 to 1
To Enable 'Video Share': HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Camera\P9 -> change the value "enabled" from 0 to 1
20. Delay device autolock: HKEY_CURRENT_USER\ControlPanel\BackLight\AutoDeviceLockTimeout -> Change the Dword value (30 = 30 seconds, etc)
21. Enable Manual Screen Rotation (Portrait/Landscape): HKLM - System - GDI - Rotation - HideOrientationUI (change from 1 to 0)
22. Hide SIM Contacts: HKCU\ControlPanel\Phone - create a new DWORD value named "ShowSim" and set it to 0
23. Show Weekday in TFL3D (thanks to pulp) - download and install http://rapidshare.com/files/127174792/weekday.cab
24. Enable HSUPA:
HKLM\Software\HTC\AdvancedNetwork\SupportHSUPA =change it to 1
25. Enable Audio Booster without headset-->HKLM/System/State/Hardware/Headset set the value to 1 (soft reset will bring it back to 0)
26. Add a Call History tab to TF3D (discovered by sushilange, spread by Fabliv) --> http://forum.xda-developers.com/showthread.php?t=410180
27. Add new Cities to TF3D http://forum.xda-developers.com/showthread.php?t=408918 - thanks to R. DevilR
28. Remove orphan icons and shortcuts - http://forum.xda-developers.com/showpost.php?p=2461697&postcount=3
29. Four icons in a row in WM Programs/Settings screens - http://forum.xda-developers.com/showpost.php?p=2462244&postcount=16
30. Remove Vertical and Horizontal Scrollbars
For the horizontal (bottom) scrollbar:
HKLM\System\GWE\cyHScr = 0 (DWORD decimal)
For the vertical (right) scrollbar:
HKLM\System\GWE\cxVScr = 0 (DWORD decimal)
31. Remap Manila softkeys:
HKLM/Software/HTC/manila/
HomeLSKPath, which is the left softkey (Standard = Phonepad)
And
HomeRSKPath, which is the right softkey.
If you change these with the location of the programs you want to link to, and simultaneous change the names:
HomeLSKText = Left softkey text
And
HomeRSKText = Right softkey text.
HKEY_LOCAL_MACHINE\Software\HTC\HTCAlbum :
32. Change system and context menu font size:
HKEY_LOCAL_MACHINE\system\gwe\menu\popfnt
and change the value for the "Ht" entry to "1000" decimal (from 1200)
33. Increase maximum picture size when shooting in Burst and Sports mode:When activating "burst" and "sport" the max size of the pictures is "L" but if you change:
HKLM\SOFTWARE\HTC\Camera\P8\MainCamCaptSize value to 1024
and
HKLM\SOFTWARE\HTC\Camera\P8\MainCamSupportCaptSize to 1744Do the same for P6 and you can now shoot in these modes up to 3M and not just L - thanks to nnevynn for
34. Get Blackberry Connect working on your Diamond!! (thanks to cybertech99)
http://rapidshare.com/files/114522380/BBConnect_WM6_Profession.cab
35. Disable Diamond Phonepad Skin
HKLM -> Security -> Phone -> Skin -> Enable (set 1 to 0), then reset.
36. Enable Better Power Management
HKLM\Drivers\SDCARD\ClientDrivers\Class\SIM_Class
Set DisablePowerManagement = 0 (default=1)
HKLM\Drivers\SDCARD\ClientDrivers\Class\MMC_Class
Set DisablePowerManagement = 0 (default=1)
HKLM\Drivers\SDCARD\ClientDrivers\Class\NAND_Class
Set DisablePowerManagement = 0 (default=1)
nice one on the sms wake. We should expand the list! THanks!
Update:
Thanks for updating the list!
Since I don't see a tweak for Disabling SMS Conversation (The costly SMS Chat) I will post it here!
Disable SMS Conversation in WM 6.X
In Registry Editor: Create a folder named "OEM" in "HKEY_CURRENT_USER\Software\Microsoft\Inbox\Settings"
In the new "OEM" folder, make a new DWORD key called "SMSInboxThreadingDisabled" and give it a value of "1"
That will disable the SMS conversation. When you click on the messages on the SMS tab on TF3D, it will take you to the normal SMS inbox instead.
Hope it helps
thanks a lot, keep going please
Great!
This is very useful and it helps solve a lot of problem. Will the cache size change make the D unstable?
For some they say it has...but for me, my device is running great!
mkhattab said:
This is a summary of the proven tweaks taken from the Diamond Tweaks thread. Let's keep the comments in the Diamond Tweaks thread and keep this one as a list of the actual tweaks only to be an easily accessible summary. Thanks to all who discovered the Tweaks
1. Boost TFL3D Performance --> Using Advanced Config, change File system cache to 8mb and file system filter cache to 131072
2. Boost TFL3D Performance --> HKLM\System\Storagemanager\Fatfs and change key Cachesize from 16384 to 32768
3. Wake Up on New SMS --> HKLM\Drivers\BuiltIn\RIL : DisableSMSWakeUpEvent <-- set to "1" by default. Change value to "0"
4. Switch Mute Call on phone flipped face down: HKLM\Software\HTC\PHONE : FaceDownMuteRing: change value to "0"
5. Change CallWaiting Tone --> HKLM\Software\HTC\PHONE : by default set to \windows\waitingtone.wav by default. change to anything else
Click to expand...
Click to collapse
I have had a real issue with number 2, I had to do a hard reset after changing the Cachesize to 32768. During startup the device hanged and wouldn't load up the touch flow, nothing worked.
saveferris said:
I have had a real issue with number 2, I had to do a hard reset after changing the Cachesize to 32768. During startup the device hanged and wouldn't load up the touch flow, nothing worked.
Click to expand...
Click to collapse
I had the exact same problem, wouldn't recommend this one.
saveferris said:
I have had a real issue with number 2, I had to do a hard reset after changing the Cachesize to 32768. During startup the device hanged and wouldn't load up the touch flow, nothing worked.
Click to expand...
Click to collapse
Yes, I had same problem.
Hmm afaik 'File system cache' in 1) is the same as the key HKLM\System\Storagemanager\Fatfs\cachsize in 2).
So tip 1 sets it to 8mb, and tip 2 changes it from 16mb to 32mb. So that suggests its 16m to start with?
Sounds like the file system filter cache is whats making the main difference. Thats this key:
HKLM\System\StorageManager\Filters\fsreplxfilt\Rep lStoreCacheSize
Can someone maybe post the original values of these two keys?
someone1234 said:
Hmm afaik 'File system cache' in 1) is the same as the key HKLM\System\Storagemanager\Fatfs\cachsize in 2).
So tip 1 sets it to 8mb, and tip 2 changes it from 16mb to 32mb. So that suggests its 16m to start with?
Sounds like the file system filter cache is whats making the main difference. Thats this key:
HKLM\System\StorageManager\Filters\fsreplxfilt\Rep lStoreCacheSize
Can someone maybe post the original values of these two keys?
Click to expand...
Click to collapse
There are 3 values to be changed.
1. The Icon Cache which is suggested to be changed to 131072. The registry setting is:
[HKEY_LOCAL_MACHINE\System\GDI\GLYPHCACHE]
"limit"=dword:00020000
The value is shown as hexadecimal, which is equivalent to 131072 in decimal.
2. The second value is to be changed in FAT File System cache.
3. The third value is to be changed is Filters File System cache.
The cache sizes in #2 and #3 are usually kept same, for example 32768 decimal (32MB). Though, this eats up a lot of memory, but makes the system very fast. Lately, I have seen in KaiSer and Universal that these values are set as dynamic values.
Hope this is helpful.
KOR!
anyone know which registry key can make the phone not blank the screen when answering call?
lwclam said:
anyone know which registry key can make the phone not blank the screen when answering call?
Click to expand...
Click to collapse
Yeah, people do know. Search for it.
Just read about a 'tweak' in another thread. It seems disabling "GPRS auto attach" in Advanced Configuration Tool helps in preserving battery live.
Read about it here: http://forum.xda-developers.com/showthread.php?t=395301
For me turning that option to off would be best solution as well. Even more so if it really helps save the battery.
Since I don't have a Diamond yet I havent gotten a chance to actually test this tweak.
Another thing I've found eats up a lot of battery life is the schedule to check email. I have my Direct Push set to an Exchange account and a second Internet Email account. Changing the frequency of checking the second account really makes a difference.
mkhattab said:
Another thing I've found eats up a lot of battery life is the schedule to check email. I have my Direct Push set to an Exchange account and a second Internet Email account. Changing the frequency of checking the second account really makes a difference.
Click to expand...
Click to collapse
agree. my setup is similar to you. i was using 10 mins to check my second IMAP account, i have only around 9-10 hrs standby time. Now, i changed that IMAP account to check in every 60 mins, now, standby time is extended to more than 12 hrs.
what was the previous default File system cache and file system filter cache setting, cause my phone has slowed down since i have changed it. please reply back to me as soon as possible. thank you
http://forum.xda-developers.com/showthread.php?t=397935&page=8
posts 75 and 76
Thanks alot for the fast reply, and just one other question did any one arabize the diamond cause i have tried but it says installation not done. Thanks again man
sorry guys...noob question
to get the SMS to wake up the phone,
where is the HKLM folder in registry?
wishmaker738 said:
sorry guys...noob question
to get the SMS to wake up the phone,
where is the HKLM folder in registry?
Click to expand...
Click to collapse
Read the first post in this thread!
Has anyone tried installing the more recent general release Opera 9.5 Beta? If so, does the Diamond scroll wheel still function as a zoom?
I ask, because I am trying to figured out how to enable the zoom via scroll wheel on my HTC Touch Cruise. I need to figure out if its just that Opera on the Diamond is programmed differently for this feature, or if its because Windows Mobile handles the scroll wheel differently.
likewise
I am also having this problem with the version I got from the Opera site last week (assuming any updates have been made since the last post). Zooming works (double-tap), but only to a pre-set level. I want to be able to adjust the zoom with the scroll wheel (using TP) but get no response. Anyone know how to resolve this please?
I second this,
on the Touch pro, with the Opera preinstalled on the phone you can use the wheel to zoom, but when you download the latest version from their site, this feature is diabled,
will anyone be able to provide a way to reenable this feature?
I finally got the scroll wheel working in opera 9.7b1! Here is what you need to do:
1. Create (or modify) the following registry keys
- Open [HKEY_LOCAL_MACHINE\Software\HTC\SmartTouch\OperaMobile]
- Set String "ClassName"="OPERA-ML-MAINWNDCLASS"
- Set Dword "Mode"="4"
- Set Dword "WheelCount"="2"
2. Edit input.ini (mine is located in \Internal Storage\Programs\Opera Mobile\profile)
- Go to the [Browser Widget] group
- Change "Right = Navigate right" to "Right = Zoom in, 10"
- Change "Left = Navigate left" to "Left = Zoom out, 10"
- Change "Down = Navigate down" to "Down = Zoom in, 10"
- Change "Up = Navigate up" to "Up = Zoom out, 10"
Have fun
P.S. If you use opera 9.5 you have to set "ClassName"="Opera_MainWndClass"
Thanks, m8!! Works like a champ on my Polaris!!
Olioaglio
how to
Sounds great, but as a mere beginner I wonder how to realize the registry tweaks
Would love to use the diamond's zoom wheel with opera 9.7...
It is not working on My Diamond (ROM 2.03.456.2 wwe) with Opera 9.7b
I've double checked the registry entries and the input.ini file...
only if I PRESS the up, down, left, right buttons it is working, but the scroll is NOT
Did you try to soft reset your device after having done the registry modification ?
I've found the problem...
I have SensorScrolll installed (stupid me) and it seems that it is trying to scroll instead of zoom... when the scroll app is off the zoom in opera is working but it is not smooth like the original version
I'm trying to put in OperaL.exe in the igrone list so of the SensorScrol.
10x
sure there is a blank in "..\OperaMo bile" ?
There shouldn't be a space in OperaMobile.
Working on my Raphael
i have created the entrys but it doesnt work. (inkl. soft reset)
Touch Diamond
Windows Mobile 6.5 (Deep Shining)
Location: Internal Storage/Program Files/Opera Mobile/
g-god said:
I finally got the scroll wheel working in opera 9.7b1! Here is what you need to do:
1. Create (or modify) the following registry keys
- Open [HKEY_LOCAL_MACHINE\Software\HTC\SmartTouch\OperaMobile]
- Set String "ClassName"="OPERA-ML-MAINWNDCLASS"
- Set Dword "Mode"="4"
- Set Dword "WheelCount"="2"
2. Edit input.ini (mine is located in \Internal Storage\Programs\Opera Mobile\profile)
- Go to the [Browser Widget] group
- Change "Right = Navigate right" to "Right = Zoom in, 10"
- Change "Left = Navigate left" to "Left = Zoom out, 10"
- Change "Down = Navigate down" to "Down = Zoom in, 10"
- Change "Up = Navigate up" to "Up = Zoom out, 10"
Have fun
P.S. If you use opera 9.5 you have to set "ClassName"="Opera_MainWndClass"
Click to expand...
Click to collapse
i dont find opera mobile in Smart touch. what now?
sorry for my bad english
Even with some builds of 9.7, you need to have the following.
"ClassName"="Opera_MainWndClass"
g-god said:
I finally got the scroll wheel working in opera 9.7b1! Here is what you need to do:
1. Create (or modify) the following registry keys
- Open [HKEY_LOCAL_MACHINE\Software\HTC\SmartTouch\OperaMobile]
- Set String "ClassName"="OPERA-ML-MAINWNDCLASS"
- Set Dword "Mode"="4"
- Set Dword "WheelCount"="2"
2. Edit input.ini (mine is located in \Internal Storage\Programs\Opera Mobile\profile)
- Go to the [Browser Widget] group
- Change "Right = Navigate right" to "Right = Zoom in, 10"
- Change "Left = Navigate left" to "Left = Zoom out, 10"
- Change "Down = Navigate down" to "Down = Zoom in, 10"
- Change "Up = Navigate up" to "Up = Zoom out, 10"
Have fun
P.S. If you use opera 9.5 you have to set "ClassName"="Opera_MainWndClass"
Click to expand...
Click to collapse
And what about Opera 10 beta? Anyone test it?
g-god said:
I finally got the scroll wheel working in opera 9.7b1! Here is what you need to do:
1. Create (or modify) the following registry keys
- Open [HKEY_LOCAL_MACHINE\Software\HTC\SmartTouch\OperaMobile]
- Set String "ClassName"="OPERA-ML-MAINWNDCLASS"
- Set Dword "Mode"="4"
- Set Dword "WheelCount"="2"
2. Edit input.ini (mine is located in \Internal Storage\Programs\Opera Mobile\profile)
- Go to the [Browser Widget] group
- Change "Right = Navigate right" to "Right = Zoom in, 10"
- Change "Left = Navigate left" to "Left = Zoom out, 10"
- Change "Down = Navigate down" to "Down = Zoom in, 10"
- Change "Up = Navigate up" to "Up = Zoom out, 10"
Have fun
P.S. If you use opera 9.5 you have to set "ClassName"="Opera_MainWndClass"
Click to expand...
Click to collapse
Works for me, thanks a lot!
number16 said:
Works for me, thanks a lot!
Click to expand...
Click to collapse
This worked for your Diamond using OperaMobile 10???
Working for Opera 10 ??
The OM10 class is "ClassName"="OM10-ML-MainWndClass", but the hw zoom bar does not work on TP2 for me. :-|
g-god said:
I finally got the scroll wheel working in opera 9.7b1! Here is what you need to do:
1. Create (or modify) the following registry keys
- Open [HKEY_LOCAL_MACHINE\Software\HTC\SmartTouch\OperaMobile]
- Set String "ClassName"="OPERA-ML-MAINWNDCLASS"
- Set Dword "Mode"="4"
- Set Dword "WheelCount"="2"
Click to expand...
Click to collapse
On mine there doesn't seem to be an OperaMobile folder but there is an
Opera Browser folder. Modified values inside with ClassName = OM10-ML-MainWndClass, and Mode and WheelCount as shown.
No go, doesn't do anything on my Diamond with Opera 10.
AUTOMATE MY LIFE
A LIST OF AUTOMATION SCRIPTS AND PROGRAMS THAT WILL AUTOMATE YOUR EVERYDAY LIFE.
MOST BUT NOT ALL OF THESE TUTORIALS REQUIRE TASKER AND A PLUGIN OF SOME SORT.
WINDOWS TUTORIALS CAN BE FOUND IN THE FIRST POST.
LINUX TUTORIALS CAN BE FOUND IN THE SECOND POST.
GENERAL TUTORIALS CAN BE FOUND IN BOTH POSTS.
THERE WILL BE SOME TASKS THAT ARE ONLY LISTED ON WINDOWS AND SOME TASKS THAT ARE ONLY ONLY LISTED ON LINUX, THIS DOES NOT MEAN IT IS NOT POSSIBLE TO PERFORM THEM ON OTHER PLATFORMS IT JUST MEANS I AM UNSURE OF HOW TO GET THEM TO WORK.
WINDOWS
Automatically Turn On Your Computer on a Schedule
Over View
This task is reasonable easy to set up, It will allow you to turn on your home or work pc on a schedule. In this case we are turning on our computer as soon as we unplug our device from the charger.
Requirements
Tasker
Wol Wake on Lan Wan
Setup
Before we get into creating our task we first need to set up the Wol Wake on Lan Wan application
Enable Wake on Lan
On the computer go to Control Panel>Network and Internet>Network and Sharing Center
Click on Change Adapter settings
Right Click on Ethernet and go to properties
Click Configure and then click the Advanced tab
Find Wake on Magic Packet and Change the Value to Enabled
Find Your Mac Address
Open Command Prompt
type "ipconfig /all"
under Ethernet adapter find physical address(00-11-22-33-44-55)
Remember It or write it down
Setup Wol Wake on Lan Wan
Open Wol Wake on Lan Wan
Press Add New
Under Name Call It Anything
Under Mac Enter your mac address as in ipconfig
Under SecureOn Leave As Is
Under IP or Domain Enter your Default Gateway also found in ipconfig
Under Port Leave as is
Check Send as Broadcast
The Rest is fine as default
Press Save
Create The Task
Open Tasker
Press the TASKS Tab
Press The +
Give The Task A Name Like Switch on Home PC
Press The +
Press Plugin
Press WoL Wake On Lan
Press the configuration pencil
Select the name you chose when setting up Wol Wake on Lan
Press the back button twice to save changes to configuration and task
Create The Profile
Press the profiles tab
Press the + Button to add a new profile
Select State
Select Power
Select Power
Select Source Any
press back to save
select the task we created
long press on the task and press move to exit
LINUX
Notify Me When Detecting Movement In My House
Overview
We will use simplecv as a security camera to detect motion in our house. it will then send a notification to our phone alerting us that someone is inside.
Requirements
SimpleCV
WebCam or IP Camera
Tasker
Autoremote
Setup
Install SimpleCV
Thanks To Tinkernut for this tutorial
Open Terminal and Type
Code:
sudo apt-get update
sudo apt-get install ipython python-opencv python-scipy python-numpy python-setuptools
sudo pip install https://github.com/sightmachine/SimpleCV/zipball/master
sudo pip install pyparsing svgwrite
simplecv
Setting Up The Script
Make a new python file called camera.py
Code:
sudo nano camera.py
and paste this code
Code:
'''THIS IS A MOTION DETECTING PROGRAM FOR THE RASPBERRY PI
It is part of a tutorial series that you can find here:
https://www.youtube.com/playlist?list=PLlg8lN4r9qWiDzF13lJY-lGtiTFHHGcpx
Running this program requires installing SimpleCV as well as
a few other prerequisits on your pi. You can find detailed
instructions for how to do that here:
http://tinkernut.com/YtQH9
The script was slightly modified by slipsystem to send a autoremote command
'''
#!/usr/bin/python
#import the SimpleCV, shutil and urllib libraries
from SimpleCV import *
import shutil
import urllib
#set autoremote variables
#key taken from http://goo.gl/xxxxx
autoremotekey = ""
#message to send autoremote
autoremotemessage = "Motion Detected"
#initialize the camera
cam = Camera()
#set the max display size
display = Display((800,600))
#create a threshold variable to change motion sensitivity
threshold = 0.5
#get the date for saving images
datestr = time.strftime("%Y%m%d")
#set a streaming variable to stream webcam online
streaming = JpegStreamer("0.0.0.0:1212")
#create destination directorie for the pictures
dst = "pic/%s" % (datestr) #destination directory for images
#if the picture directories don't exist, create them
if not os.path.exists(dst):
os.makedirs(dst)
#create a loop that constantly grabs new images from the webcam
while True:
#set a time variable that updates with the loop
current_time = time.time()
#grab an image still from the camera and convert it to grayscale
img01 = cam.getImage().toGray()
#wait half a second
time.sleep(0.05)
#grab an unedited still to use as our original image
original = cam.getImage()
#set webcam image
original.save(streaming)
#grab another image still from the camera and conver it to grayscale
img02 = cam.getImage().toGray()
#subract the images from each other, binarize and inver the colors
diff = (img01 - img02).binarize(50).invert()
#dump all the values into a Numpy matrix and extract the mean avg
matrix = diff.getNumpy()
mean = matrix.mean()
#find and highlight the objects within the image
blobs = diff.findBlobs()
#if the mean is greater than our threshold variable, then look for objects
if mean >= threshold:
#check to see if any objects were detected
if blobs:
#find the central point of each object
#and draw a red circle around it
for b in blobs:
try:
loc = (b.x,b.y) #locates center of object
original.drawCircle(loc,b.radius(),Color.RED,2)
except:
e = sys.exc_info()[0]
#use the current date to create a unique file name
timestr = time.strftime("%H%M%S")
#initialize the counter variable
i = 1
#check to see if the filename already exists
while os.path.exists("pic/motion%s-%s.png" % (timestr, i)):
#if it does, add one to the filename and try again
i += 1
#once a unique filename has been found, save the image
original.save(dst + "/motion%s-%s.png" % (timestr, i))
#print results to terminal
print("Motion Detected")
f = urllib.urlopen("https://autoremotejoaomgcd.appspot.com/sendmessage?key=" + autoremotekey + "&message=" + autoremotemessage)
print("Message Send " + f.read())
open autoremote and follow your link (goo.gl/xxxx)
once you have opened the link you will notice the url say something like key=xxxxx
paste the key inside autoremotekey = ""
save the script by typing ctrl+x
run the python script by typing
Code:
python camera.py
now your camera server should be running ,if you move in front of the camera you should see a output of motion detected
Create The Task
The Task can be whatever you want to run when the camera detects motion in my case I have it play your dongeon is under attack then open the camera viewer. but for the purpose of this tutorial we are going to make it just open the camera.
Open Tasker
Press the TASKS Tab
Press The +
Give The Task A Name Like Camera
Press The +
Click Net
Click Browse URL
Enter the Ip address of your computer(ifconfig) followed by :1212 (192.168.1.12:1212)
Press the back button to save
Press the +
Press Task
Press Wait
adjust the slider to one minute so we don’t get bombarded with messages
press back twice to save configuration and task
Create The Profile
Press the profiles tab
Press the + Button to add a new profile
Select State
Select Plugin
Select Autoremote
Press the Configuration pencil
Check Event Behavior
Message Filter type Motion Detected
press back twice to save
click the newly created task
I'm installing a nexus 7 (2013) into the dash of my car. I'd like to have a widget on my home screen to pull up the original power menu. I've been told there is a way to do it with tasker and running a shell script. If anyone could help me it would be greatly appreciated.
You can use AutoInput plugin, it can do what you ask for. Just create an action, select the AutoInput plugin, and: Plugin > AutoInput > Global Action > Power Dialog.
Another way by you can do that and also will be more customizable (you could add or remove power actions by default) is taking first a screenshot of the powermenu pop-up, then edit it on any image editor like: Photoshop, GIMP. . . And at last take the edited image into the phone again, and use this modified screenshot as your powermenu pop-up with a scene.
This is what I did on one of my anti-theft tasks, and I'm happy with my custom power menu dialog
sendevent /dev/input/event5 1 116 1
sendevent /dev/input/event5 0 0 0
usleep 500000
sendevent /dev/input/event5 1 116 0
sendevent /dev/input/event5 0 0 0
to be run in a shell-task, root
'ks123', the code you provided us is generic. Will be necessary to adjust it to our device.
You're right
it should be .../event2 on the Nexus ...
More info:
http://stackoverflow.com/questions/26204766/simulating-combination-of-key-presses-from-adb-terminal