Using a remote with Impress

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 10:19, 18 March 2007 (edit)
Jgd (Talk | contribs)
(botlangbar -> Fr)
← Previous diff
Current revision (21:00, 16 June 2009) (edit) (undo)
( | contribs)
(Telekinesis (iPhone Remote))
 
(30 intermediate revisions not shown.)
Line 1: Line 1:
-Presenters often desire to use some sort of remote-control device to advance slides or perform other functions while giving their talks. Unfortunately, the underlying OpenOffice.org code knows nothing about the Apple Remote that comes with newer Macs. However, a number of other remote-control solutions exist that do work with NeoOffice.+Presenters often desire to use some sort of remote-control device to advance slides or perform other functions while giving their talks. [[NeoOffice_2.2.4_Patch_3_New_Features|Beginning with NeoOffice 2.2.4 Patch 3]], NeoOffice supports using the Apple Remote or the [http://www.keyspan.com/products/errf1/ Keyspan Front Row Remote] to start, stop, and move through a slideshow in NeoOffice Impress. (NeoOffice uses the [http://martinkahr.com/2007/07/26/remote-control-wrapper-20/index.html Remote Control Wrapper] open source framework from Martin Kahr to provide integration with these remotes.) If you do not have one of these remotes or a supported Macintosh, one of the [[#Third-party Solutions|older remote-control solutions]] may still enable you to control Impress remotely.
-==Compatible Devices==+==Using NeoOffice's Built-in Remote Control Support==
-* Bluetooth phone when using Salling Clicker (see below)+If your Mac has support for Front Row or you have the Keyspan Front Row Remote, starting with NeoOffice 2.2.4 Patch 3 you can use the Apple Remote or the Keyspan Front Row remote controller to start, stop, and move through a slideshow in NeoOffice Impress.
-* [http://www.keyspan.com/products/usb/presentationremote/homepage.spml Keyspan Presentation Remote] ($59)+
-* [http://us.kensington.com/html/4390.html Kensington Pocket Presenter Wireless Laser] ($69)+
-* Apple Remote when using either iRed Lite or Remote Buddy (see below)+
-==Compatible Software==+When an Impress window is the active window in NeoOffice, pressing the Start/Pause ({{button|â–¶||}}) button on your Front Row remote controller will start a slideshow.
 + 
 +When a slideshow is already running, the following actions are available:
 + 
 +*Pressing the Track Forward ({{button|▶▶|}}) button will move forward a slide
 +*Pressing the Track Backward ({{button||◀◀}}) button will move back a slide
 +*Pressing the Start/Pause ({{button|â–¶||}}) button will end the slideshow
 + 
 +NeoOffice will respond to remote control commands when it is the frontmost application, and when NeoOffice is no longer the frontmost application, other applications (e.g. iTunes) will respond to the remote control as usual.
 + 
 +===Disabling NeoOffice's Remote Control Support===
 + 
 +If, however, you do not want to use the the remote control with NeoOffice and want other applications (e.g. iTunes) to respond to the remote control even when NeoOffice is the frontmost application, open the /Applications/Utilities/Terminal application, then copy and paste the following line into the Terminal window to disable the remote control support in NeoOffice completely:
 + 
 + defaults write -app NeoOffice remoteEnabled -bool NO
 + 
 +If NeoOffice is running when you make this change, you will need to quit NeoOffice and restart for the change to take effect.
 + 
 +If you have previously used the above Terminal command to disable NeoOffice's remote control support and then need to use the remote control with NeoOffice, you can re-enable the support by opening the /Applications/Utilities/Terminal application, then copying and pasting the following line into the Terminal window:
 + 
 + defaults write -app NeoOffice remoteEnabled -bool YES
 + 
 +If NeoOffice is running when you make this change, you will need to quit NeoOffice and restart for the change to take effect. (Note that if you have never disabled the remote control support in NeoOffice, you do not need to use this command.)
 + 
 +==Third-party Solutions==
 + 
 +If you do not have an Apple Remote or Keyspan Front Row Remote, or a supported Mac, you can use one of these other remote-control solutions that work with NeoOffice.
 + 
 +===Compatible Devices===
 + 
 +* Bluetooth phone when using Salling Clicker (see [[#Salling Clicker|below]])
 +* iPhone when using [http://code.google.com/p/telekinesis/ Telekinesis] from [http://www.blacktree.com/ Blacktree] (see [[#Telekinesis (iPhone Remote)|below]]; note this is '''not''' the Telekinesis from American Balloon)
 +* [http://www.keyspan.com/products/prpro3/ Keyspan Presentation Remote Pro] ($79)
 +* [http://us.kensington.com/html/11190.html Wireless Presenter with Laser Pointer] ($55.99)
 +*: ''although the link doesn't mention it, according to what Kensington says, this presenter is compatible with Mac OS X 10.4 and above''
 +<!--* Apple Remote when using iRed Lite, Remote Buddy, or NeoRemote (see below)
 +All Apple Remote-supported Macs should be covered by the built-in solution-->
 +'''N.B.''' The [http://us.kensington.com/html/4390.html Kensington Pocket Presenter Wireless Laser] previously recommended on this page doesn't work in Mac OS X 10.5 and 10.5.1 Leopard (it causes a kernel panic). The problem was resolved starting with Mac OS X 10.5.2.
 + 
 +===Compatible Software===
* [http://www.salling.com/Clicker/mac/ Salling Clicker] ($23.95) * [http://www.salling.com/Clicker/mac/ Salling Clicker] ($23.95)
-* [http://www.ireddy.de/ iRed Lite] (in beta; contact the author for Impress additions)+<!--* [http://www.filewell.com/iRedLite/ iRed Lite] (in beta; contact the author for Impress additions) - only works with Apple Remote; covered by built-in support -->
* [http://www.iospirit.com/remotebuddy/ Remote Buddy] ($12/€19.99) * [http://www.iospirit.com/remotebuddy/ Remote Buddy] ($12/€19.99)
 +<!-- * [http://www.jfedor.org/neoremote NeoRemote] (free) - only works with Apple Remote; covered by built-in support -->
 +* Blacktree [http://code.google.com/p/telekinesis/ Telekinesis] (iPhone Remote) with [http://code.google.com/p/telekinesis-tapps/wiki/Uniremote Uniremote] (free; requires [[#Telekinesis (iPhone Remote)|configuration]])
 +
 +===Configuration Tips===
 +<!-- use level 4 headings for each device/software package -->
 +
 +==== Salling Clicker ====
 +
 +As mentioned in the forums, this works using the Front Row control, but it is possible to modify the centre button so that you can blank the screen. Note that this will affect Front Row as well, so creating a new menu is probably the way to go, but that hasn't been done yet.
 +
 +# On your Mac, open "Salling Clicker" from the "System Preferences".
 +# Under "Clicker Items", expand "System" and then select "Edit Original in Script Editor" from the option menu.
 +# Find the '''two''' entries for <pre>else if the_key is "s" then</pre> and change the keycode to '''11''' (11 maps to 'b', that is "blank").
 +# Exit the script editor and you should be set.
 +
 +==== Telekinesis (iPhone Remote) ====
 +It is possible to use Blacktree [http://code.google.com/p/telekinesis/ Telekinesis] (''aka'' iPhone Remote) with [http://code.google.com/p/telekinesis-tapps/wiki/Uniremote Uniremote] to allow your iPhone to function as a remote in Impress. Trinity user '''nqeron''' describes this process:
 +
 +# Install [http://code.google.com/p/telekinesis/ Telekinesis] (''aka'' iPhone Remote), made by Blacktree (not the one from American Balloon).
 +#* For information on configuring Telekinesis (''aka'' iPhone Remote) to work with your iPhone generally and how to install Telekinesis applications, see the [http://code.google.com/p/telekinesis/ Telekinesis] website.
 +# Within Telekinesis, download [http://code.google.com/p/telekinesis-tapps/wiki/Uniremote Uniremote] (or universalremote).
 +# In order to get it to work with NeoOffice, it is necessary to edit some of the code. Within the '''Uniremote.tapp''' folder there is a '''smart''' folder and an '''addons''' folder; items in both of these folders will need modifications. Note: to get to the Uniremote.tapp folder, you must access Iphone Remotes' Apps folder, provided by its preferences pane. Also note, Uniremote.tapp is a package, not a folder, so be careful when editing it, as it may affect how the program runs.
 +
 +##Within the '''smart''' folder, open the '''Universal Remote''' folder and then the '''scripts''' folder. The included AppleScripts control the buttons; because of a quirk in the way "System Events" recognizes NeoOffice, each script will need to be modified.
 +##* Modify the beginning of ''each'' script (the <code>tell application "System Events" </code> block of code) to look like this:
 +##*:{{preBox|<nowiki>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</nowiki>}}
 +## Within the '''addons''' folder, you will need to add support to map buttons for NeoOffice.
 +### Create a new folder called '''NeoRemote'''.
 +### Copy the button scripts from step 1 and put them in the new '''NeoRemote''' folder.
 +### You will now need to change each script to send the appropriate command by replacing the existing script code. In general, the scripts will look like this, but the <code>key code 12</code> line will change in each script:
 +###:{{preBox|<nowiki>tell application "System Events"
 + key code 12
 +end tell</nowiki>}}
 +#### '''Menu''' should use <code>key code 12 using command down</code>
 +#### '''Prev''' should use <code>key code 123</code>
 +#### '''Next''' should use <code>key code 124</code>
 +#### '''Play-Pause''' should use <code>key code 96</code>
 +#### '''Plus''' should use <code>key code 1</code>
 +#### '''Minus''' should use <code>key code 13</code>
 +#### '''Screen''' should use
 +###: This will set the Prev button to go back, the Next button to go forward, the Play-Pause button to start the presentation, the Menu button to exit, the Plus button to blank the screen, and the Minus button to unblank the screen. Other configurations are possible.
 +
 +Note: This principle can be used to harness iphone control over almost any other program w/ standard keyboard control. The initial part in editing the Universal Remote's Script, is due to the fact that Mac recognizes NeoOffice as the soffice.bin process (and you can't properly name a folder soffice.bin, due to the extension). So to use this with Hulu Desktop, for example, one would just add a Hulu Desktop folder, or the equivalent process name, with the right scripts.
 +
 +You can now use your iPhone to control presentations in NeoOffice Impress!
-==Configuration Tips==+Note: This works through an internet connection, and may not be secure. Please read all the details and notes provided with the Telekinesis program.
-<!-- use level 3 headings for each device/software package -->+
==References== ==References==
 +* [[NeoOffice_2.2.4_Patch_3_New_Features|Description of the new features in NeoOffice 2.2.4 Patch 3]]
* [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=3948 trinity thread] listing various options * [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=3948 trinity thread] listing various options
* [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=13097#13097 trinity post] from [[User:JKT|JKT]] reporting success using Salling Clicker with Impress in NeoOffice/J 1.1 * [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=13097#13097 trinity post] from [[User:JKT|JKT]] reporting success using Salling Clicker with Impress in NeoOffice/J 1.1
 +* [http://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&p=54192#54192 trinity post] from user '''nqeron''' describing how to modify Uniremote for Blacktree Telekinesis (iPhone Remote) to work with NeoOffice Impress.
-{{botlangbarEN|[[It:Usare_un_telecomando_con_Impress|Italiano]] [[Fr:Utiliser_une_Télécommande_avec_Impress|Français]]}}+{{botlangbarEN|[[It:Usare_un_telecomando_con_Impress|Italiano]] [[Fr:Utiliser_une_Télécommande_avec_Impress|Français]] [[Es:C%c3%b3mo_usar_un_telecomando_con_Impress|Español]]}}
[[Category:NeoOffice]][[Category:Tips and Hints]] [[Category:NeoOffice]][[Category:Tips and Hints]]

Current revision

Presenters often desire to use some sort of remote-control device to advance slides or perform other functions while giving their talks. Beginning with NeoOffice 2.2.4 Patch 3, NeoOffice supports using the Apple Remote or the Keyspan Front Row Remote to start, stop, and move through a slideshow in NeoOffice Impress. (NeoOffice uses the Remote Control Wrapper open source framework from Martin Kahr to provide integration with these remotes.) If you do not have one of these remotes or a supported Macintosh, one of the older remote-control solutions may still enable you to control Impress remotely.

Contents

Using NeoOffice's Built-in Remote Control Support

If your Mac has support for Front Row or you have the Keyspan Front Row Remote, starting with NeoOffice 2.2.4 Patch 3 you can use the Apple Remote or the Keyspan Front Row remote controller to start, stop, and move through a slideshow in NeoOffice Impress.

When an Impress window is the active window in NeoOffice, pressing the Start/Pause (â–¶||) button on your Front Row remote controller will start a slideshow.

When a slideshow is already running, the following actions are available:

  • Pressing the Track Forward (▶▶|) button will move forward a slide
  • Pressing the Track Backward (|◀◀) button will move back a slide
  • Pressing the Start/Pause (â–¶||) button will end the slideshow

NeoOffice will respond to remote control commands when it is the frontmost application, and when NeoOffice is no longer the frontmost application, other applications (e.g. iTunes) will respond to the remote control as usual.

Disabling NeoOffice's Remote Control Support

If, however, you do not want to use the the remote control with NeoOffice and want other applications (e.g. iTunes) to respond to the remote control even when NeoOffice is the frontmost application, open the /Applications/Utilities/Terminal application, then copy and paste the following line into the Terminal window to disable the remote control support in NeoOffice completely:

defaults write -app NeoOffice remoteEnabled -bool NO

If NeoOffice is running when you make this change, you will need to quit NeoOffice and restart for the change to take effect.

If you have previously used the above Terminal command to disable NeoOffice's remote control support and then need to use the remote control with NeoOffice, you can re-enable the support by opening the /Applications/Utilities/Terminal application, then copying and pasting the following line into the Terminal window:

defaults write -app NeoOffice remoteEnabled -bool YES

If NeoOffice is running when you make this change, you will need to quit NeoOffice and restart for the change to take effect. (Note that if you have never disabled the remote control support in NeoOffice, you do not need to use this command.)

Third-party Solutions

If you do not have an Apple Remote or Keyspan Front Row Remote, or a supported Mac, you can use one of these other remote-control solutions that work with NeoOffice.

Compatible Devices

N.B. The Kensington Pocket Presenter Wireless Laser previously recommended on this page doesn't work in Mac OS X 10.5 and 10.5.1 Leopard (it causes a kernel panic). The problem was resolved starting with Mac OS X 10.5.2.

Compatible Software

Configuration Tips

Salling Clicker

As mentioned in the forums, this works using the Front Row control, but it is possible to modify the centre button so that you can blank the screen. Note that this will affect Front Row as well, so creating a new menu is probably the way to go, but that hasn't been done yet.

  1. On your Mac, open "Salling Clicker" from the "System Preferences".
  2. Under "Clicker Items", expand "System" and then select "Edit Original in Script Editor" from the option menu.
  3. Find the two entries for
    else if the_key is "s" then
    and change the keycode to 11 (11 maps to 'b', that is "blank").
  4. Exit the script editor and you should be set.

Telekinesis (iPhone Remote)

It is possible to use Blacktree Telekinesis (aka iPhone Remote) with Uniremote to allow your iPhone to function as a remote in Impress. Trinity user nqeron describes this process:

  1. Install Telekinesis (aka iPhone Remote), made by Blacktree (not the one from American Balloon).
    • For information on configuring Telekinesis (aka iPhone Remote) to work with your iPhone generally and how to install Telekinesis applications, see the Telekinesis website.
  2. Within Telekinesis, download Uniremote (or universalremote).
  3. In order to get it to work with NeoOffice, it is necessary to edit some of the code. Within the Uniremote.tapp folder there is a smart folder and an addons folder; items in both of these folders will need modifications. Note: to get to the Uniremote.tapp folder, you must access Iphone Remotes' Apps folder, provided by its preferences pane. Also note, Uniremote.tapp is a package, not a folder, so be careful when editing it, as it may affect how the program runs.
    1. Within the smart folder, open the Universal Remote folder and then the scripts folder. The included AppleScripts control the buttons; because of a quirk in the way "System Events" recognizes NeoOffice, each script will need to be modified.
      • Modify the beginning of each script (the tell application "System Events" block of code) 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
    2. Within the addons folder, you will need to add support to map buttons for NeoOffice.
      1. Create a new folder called NeoRemote.
      2. Copy the button scripts from step 1 and put them in the new NeoRemote folder.
      3. You will now need to change each script to send the appropriate command by replacing the existing script code. In general, the scripts will look like this, but the key code 12 line will change in each script:
        tell application "System Events" key code 12 end tell
        1. Menu should use key code 12 using command down
        2. Prev should use key code 123
        3. Next should use key code 124
        4. Play-Pause should use key code 96
        5. Plus should use key code 1
        6. Minus should use key code 13
        7. Screen should use
        This will set the Prev button to go back, the Next button to go forward, the Play-Pause button to start the presentation, the Menu button to exit, the Plus button to blank the screen, and the Minus button to unblank the screen. Other configurations are possible.

Note: This principle can be used to harness iphone control over almost any other program w/ standard keyboard control. The initial part in editing the Universal Remote's Script, is due to the fact that Mac recognizes NeoOffice as the soffice.bin process (and you can't properly name a folder soffice.bin, due to the extension). So to use this with Hulu Desktop, for example, one would just add a Hulu Desktop folder, or the equivalent process name, with the right scripts.

You can now use your iPhone to control presentations in NeoOffice Impress!

Note: This works through an internet connection, and may not be secure. Please read all the details and notes provided with the Telekinesis program.

References


This article in other languages: Italiano Français
Personal tools