Results 1 to 3 of 3
Discuss output script running from springboard at the Free Toolchain Software (Cydia App's) - Hackint0sh.org; Ok, I used the Info.plist below to add an icon to my springboard an execute ...
  1. #1
    Advanced Array

    Join Date
    Sep 2009
    Location
    Germany
    Posts
    39
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    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>



  2. #2
    Board Hero Array

    Join Date
    Dec 2007
    Posts
    1,044
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    74

    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).

  3. #3
    Advanced Array

    Join Date
    Sep 2009
    Location
    Germany
    Posts
    39
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    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

 

 

Similar Threads

  1. stuck on Running script HELP!!!!!
    By chrisjeymy1 in forum Installation
    Replies: 4
    Last Post: 09-11-2010, 09:42 PM
  2. Springboard Icon to Run Script?
    By bkhahn in forum Free Toolchain Software (Cydia App's)
    Replies: 10
    Last Post: 03-07-2010, 05:14 PM
  3. problem - running script from springboard
    By Luki14 in forum Free Toolchain Software (Cydia App's)
    Replies: 3
    Last Post: 10-02-2009, 11:17 PM
  4. Running a script for a incoming call
    By t0pcat in forum General
    Replies: 2
    Last Post: 10-19-2007, 09:40 AM

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 12:58 PM.
twitter, follow us!