Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8467055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T15:31:49+00:00 2026-06-10T15:31:49+00:00

I am using a jailbroken iOS device, and I want to add an action

  • 0

I am using a jailbroken iOS device, and I want to add an action to Activator that executes a shell script stored in a known location. Does anyone know how to achieve this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T15:31:51+00:00Added an answer on June 10, 2026 at 3:31 pm

    I’m not sure whether or not Activator can run scripts directly, but it certainly can run any app you install on your device, with whatever action (e.g. swipe, shake, button press) you like. Just make a simple app that uses the system() function, or an exec function to invoke your script:

    int main(int argc, char *argv[])
    {
        int returnCode = system("/bin/myscript.sh arg1 arg2");
        return 0;
    }
    

    Then, setup Activator to run that app.

    Edit:
    That will cause a brief flash as the app starts, and then closes. This also means that any other app that you’re running will be closed (sent to the background). If you don’t like that, Activator also lets you build a SBSettings toggle, and then run it on a user-defined action. See here for building a SBSettings toggle. You would just implement the setState method this way:

    void setState(BOOL Enabled) 
    {
        int returnCode = system("/bin/myscript.sh arg1 arg2");
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to run two app simultaneously, I am using jailbroken phone and dont
I am new to titanium. Using a iPhone(Jailbroken)3GS with iOS 5.0.1. Titanium SDK 1.0.8
I have jailbroken device ios version 5.0.1 When ever I try to debug my
Using a populated Table Type as the source for a TSQL-Merge. I want to
using this http://bl.ocks.org/950642 we can see how to add images to nodes, the question
Using Location.getBearing(); I seem to get randomly changing bearings. Aka, I can turn the
Using Git Bash or MinGW Shell , if I put in a command with
I have a jailbroken Iphone 4 running iOS 5.0.1 and I'm trying to send
Jailbroken iPhones get on my nerve as it taints some fundamental APIs on iOS,
I would like to develop an iOS application that send files between other devices

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.