Skip to content

Conversation

@mgarcia-org
Copy link

Hi Mike,
Sorry for bothering you again... just letting you know I've made some minor updates, not sure if you're interested in them?
The removal of duplicate tiles was an issue for me, because I also needed StartWithEmptyTile, anyway I called it !ExportDuplicateTiles

Added F10 on the command line, so it exports the project and exits, ie when called from makefile

!RunCMDLine - runs a cmd after it finishes correctly (tested working in winXP and win7)

And updated your tutor.html from your TS website and added the above at the bottom.

Regards
Mike

run F10 script via cmdline and exit
see main.pas search CMDLINE_OP
run F10 script via cmdline and exit
see main.pas search CMDLINE_OP
 Exports duplicate tiles, ie when not using tstilebitmap
Updated html tutorial/help from:  https://tilestudio.sourceforge.net/tutor.html and reply from https://sourceforge.net/p/tilestudio/discussion/159337/thread/c4d69307/
CMDLine 
- run a command line executable after the export script has finished, put command on following line, ie:
#end file
; --------------------------------------------------------
!RunCMDLine 
;"C:\Users\My Name\Desktop\My Project\convert.bat" "C:\Documents and Settings\My Name\Desktop\My Art\file01.png" true

Tips:
0) Path and command must be full qualified and in quotes on the next line, with the first character skipped
1) Execution directory is where the excitable is launched from (where your ts.exe is, ie C:\ts\) not your project folder
2) If you use a batch file, the first command should be a cd command into your project folder, put pause to debug it etc
3) if the cmd box flashes and does nothing, it's most likely your paths are wrong, test first on the command line.
no RunCMDLine on F10 and better docs
original with no settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant