Run Script on Remote Mac via Web Interface

I have a script that does what I want it to do (which is to select a particular speaker, or set of speakers in Airfoil - http://www.rogueamoeba.com/airfoil/mac/ - on a remote mac).
I would like to be able to execute the script from a non-mac (actually a PlayStation Portable), so I wondered whether it would be possible to do something like this:
1. Enable the web server on the remote machine.
2. Serve a page with a link to the appropriate script.
3. Browse to the page on the PSP and choose a link to initiate the script.
Problem: I have no idea whether this is possible with AppleScript.
Any help or suggestions would be much appreciated.
  Mac OS X (10.4.5)  

It's possible. If the PSP can send an email form then you could set up a Mail.app rule that triggers the AppleScript. A more direct method would be to set up ACGI Dispatcher ($) to fire the script. I have that running on my machine and use it occasionally. There was a secret to making the thing actually work on my machine that took me a few months to work out. Hopefully you won't have that problem since now I can't even remember what it was.

Similar Messages

  • HP LaserJet 400 MFP M425dn: bug in MTU path discovery, printer reboots via web interface

     Firmware Datecode: 20121205
    1. We can not access this MFU over VPN link. Otherer devices are accessed successfully.
    As far as I understand there is an error in MTU Path Discovery.
    tcpdump logs are attached.
    Is there a way to change MTU of this device?
    2. This MFU a  reboots when I open page "Settings" of "Networking" submenu (/hp/device/set_config_networkSettings.html?tab=Networking&menu=NetSettings) if option "System" -> "System Setup" -> "Language" is "Russian". But this looks like a very good feature since I've have not found the way to reboot this printer remotely.
    Here I was tring to access web interface over VPN (IPSec), 192.168.4.135 is IP of my comp, 192.168.160.200 - is IP of MFU, 192.168.160.254 is a gateway:
    $ tcpdump -n -r printer-1.pcap
    reading from file printer-1.pcap, link-type EN10MB (Ethernet)
    17:20:29.337867 IP 192.168.4.135.54147 > 192.168.160.200.80: Flags [S], seq 2356029847, win 8192, options [mss 1460,nop,nop,sackOK], length 0
    17:20:29.338026 IP 192.168.160.200.80 > 192.168.4.135.54147: Flags [S.], seq 614551948, ack 2356029848, win 8760, options [mss 1460,nop,nop,sackOK], length 0
    17:20:29.344909 IP 192.168.4.135.54147 > 192.168.160.200.80: Flags [.], ack 1, win 64240, length 0
    17:20:29.348488 IP 192.168.4.135.54147 > 192.168.160.200.80: Flags [P.], seq 1:304, ack 1, win 64240, length 303
    17:20:29.348564 IP 192.168.160.200.80 > 192.168.4.135.54147: Flags [.], ack 304, win 8457, length 0
    17:20:29.378872 IP 192.168.160.200.80 > 192.168.4.135.54147: Flags [P.], seq 1:513, ack 304, win 8457, length 512
    17:20:29.379063 IP 192.168.160.200.80 > 192.168.4.135.54147: Flags [.], seq 513:1973, ack 304, win 8457, length 1460
    17:20:29.379100 IP 192.168.160.254 > 192.168.160.200: ICMP 192.168.4.135 unreachable - need to frag (mtu 1280), length 48
    17:20:29.379103 IP 192.168.160.200.80 > 192.168.4.135.54147: Flags [.], seq 1973:3433, ack 304, win 8457, length 1460
    17:20:29.379135 IP 192.168.160.254 > 192.168.160.200: ICMP 192.168.4.135 unreachable - need to frag (mtu 1280), length 48
    17:20:29.379251 IP 192.168.160.200.80 > 192.168.4.135.54147: Flags [.], seq 1:1461, ack 304, win 8457, length 1460
    17:20:29.379272 IP 192.168.160.254 > 192.168.160.200: ICMP 192.168.4.135 unreachable - need to frag (mtu 1280), length 48
    17:20:29.379274 IP 192.168.160.200.80 > 192.168.4.135.54147: Flags [.], seq 1461:2921, ack 304, win 8457, length 1460
    17:20:29.379304 IP 192.168.160.254 > 192.168.160.200: ICMP 192.168.4.135 unreachable - need to frag (mtu 1280), length 48
    17:20:29.379306 IP 192.168.160.200.80 > 192.168.4.135.54147: Flags [.], seq 2921:4381, ack 304, win 8457, length 1460
    17:20:29.379335 IP 192.168.160.254 > 192.168.160.200: ICMP 192.168.4.135 unreachable - need to frag (mtu 1280), length 48
    17:20:29.379338 IP 192.168.160.200.80 > 192.168.4.135.54147: Flags [.], seq 1:1461, ack 304, win 8457, length 1460
     This is more detailed view on some packets.
    $ tcpdump -nv -r printer-1.pcap
    17:20:29.379063 IP (tos 0x0, ttl 64, id 1, offset 0, flags [DF], proto TCP (6), length 1500)
    192.168.160.200.80 > 192.168.4.135.54147: Flags [.], cksum 0x7233 (correct), seq 513:1973, ack 304, win 8457, length 1460
    17:20:29.379100 IP (tos 0x0, ttl 64, id 62678, offset 0, flags [DF], proto ICMP (1), length 68)
    192.168.160.254 > 192.168.160.200: ICMP 192.168.4.135 unreachable - need to frag (mtu 1280), length 48
    IP (tos 0x0, ttl 64, id 1, offset 0, flags [DF], proto TCP (6), length 1500)
    192.168.160.200.80 > 192.168.4.135.54147: Flags [.], seq 513:1973, ack 304, win 8457, length 1460
    17:20:29.379103 IP (tos 0x0, ttl 64, id 1, offset 0, flags [DF], proto TCP (6), length 1500)
    192.168.160.200.80 > 192.168.4.135.54147: Flags [.], cksum 0x5edf (correct), seq 1973:3433, ack 304, win 8457, length 1460
    17:20:29.379135 IP (tos 0x0, ttl 64, id 62679, offset 0, flags [DF], proto ICMP (1), length 68)
    192.168.160.254 > 192.168.160.200: ICMP 192.168.4.135 unreachable - need to frag (mtu 1280), length 48
    IP (tos 0x0, ttl 64, id 1, offset 0, flags [DF], proto TCP (6), length 1500)
    192.168.160.200.80 > 192.168.4.135.54147: Flags [.], seq 1973:3433, ack 304, win 8457, length 1460
    17:20:29.379251 IP (tos 0x0, ttl 64, id 1, offset 0, flags [DF], proto TCP (6), length 1500)
    192.168.160.200.80 > 192.168.4.135.54147: Flags [.], cksum 0x0c1c (correct), seq 1:1461, ack 304, win 8457,
     P.S. This thread has been moved from LaserJets to Multifunction and All-in-One - HP Forums Moderator

    John Getzke wrote:
    Its hard to understand what you are trying to do or ask here.   We have some offices connected via IPSEC tunnels. IPSEC interface's MTU is 1280 bytes (not 1500 bytes as Ethernet). All other devices successfully work over this VPN link. HP m2727 works. HP m425dn does not work. As a network administrator I've traced source of problem on all possible points and found that HP m425dn has a bug in the "Path MTU Path discovery" routine. The logs I attached shows that any packet of the TCP stream that the printer (160.200) sends to host (4.135) has "Don't fragment" flag set. According to IP standard the router HAVE TO discard the packet with DF flag set and size bigger then MTU since it can not pass a packet further without fragmentation - IPSEC MTU is 1280 bytes only while HP sends 1500 bytes. The router informs the printer about this problem with ICMP message Type: 3 (Destination unreachable) with Code: 4 (Fragmentation needed) suggesting MTU of next hop: 1280. The router does not communicate with the printer itself, it just informs the printer about network problem. According to IP standard the printer HAVE TO resend this data with the size of packet decreased according to suggested size. This is expected behavior of the Path MTU discovery routine. But the printer  sends the packet again with the same size and DF flag set. The router again discards the packet and informs printer... This cycle repeats again and again until connection is closed due to timeout. Therefore "Path MTU discovery" routine is broken at this device. It would not be a serious problem, but the printer resends packets at rate over 28000 pps (about 40 MBytes per seconds) and its CPU is so heavily loaded that it even does not respond to touches on its touchscreen. So an innocent attempt to print document on terminal server located at another office leads to inaccessibility of the printer.
     The network dump can be downloaded in PCAP format from here.

  • Creating service desk message via web interface

    Hi
    I have setup the servie desk and use the incident management workcenter to view the messages. In that workcenter there is a link that allows one to create a message via a web interface. When that webpage opens there are 3 tabs. The first tab is your Problem discription tab the second one is Additional Information tab. In that tab there are 3 choices Solution, Project and Process. When i select a project and then go to the process tab i dont see any process there (i assume these are business process for the project that was choosen). Does any one have additional information regards this functionality.

    Problem solved

  • Connecting to exchange server via web interface?

    Employer's exchange server has IMAP disabled and IT will not consider adding activesync for iPhone 2.0. Using the web interface via Safari is way too hard on an iPhone to be practical except in emergencies.
    Question: The new version of Entourage allows for retrieval and sync through a connection to the exchange web interface. It behaves just like it's connected directly to the exchange server, but is hitting exchange's web server.
    Is there anything like this for iPhone? Any way to retrieve mail into the native mail application (rather than web app) by polling the exchange web server?

    A few things. Neither will give you the functionality you seem to be after.
    1) Use Exchange OMA service (text based view via web) very quick compared to the full image web based application. Has read/write functionality but you are not going to want to write an email via this.
    2) Outlook 2007 supports http: access. You could use that to pull the data from your work account to say a home PC and sync your iPhone (albeit once a day).
    3) Ask them to install iTunes 7.7 on your work PC so you can sync (I think I know how this would go down in a company )

  • No login via Web Interface

    Hello,
    after installing iFS (version 9.0.1.1.0) access via Windows Network-neighborhood makes no trouble. Using the Web Interface iFS doesn't authenticate login and password although this user exists. The default system/manager has also no chance to login.
    Thanks in advance for all hints!

    Hi Stephen,
    I'm not sure why it would be hanging. You can try holding the reset button on the back of the device for 15 seconds. This is not data destructive, it only resets user and network settings. See if this will allow access to the device.
    Have questions and need answers?
    Search the database for answers to FAQ's, software/driver downloads, tutorials, news, features and more!
    LenovoEMC Support & Downloads
    LenovoEMC North America Support Contact Page

  • No login via Web Interface possible

    Hello,
    after installing iFS (version 9.0.1.1.0) access via Windows Network-neighborhood makes no trouble. Using the Web Interface iFS doesn't authenticate login and password although this user exists. The default system/manager has also no chance to login.
    Thanks in advance for all hints!

    Hi Stephen,
    I'm not sure why it would be hanging. You can try holding the reset button on the back of the device for 15 seconds. This is not data destructive, it only resets user and network settings. See if this will allow access to the device.
    Have questions and need answers?
    Search the database for answers to FAQ's, software/driver downloads, tutorials, news, features and more!
    LenovoEMC Support & Downloads
    LenovoEMC North America Support Contact Page

  • Configuring via web interface?

    Can I configure the base station via a Linux box using web interface? I don't like the idea of installing software. I still have my old ibook g4 but I'd rather not depend on it if I need to change something in the future.

    Sorry, you'll need to use AirPort Utility to configure the AirPorts. There is no web interface available for this.

  • Accessing Email (inbox) via web interface

    Hi All.
    I am testing functionality of Oracle Beehive.
    I installed Beehive 1.4.3.0 + Beekeeper 1.4.3.0 on windows 2003. Is there a possibility for a user to access email inbox, address book, etc. via web page similarly as it is in Zimbra? If yes how can I access it? (which url, port).
    Regards
    Groxy

    Hi,
    If you had 3Gb or more RAM in the machine where you installed Beehive server, the Zimbra web interface would have been configured automatically in 1.4.3. It'll be at http://server:port/zimbra. Where 'server' is the beehive server and port is probably 7777 if there was nothing else on the machine consuming that port when you installed.
    Richard

  • CLJ 4700 Firmware Upgrade via Web Interface

    I am trying to upgrade the firmware on a Color LaserJet 4700 through the web interface, but when I select the file (lj4700fw_46.220.1.rfu) and continue with upgrade, the "Upgrading Firmware" screen displays for about 5 seconds, then I get a "Page cannot be displayed". Any ideas why this would be happening?

    Hello there,
    To get your issue more exposure, I would suggest posting it in the commercial forums since your product is a commercial product. You can do this at Commercial Forums Printers - LaserJet.
    Enjoy your day!
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • File Dialog's using Remote Panels (via web server)

    I am aware that the web server remote panel access will not allow us to open a file dialog box on a remote computer.  I have read people comment that you should create your own file dialog box, using LabVIEW to use instead of the file dialog box.
    Has anyone actually done this?  I would like know if anybody has source code for this, rather than re-inventing the wheel.  Also, will the sub-vi actually just appear on the webserver? i.e. will it actually work?
    Thanks for any help
    Slade

    Hi Emilie,
    I have a program that I run on an industrial PC, with no keyboard, video or mouse.  We currently control the application using the web server.  We have a button to load and a button to save settings.  If the files are missing for the load & save, it pops up a file open dialog to choose the file to import.  However, while we are viewing the page this way, these dialog boxes do not work.
    I would like to know if anyone has made up a file dialog box that I could use, that would display correctly in the web server's remote control.
    Regards,
    Slade

  • Can you sync w800i and iCal remotely (ie via web rather than via bluetooth)

    I am trying to sync my Sony Ericsson w800i with iCal via the web. My ical is published on .mac. On the w800i there is a synchronization menu that requires entry of a server address, username and password, and then specific app.settings for calendar (Database name, Username and password).
    Does anyone know whether it is possible to confgure the w800i to sync using .mac/iCal settings, and if so, what settings to use.
    Thank you!

    The simplest method would have been to use one or more playlists to control what you sync to the iPod nano. You could then sync that same set of playlists to the new device. You cannot sync directly from one device to the other. All content is copied from iTunes. You may be able to export one or more XML playlists from the device, import those back into iTunes, and then add the playlists to your iPad.
    tt2

  • OS authentication via Web interface (Intranet) possible?

    Hi,
    I have database users that have access to iFS too. The database users are OS authenticated. It anoyes them, that contrary to the standard explorer interface, the Web (IE) interface requires them to type in their OS password.
    I did not find any means to let iFS authenticate the users accessing iFS through the intranet (NOT internet). Perhaps this is a foolish thing to expect, I do not have too much knowledge of what the IE browser knows or do not knows of the user using it.
    Can this be done? Perhaps with a custom built web logon?
    TIA,
    Tamas Szecsy

    When you say that your users are OS authenticated - does OS stand for Operating System?
    Do you mean that you're using the NT directory services to authenticate users when they log into the client machines?
    When you say that they are also database users, do you mean that they are also using other Oracle database applications?
    In any of these cases, Oracle 9iFS does not currently support Single Sign On, but this is a requirement that we are considering for a future release.
    The Oracle Single Sign On server would enable applications to share credentials so that a user would log in once to one application,
    and subsequent SSO applications would look up the authenticated credentials instead of making the user log in again.

  • Running Aflac software on Mac via Bootcamp or Parallels

    Does anyone know if it is technically possible and acceptable to Aflac to run their proprietary software on a Mac running either Bootcamp or Parallels? If the answer is yes, has anyone had any experience with this?

    Thanks for the quick reply, and yes, you are correct in that "Windows is Windows," but I am not yet familiar with Aflac's software, but understand there is a security component to their software and its corresponding network, the former, which I understand they must install on the computer at their end and then send it to you. I guess I will probably have to speak to the IT department at Aflac directly for the answer. FYI, the make you purchase a PC through them with the proprietary software, and personally, I cannot see buying a Windows laptop when I need a new Macbook Pro that can more than adequately meet all my needs, including those associated with Aflac's software. Some IT depts. & companies are just limited in their willingness to trail blaze. I would expect that Aflac might be a trail blazer here, as they are in general.

  • Making a java program run in Windows and Linux via web applets

    Hello, this is my first post at java.sun.com
    I made an application in Linux, using Jbuilder Fundation 2005. I used the JDBC MySQL connector for Linux, and I used Mandriva as a distro. What I did is a program that allows me to connect remotely to my server, in order to update the news.
    However I want to create an applet, in which you could click a button, and the main frame of the program will load. I have no idea how to do this, since this program runs great on my linux machine, and from what I know it uses the MySQL JDBC jar that's installed on my machine, and a lot of classes from the Jbuilder program directory.
    How could I upload this program to a webpage (with the applet idea that I mentioned earlier) so that both Linux and (especially) Windows clients could use it?
    It will also be nice to know how to create a .jar file that has all of the required classes in it, I know that Jbuilder enterprise does this, but I don't have that version or plan buying it.
    Thanks in advance

    Put the jre folder from your JDK install in your app folder.ok, but in this way he doesn't have to download jre
    but I have to add it to the app folder so that an
    application large just some kilobytes would become
    some megas bigger... unless I have misunderstood what
    you're suggesting me of course.Yeah, that's the downside. However, 17 MB isn't very large by todays standards.
    jre\javaw -cp <your classpath> <your main class><your classpath> is the class i need to be run's path
    or my classpath?
    jre\javaw has to be written like this or preceeded by
    the path of jre directory?As long as you point 'start in' to the correct directory, I don't believe you have to worry about that. That path you have there isn't quite right (neither was mine) but I think you've got that under control.
    You can give anm explicit path, then you can have different users with different start-in values and store their properties there automatically.

  • Deletion of QUery view via Query Designer or via Web interface

    Hi,
    We have deployed SAP BI 7 with Web access only for user.
    Only some Key users are allowed to use Query Designer.
    In fact, all users can create view through Web analyzer. However, they have no way to delete these views.
    It appears that view deletion is only available through Bex Analyzer...
    Does anybody know a way to delete view from Web analyzer or at least through query designer ?
    Thanks for your answers,
    Regards
    Erick

    hi,
    If you want to delete the view in web then you need to change your web template
    http://help.sap.com/search/highlightContent.jsp
    Check the following links
    Web Application Designer for Beginners
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/749a4622-0a01-0010-36bf-b6b30a2a3a22
    Web Application Solutions: A Designer's Guide
    http://www.lukew.com/resources/webapplicationsolutions.pdf
    http://sap.ittoolbox.com/groups/technical-functional/sap-solution-manager/bw-web-application-designer-1955944
    Feautures of WAD in 7.0
    http://help.sap.com/saphelp_nw70/helpdata/en/88/4d354277dcb26be10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46376d-0601-0010-83bf-c4f5f140e3d6
    regards
    abi

Maybe you are looking for