Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - iphone remote
iphone remote
 
   NeoOffice Forum Index -> Random Whatnot
View previous topic :: View next topic  
Author Message
nqeron
Red Pill


Joined: May 26, 2009
Posts: 5

PostPosted: Wed May 27, 2009 4:13 am    Post subject: iphone remote

If anyone's interested, I've found a way to use iphone/itouch as a remote control for NeoImpress.
Does this pique anyone's interest?
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Wed May 27, 2009 1:10 pm    Post subject:

Sounds like something that would be useful to add to our Using a remote with Impress article in the wiki.

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
nqeron
Red Pill


Joined: May 26, 2009
Posts: 5

PostPosted: Thu May 28, 2009 12:13 am    Post subject: Implementation

So for anyone who is interested, I used a program called telekenisis, made by Blacktree - within this I also downloaded an app called universalremote (or uniremote).

In order to get it to work with NeoOffice, I had to edit some of the code.

Within the uniremote folder there is an addon folder and a 'smart' folder. Both of these need to be modified.

within the smart folder, for the uniremote code (/scripts) (for all of the buttons) I modified the script to look like this:

tell application "System Events"
set frontApp to name of first application process where frontmost is true
if frontApp = "SOffice.bin" then
set frontApp to "NeoOffice"
end if
end tell
....

And within the addons, I added a folder called NeoRemote, and copied the button scripts and recoded them to look like this:

tell application "System Events"
key code 12
end tell

where the key code changes per script (12 using command down for menu, 123 for prev, 124 for next, 96 for play-pause, and I used 1 for plus, and 13 for minus). Note it should be "12 with command down" not 12 for menu, this will exit the presentation using cmd-Q.

This will set the prev button to go back, the next to go forward, the play-pause to start the presentation, the menu to exit, the plus to blank the screen, and the minus to unblank it. Other variants are possible.

I hope this helps
Back to top
yoxi
Cipher


Joined: Sep 07, 2004
Posts: 1799
Location: Dawlish, Devon

PostPosted: Thu May 28, 2009 3:41 am    Post subject:

In case this also helps, Telekinesis is spelled this way Smile.

- padmavyuha (cursed with the proof-reader's curse...)
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Thu May 28, 2009 4:29 pm    Post subject:

yoxi wrote:
In case this also helps, Telekinesis is spelled this way Smile.

- padmavyuha (cursed with the proof-reader's curse...)

That's apparently an entirely different app, though spelled the same way. Razz nqeron means the one from Blacktree.

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Thu May 28, 2009 7:35 pm    Post subject:

I've now posted these instructions in the wiki here; please let us know if there are any errors or things that should be clarified.

Thanks again for the instructions!

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
yoxi
Cipher


Joined: Sep 07, 2004
Posts: 1799
Location: Dawlish, Devon

PostPosted: Thu May 28, 2009 11:41 pm    Post subject:

sardisson wrote:
yoxi wrote:
In case this also helps, Telekinesis is spelled this way Smile.

- padmavyuha (cursed with the proof-reader's curse...)

That's apparently an entirely different app, though spelled the same way. Razz nqeron means the one from Blacktree.

Smokey

Whoops, sorry Embarassed - the one I linked to was similar enough that I didn't notice it was different, if you see what I mean. The curse of same-named apps (and overconfidence).
Still - Telekinesis Smile.
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> Random Whatnot All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.