Home User CP Donate Chat Register Today!  
  Get New posts Faq / Help?
   


Go Back   Hackint0sh > Projects and Hacks > iPhone > Applications & Development > iPhone Developer Exchange

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-28-2009, 05:17 AM
fubaya
Status: Offline
Junior Member
 
Join Date: Oct 2009
Posts: 12
Rep Power: 0
fubaya is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 10-29-2009, 04:23 AM
fubaya
Status: Offline
Junior Member
 
Join Date: Oct 2009
Posts: 12
Rep Power: 0
fubaya is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 10-29-2009, 06:09 AM
fubaya
Status: Offline
Junior Member
 
Join Date: Oct 2009
Posts: 12
Rep Power: 0
fubaya is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Sponsored links Remove advertisements
Advertisement
Advertisement

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +2. The time now is 09:29 AM.



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2 Ad Management by RedTyger
follow us on Twitter!

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105