Archive for March, 2006

Workspace “commands” howto

Thursday, March 30th, 2006

The new Workspace panel introduced a new set of features.
One of them is the new “execute command”, which is rather different from the “user toolset” of the SEPY main menu.
Once you’ve created a new command, using “add->New Command” contextual menu within the workspace panel you will see a dialog like this (click to enlarge image):

command prompt

How it works:

- name : how this item will be shown in the project tree
- command: the shell command name wich sepy will invoke (usually an .exe of .bat program)
- arguments: which arguments to be passed to the command
- start in: before invoking that command, sepy will change the current directory to the one given here (usually the same folder of the .exe file)
- run in: where display the command results (current document, new console, no console)
NB: Both “arguments” and “start in” textfields accept special arguments:

%(P)s: Directory path of the active project
%(p)s: Path of the active project
%(F)s: Directory Path of the active document
%(f)s: Path of the active document
%(ask:NAME:DEFAULT): Prompt before running command

Added in RC20:
%(ask:NAME:BROWSE_FILE): Prompt a file browse when command is run
%(ask:NAME:BROWSE_DIR): Prompt a directory browse when command is run

The last special argument is particular useful when you need to pass different arguments every time you want to run that command. In fact you will be prompted to insert the arguments before the command will be executed.
An example of what you will see, after defining in the argument field a string like this:

-V %(ask:extra arguments:simple) “%(ask:source:BROWSE_FILE)” “%(ask:destination:BROWSE_FILE)”

command_ask1.gif

P.S. I’ve also put together a couple of real life examples on how to use the new run command.
1. Run from the workspace panel: http://www.sephiroth.it/_temp/captivate/as2api/
2. Run from the user tools: http://www.sephiroth.it/_temp/captivate/swfmill/

Moved to SVN

Thursday, March 30th, 2006

Due to the recents problems with the CVS on sourceforge I decided to move the remote repository under SubVersion

You can see the subversion tree via web here:
http://svn.sourceforge.net/viewcvs.cgi/sepy/

For SVN checkout now you should use:
svn co https://svn.sourceforge.net/svnroot/sepy sepy

Every time there will be a commit on the repository an email will be sent to the sepy-cvs mailing list, the archive is here:
http://sourceforge.net/mailarchive/forum.php?forum_id=44804

SEPY updates

Tuesday, March 28th, 2006

In the latest update I finally decided to do a sort of packages reorganization of the source code, also for a better management in the future. This will happen in 1.5.2RC19.
So please forget me for all the possible errors (btw, i will try to test this release a lot before release it)
What’s new:

Compare files (preview) The “compare files” dialog has been changed in the last drop. It still uses the GNU diffutil for compare files and directories, but the result visualization is changed.

First of all now you can both compare files or whole directories. When compare 2 files the results will be displayed in the main editor window in a different way than before. The 2 files will be shown in the same editor window, divided into 2 columns. The left column represents the 1st file, the right column represents the 2nd file.

All the lines with a difference will be underlined with different colors (based on the type of the difference). You can see a demonstration of the result of a comparison here:

Compare files result output

The lenght of each column can de defined in the compare files dialog itself (default value if 80, for a better result visualization)

The “compare directories” tab will compare every file (of every directories if the “recursive” checkbox will be checked) of 2 different directories and will display the results into a list in the same dialog. Then you can choose which file to be compared or just open one of the shown files.

The “Exclude pattern” field will exclude all those files which match that pattern. For example, writing “*.py[cw]” will exclude all .pyw and .pyc files
compare_2.gif

Also the wxPython and Scintilla versions have been updated

New Features: stickies and ASO

Saturday, March 18th, 2006

delete aso filesIn the latest build I’ve added 2 new features.
The first one it’s a modification of the”Flush” menu, where you can find now 2 new menu items: “Delete ASO files” and “Delete ASO and test movie”.
Those items are the same you can find in the Flash 8 command menu, and they did the same thing.

stickiesThe second addition can be found at the bottom of “Insert menu”.
Stickies let you place sticky notes on your SEPY desktop. You can type notes to yourself, keep track of a to-do list, and anything else you would do with paper notes. Your notes will float above SEPY, so you can see both your note and what you are working on. When you close SEPY all the stickies will be saved, and when you log back on, your notes are still there.