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


Go Back   Hackint0sh > Projects and Hacks > iPhone > Applications & Development > Free Toolchain Software

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-21-2009, 09:48 PM
spitphire
Status: Offline
Member
 
Join Date: Sep 2009
Location: Germany
Posts: 39
Rep Power: 0
spitphire is on a distinguished road
Default output script running from springboard

Ok, I used the Info.plist below to add an icon to my springboard an execute a bash script. The only thing i can get to display is the Default.png while the script executes.

Is it possible to display the output of the script while it runs?


I found this on this forum somewhere:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>CFBundleDevelopmentRegion</key>
	<string>English</string>
	<key>CFBundleExecutable</key>
	<string>name_of_shell_script.sh</string>
	<key>CFBundleIdentifier</key>
	<string>com.unique.identifier</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundlePackageType</key>
	<string>APPL</string>
	<key>CFBundleShortVersionString</key>
	<string>0.1.0</string>
	<key>CFBundleSignature</key>
	<string>????</string>
	<key>CFBundleVersion</key>
	<string>1.0</string>
</dict>
</plist>
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 09-26-2009, 02:43 PM
Jim Danner
Status: Offline
Respected Member
 
Join Date: Dec 2007
Posts: 1,029
Rep Power: 67
Jim Danner is a jewel in the roughJim Danner is a jewel in the roughJim Danner is a jewel in the rough
Default

In principle, a scripts doesn't get displayed because it's not a UIKit application (it doesn't have a user interface). There are UIKit apps that can display the output of a script, notably MobileTerminal. If you aren't already using that, you could install it and in its settings (tap the clock once), at Terminal 1, put as "Arguments" the path to your script as a starting command.

An alternative is to send the output of the script to a file you can look at afterwards.
__________________
iPhone 3GS / 3.1.2 JB (PwnageTool) / 04.26.08 carrier-locked, Carrier Logo Fixer / Cydia / 1000 posts on Hackint0sh

Installing Cydia programs on a phone that has no internet connection: read this.

Editing binary .plist, .strings, .nib and .xib files:
* on your computer: Windows tool / conversion website.
* on your iPhone: convert those files in a terminal with plutil (installed with Erica Utilities) or edit them with iFile (Cydia links).
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-01-2009, 11:50 AM
spitphire
Status: Offline
Member
 
Join Date: Sep 2009
Location: Germany
Posts: 39
Rep Power: 0
spitphire is on a distinguished road
Default

Thanks for the info. I do havemobile terminal and I decided to just add a gesture shortcut for the script.. one extra button to push, but it's a lot better seeing that the script actually ran correctly.

Spit
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running a shell script from Ipod Touch App rocomotion iPhone Developer Exchange 2 08-21-2009 06:17 AM
[Request] Blank SpringBoard vandy1997 Free Toolchain Software 3 04-29-2008 06:08 AM
Perl error running IMAPfilter.pl script Gerard Free Toolchain Software 1 09-16-2007 02:02 AM
Local IMAP Server + Fetchmail + Script = Push Email? -cj- Free Toolchain Software 0 09-01-2007 08:51 AM
AppleTV running OSX questions dan.scott1234 AppleTV 5 08-02-2007 06:15 AM



All times are GMT +2. The time now is 09:06 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