Тема: MobilePhone Plugin
Показать сообщение отдельно
Старый 15.08.2016, 17:55   #127
duzzy
Гуру
 
Регистрация: 01.06.2013
Регион: 78, 98
Машина: SUBARU Impreza WRX
Сообщений: 1,766
duzzy has a reputation beyond reputeduzzy has a reputation beyond reputeduzzy has a reputation beyond reputeduzzy has a reputation beyond reputeduzzy has a reputation beyond reputeduzzy has a reputation beyond reputeduzzy has a reputation beyond reputeduzzy has a reputation beyond reputeduzzy has a reputation beyond repute
По умолчанию

pierrotm777

What you will do with 100% volume on call?

You have already found a solution... Why not apply in your plugin ?

Код:
/ Входящий звонок(Incoming call)
"ONINCOMMINGCALLSTART","ByVar;IsPhoneTalk;INCOMMINGCALLSTARTif"
"INCOMMINGCALLSTARTif","Menu;call_in.skin||StartPhoneCall"

"ONINCOMMINGCALLEND","ByVar;IsPhoneTalk;<<INCOMMINGCALLENDTif"
"INCOMMINGCALLENDTif","ByVar;IsMixerSkinLoad;<<Esc||ByVar;IsPhoneOverlay;Esc<<PhoneCloseOverlay||EndPhoneCall"

/ Исходящий звонок(Outgoing call)
"ONINOUTGOINGCALLSTART","ByVar;IsPhoneTalk;INOUTGOINGCALLSTARTif"
"INOUTGOINGCALLSTARTif","Menu;call_out.skin||StartPhoneCall"

"ONINOUTGOINGCALLEND","ByVar;IsPhoneTalk;<<INOUTGOINGCALLENDif"
"INOUTGOINGCALLENDif","ByVar;IsMixerSkinLoad;<<Esc||ByVar;IsPhoneOverlay;Esc<<PhoneCloseOverlay||EndPhoneCall"

"StartPhoneCall","SetVar;IsPhoneTalk;1||ByVar;IsPausedMedia;<<CF_Pause||SaveMixerPreset_Media||LoadMixerPreset;Phone||volperc+;$vol_from_speed_full$"
"EndPhoneCall","SaveMixerPreset_Phone||LoadMixerPreset_Media||ByVar;IsPausedMedia;<<CF_Resume||SetVar;IsPhoneTalk;0"

"SaveMixerPreset_Media","ByVar;MixerPresetMode;SaveMixerPreset_Media_Manual<<SaveMixerPreset_Media_Manual<<SaveMixerPreset_Media_Auto"
"SaveMixerPreset_Media_Auto","volperc-;$vol_from_speed_full$||SaveMixerPreset;$Media_s$"
"SaveMixerPreset_Media_Manual","volperc-;$vol_from_speed_full$||SaveMixerPreset;tmp"

"SaveMixerPreset_Phone","ByVar;MixerPresetMode;<<<<SaveMixerPreset_Phone_Auto"
"SaveMixerPreset_Phone_Auto","volperc-;$vol_from_speed_full$||SaveMixerPreset;Phone"

"LoadMixerPreset_Media","ByVar;MixerPresetMode;LoadMixerPreset_Media_Manual<<LoadMixerPreset_Media_Manual<<LoadMixerPreset_Media_Auto"
"LoadMixerPreset_Media_Auto","LoadMixerPreset;$Media_s$||volperc+;$vol_from_speed_full$"
"LoadMixerPreset_Media_Manual","LoadMixerPreset;tmp||volperc+;$vol_from_speed_full$"
I found that MASTER volume set by this command...
--- "SETVOL;MASTER;0" --- 0%
--- "SETVOL;MASTER;100" --- 100%

Thanks to your SkinTool.
(an updated version of the SkinTool would be very good)

---------------------------------------------------------------------------------

About lang change in osk...

you can use AHK script from seriousstas... download 7z archive with precompiled AHK script.

an example of a button in mini osk keyboard with AHK script...

B,0,200,130,50,"RUNQ;$SKINPATH$SCRIPTS\Lang_change .exe",""

------------------------------------------------------------
skin command from osk and osk2 lang change...

osk2


B,0,200,130,50,"SENDKEY;$LangToggleSet$",""

OSK


B,567,510,70,90,"LangToggle",""
...
duzzy вне форума   Ответить с цитированием