Results 1 to 3 of 3
Discuss Custom URL scheme and shell script question at the iPhone Developer Exchange - Hackint0sh.org; This is kinda odd, but I've figured out how to make shell scripts run with ...
  1. #1
    Rookie Array

    Join Date
    Oct 2009
    Posts
    13
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Custom URL scheme and shell script question

    This is kinda odd, but I've figured out how to make shell scripts run with a custom url. Is there any way to also pass information to the script?

    Example: "tel:1234567890" tells the phone app to call that number. Let's say I have "myscript:1234567890". I can get it to run the script, but is it possible to get the number into the script as a variable or argument or something?

    Caveat: I'm not a developer and don't know C++ so I'm stuck working with the script and trying different ways of making it take input, but nothing works. It may be impossible.



  2. #2
    Rookie Array

    Join Date
    Oct 2009
    Posts
    13
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Well, actually, I was trying to do this with the Prowl app and after reading through the forums, I found that it doesn't yet pass the custom url. So even if you sent "tel:1234567890," Prowl will only open the phone app, not enter the number.

    I'm already using Prowl notifications to run scripts on the phone (howto) and the next Prowl update is supposed to be capable of passing the info, so hopefully I will then be able to pass information to the scripts from the notification.

  3. #3
    Rookie Array

    Join Date
    Oct 2009
    Posts
    13
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I found this app called Open URL which allows you to input custom urls and all their parameters and try to launch the application. I have no problem getting a shell script to execute with a custom url but no luck getting it to take any text input upon launch. It's looking kinda impossible.

 

 

Similar Threads

  1. Run shell Script from Xcode
    By Mitali in forum iPhone Developer Exchange
    Replies: 0
    Last Post: 09-16-2009, 11:15 AM
  2. Running a shell script from Ipod Touch App
    By rocomotion in forum iPhone Developer Exchange
    Replies: 2
    Last Post: 08-21-2009, 06:17 AM
  3. iPhone icon for shell script?
    By mooselander in forum iOS 3.x (iPhone OS 3.x)
    Replies: 0
    Last Post: 08-12-2009, 05:29 PM
  4. remove sms.db with shell script
    By simplyjustken in forum iPhone "2G" (Rev. 1)
    Replies: 23
    Last Post: 10-25-2007, 12:21 PM
  5. Question: Run shell script from an icon?
    By KennX in forum Free Toolchain Software (Cydia App's)
    Replies: 3
    Last Post: 08-11-2007, 11:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 02:22 PM.
twitter, follow us!