Thread
:
[Anounce] [N9] Volume/Power Button Monitor
View Single Post
wolke
2013-02-24 , 20:19
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#
198
AWESOME! im so excited, i despise the n9 camera app. thanks for this news, ill be checking it out very soon.
now, its very easy to do the condition. you just do appFocused(window-class-name). default camera app is "camera-ui", and his is probably "camera-plus".
cameraFocused == appFocused(camera-ui)
both do exactly the same thing.
now as for the ACTIONS, theyre a little trickier.
what they really do is simulate dragging your finger to certain spots on the screen. if he moved the camera button a little, it will break.
so if he DID move the button, you will need to play with the "tap" action. again, clickCameraSnap and clickCameraFocus are just shorthand for the tap action with an argument.
these do exactly the same thing:
clickCameraSnap == tap(820x240,820x240)
clickCameraFocus == tap(820x240-820x100*200+5)
__________________
~ teleshoes ~
Quote & Reply
|
The Following 3 Users Say Thank You to wolke For This Useful Post:
guillermorojaz
,
Hacker
,
thedead1440
wolke
View Public Profile
Send a private message to wolke
Find all posts by wolke