## Running script in device

##### Before you start

Make sure that you have a .creatorxml script file you want to run in a target device, and that you have an HTI connection to the target device. For more instructions on configuring the HTI connection, see the HTI Connection Help.

Check also the version of the Creator S60 device application. The Run in device functionality requires version 5.0.3 or newer. Note: It is suggested to always use the latest version of Creator S60 device application.

To upload and run script files in a target device, do the following:

1. Prepare and select a script file in the Creator Script Editor, and connect to the target device via HTI.
2. Click Run in device via HTI. This uploads the script file to the target device folder specified in the Creator preferences.
3. If prompted, confirm to run the script in the device.

##### Related tasks

- Setting Creator preferences
- Creating the script file