Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (script)
Browsing all 21 articles
Browse latest View live

Running applescript in OSX app

Hi All, This has been asked before but got no answer. Does anyone know if its possible to run an applescript from a desktop app (mac only). So when a user presses a button it runs the script , then...

View Article



using titanium.py for debugging

Howdy, I was trying to use titanium.py (from the mobile sdk) to debug my code. Now running from my project's folder the following command: /path_to_titanium_mobile_sdk/titanium.py run --platform=iphone...

View Article

File upload - What php do i need?

Hi Guys. I want to be able to upload some images taken with my app to my website. Looking at the following code from KitchenSink what php would be required to upload the file? var win =...

View Article

Running a script on uninstall? OR find out who has uninstalled?

Is it possible to run a script or soemthing when the app is uninstalled? Ive integrated UrbanAirship push into my app and would like to send custom messages on a per device basis. When a device is...

View Article

running php script on a mac

Hi I've tried to different codes (I've already read this page http://developer.app usecelerator.com/doc/desktop/php)and it seems that in mac osx 10.5 I can only get the code that is not preprocessed to...

View Article


How can I run a Bash/Python script prior to the compiling stage?

Hey There,<br /> Right now I'm running this command:<br /> sh prebuild.sh <br /> From within the xcode 'run script phase' named Pre-Compile. This works just fine until I change the...

View Article

script before build in titanium studio?

hi is it possible to have titanium studio run a custom script before a build is produced? id like to have a file where all my includes are defined and i want several folders automatically included. as...

View Article

File downloader script (for desktop)

Hello ! I'm a new Appcelator User, and i'm making a desktop app for downloading some firmwares ! I've found many script for downloading files, but the progress bar is not completed when the file is...

View Article


Json script

Hi all, To day i have others problems ... This is what read titanium after my requet: Ti.API.info( JSON.stringify(this.responseText) );...

View Article


Android's label

Labels in Android include a property called "html", that lets you introduce HTML into the label. It works fine, and do what it promises. But, the point is: Can I insert javascript inside this HTML?...

View Article

SQL and php script ...

Hello everybody, I have a problem with my php script and with the java code. I don't know really where is the problem. Ti.UI.backgroundColor = 'black';   Titanium.UI.iPhone.statusBarStyle =...

View Article

Ti.Process like for Mobile

There is some way to run shell commands on Android within Titanium?

View Article

Add a python file

I would like to add a script, written in python, to be run before the application is compiled. An idea ? Titanium SDK : 2.1.0

View Article


ACS periodic delete

Hello everyone, I'm starting to work on an android app using the Appcelartor Cloud Services. I'm using the Events object to store data on events my app users create. My problem is that I need to...

View Article

Ads auto switcher script for Titanium

I just release Ads auto switcher for Titanium on github. ads.js is a script that allows you to use both iAds and Admob at the same place within a Titanium iOS project. It works with ti.admob module...

View Article


[For the community] Photoshop script to automatically create icons for the App

Hello to all you guys! I wanted to share with you one of my articles that I posted on my blog about a month that talks about how to reduce the time spent on photoshop to create all the icons for our...

View Article

Running Node from within a Titanium Application

Hi All, I've been trying to figure something out - and wondering if its possible for a titanium application, to have node running? basically i need to do this npm install ipp node print.jsvar fs =...

View Article


Creating a pre-build step

Is there a (relatively easy) way to create a pre-build step? Essentially I want to run a pre-processing script before each build (regardless of target platform, iOS or Android).

View Article

Alloy - Creating controller - "app" directory does not exist

app: iOS mobile sdk: 3.2.2.GA os: osx mavericks studio Titanium Studio, build: 3.2.1.201402041146 output: iPhone Simulator v 7.x When attempting to use the "create controller" script from the context...

View Article

Titanium CLI Use

Does anyone know if it possible to access and run the Ti CLI commands within a node.js script? Something akin to var cli = require('titanium'); cli.run('info'); so that it issues the command 'ti info'...

View Article
Browsing all 21 articles
Browse latest View live




Latest Images