Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » U++ Esc Interpreter, Esc Macros and templates » ESC and the path of Package
ESC and the path of Package [message #12919] Wed, 28 November 2007 17:27 Go to next message
scorpionfirevn is currently offline  scorpionfirevn
Messages: 5
Registered: November 2007
Promising Member

hi,
i want to write a codeformat.usc by using astyle program and the Script is like:

macro "Code Format":"Code Format" Alt+F{
filetype1 = "*.h ";
filetype2 = "*.cpp ";

cmd = "astyle --style=ansi ";

cmd<<filetype1;
.Execute(cmd);
}

i really want to put this file in common directory but it work not.
how can i get th path of the source path(source package)?

ex: astyle --style=ansi /home/abc/upp/package1/*.h

i've take a look ESC language but there is not any functions like what i want.
Any ideas
Thanks a lot
Tuan
Re: ESC and the path of Package [message #12944 is a reply to message #12919] Fri, 30 November 2007 00:55 Go to previous messageGo to next message
waxblood is currently offline  waxblood
Messages: 95
Registered: January 2007
Member
Have a look at this thread:
http://www.ultimatepp.org/forum/index.php?t=msg&th=2513& amp;start=0&


David
Re: ESC and the path of Package [message #12973 is a reply to message #12944] Sat, 01 December 2007 18:23 Go to previous message
scorpionfirevn is currently offline  scorpionfirevn
Messages: 5
Registered: November 2007
Promising Member

Thanks David a lots.
I will try it ..

Tuan Very Happy
Previous Topic: Immediate reparsing of usc macro when changed [FEATURE REQUEST]
Next Topic: ESC_STRING and other questions
Goto Forum:
  


Current Time: Mon Dec 11 15:58:52 CET 2017

Total time taken to generate the page: 0.01692 seconds