https://github.com/qq3g7bad/sort.touchgfx
Sort screens and containers in TouchGFX Designer file.
https://github.com/qq3g7bad/sort.touchgfx
touchgfx
Last synced: about 2 months ago
JSON representation
Sort screens and containers in TouchGFX Designer file.
- Host: GitHub
- URL: https://github.com/qq3g7bad/sort.touchgfx
- Owner: qq3g7bad
- License: mit
- Created: 2024-11-28T13:33:14.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-01-31T13:46:06.000Z (9 months ago)
- Last Synced: 2025-03-29T14:42:34.304Z (7 months ago)
- Topics: touchgfx
- Language: PowerShell
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🔃 sort.touchgfx
## 🌱 Overview
Sort.TouchGFX is a PowerShell script designed to sort screens and containers inside a `*.touchgfx` file used by TouchGFX Designer.
This script processes the `*.touchgfx` file as JSON and sorts the screens and containers in alphabetical order.
## 🚀 Usage
### 1. Clone the Repository
First, clone the repository to your local environment:
```bash
git clone https://github.com/qq3g7bad/sort.touchgfx.git
```
### 2. Run the PowerShell Script
Next, execute the PowerShell script, providing the path to your `*.touchgfx` file as an argument:
```powershell
.\sorttgfx.ps1 ..\MyApplication.touchgfx
```
### Notes:
- This script is designed to run on Windows.
- The `*.touchgfx` file is stored in JSON format, and the script modifies this JSON structure.
- The script will overwrite the original `*.touchgfx` file.
- After sorting, the formatting of the `*.touchgfx` file may appear disrupted. However, opening it in TouchGFX Designer will automatically restore proper formatting.