dw - pi toolbar v1 March 31, 2003

do you want me to release that dreamweaver mx toolbar ?

pi_toolbar_v1.jpg

it does nothing else then displaying the current document path.

i once worked on this but since i use powerpro and quickmacros there is no need for internal solutions
like dreamweaver scripting anymore ...

but on the other side its nice to have document properties displayed inside of dreamweaver.

so send me comments ...

 

Posted by pi at 03:45 AM
rebuilding the blog templates March 30, 2003

it will look a little strange here a for a while (a few hours) ....
..checking some ways ...
like using my desktop bg pic also for the blog

thanks for your patience.

 

Posted by pi at 09:19 PM
window info

i made today a small message dialog which offers to copy class, exefilename or path to the clipboard.


local mpDlgCaption mpIcon mpDlgText sOutput han class exe
exe = exefilename++".exe"
han = win.handleatpoint(xmouse,ymouse)
class = win.class(han)
mpDlgCaption = "window info"
mpIcon = "INFORMATION"
mpDlgText = "class = $(class) \nexefilename= $(exefilename)\nexe=$(exe)\npath = $(exefullpath) "
sOutput = MiscPlugin.messagebox(5,"c&lass","&exefilename","e&xe","exe&fullpath","&close","intaskbar=1")
sOutput = replacechars(sOutput,"&","")
if (sOutput=="close")
quit
endif
result = "'$("++sOutput++")"
clip text $(result)
win.debug(clip)

window_info.jpg

 

Posted by pi at 07:47 PM
colored code

trace("huhu")

only testing

 

Posted by pi at 07:31 PM
clipboard & search menu

this one comes on mouse double click :

middle_double_search.jpg

and when flash mx is in front, flash help is enabled

middle_double_search_flash.jpg

i'll add ultraedit and dreamweaver to that context too, because there i also sometimes edit actionscript.


and as documented before -> the scripting menu is really cool, i save screenshots to the local folder
and when i decide to add pictures to my website, all code and upload (in case the file doesn't exists)
happens with any further action (click).

yammi

 

Posted by pi at 06:48 AM
flash help chm

sometimes i find the flash html help quite horrible, so i tried many times to compile a chm version.
most of the time i had too much to try and some programs were limited.
today i found htm2chm.

this tool is amazing :

[quote]
htm2chm is a small user-friendly utility for daily use, which allows you to convert both separate HTML pages
with images, and the whole websites (for example downloaded with offline browsers) to one CHM file for
more convenient storing. The program automatically compresses files during the compilation process,
dramatically decreasing the output file size.
[/quote]

all i had to do is to backup my flash mx help folder and to use 'ContextHelp.htm' as start page.
to make it more beautiful the nav swf should be replaced by a jpeg or gif version without the link titles.

the tool also offers something like preindexing a folder, so my next step will be to compile
component and other stuff into the chm too.

my goal is that i already have my own context help in flash (and any other application) -
its simply copy code or window title/text in class xyz and pass it to the related help file.

maybe start recompiling all help files to build a global personal help library

...

htm2chm.jpg

 

Posted by pi at 06:16 AM
COMPONENTES ESENCIALES

this guy has nice components for flash mx:

MX :: COMPONENTES ESENCIALES :: www.romiglia.com

 

Posted by pi at 01:20 AM
scripting menu March 28, 2003

here are some screenshots of my scripting menu.
it either starts with a keyboard macro -> ^1 or with mouse middle click.

right now i use this menu to paste html code into wbloggar (my offline blog writer) and to auto-upload
the images on the webserver.

main:
main.jpg
variables:
variables.jpg
functions:
functions.jpg
script folder (is pasting new syntax -> .folder\script):
scripts.jpg
screenshots:
screenshots.jpg
manipulate strings:
manipulate_string.jpg

nice, isn't it ? all files were auto-uploaded ...

 

Posted by pi at 10:09 PM
notes for file preview March 27, 2003

today i had the idea to use a note as preview window for script and text files (html, actionscript, php, etc. too). this works fine from the context menu :

in the context commandlist:
title: preview
command:
ppro\as_note_preview.powerpro

the script file saved in scripts\ppro as as_note_preview.powerpro :

local preview
preview = pprofolder ++ "notes\preview\preview.PProNote"
file.copy(_file_, preview)
note open top pos center text 0 back 14933984 size 800 600 file "$(preview)"

you can see the script in action:

flash 6 preview movie (please press the start button *)

* i'll fix that later on

 

Posted by pi at 03:19 AM
drop target March 22, 2003

a long dream of mine was a general drop target where i can drag anything on it.
well so it looks like :

drop_target.jpg"

its a floating bar where i can drag any file from the windows explorer (or powerdesk and eq) on it.
a menu then shows up with all the relevant programs for the file.

nice, eh ?

to be honest, its still in development, i'll post the code when the drop target is finished.

 

it also allows file tracking, which can be usefull for bigger projects.
my first approach was a little harder, i changed the file handlers in the registry to powerpro, but unfortunally some programs write their keys on start in the registry (what i don't like ...)
it is really cool to start a flash document (.fla) and to write it to log file, that makes it easier to track work sessions. flash itself has only a list of the last 4 opened files and the open/save MRU in the registry tracks only files handled by the open/save dialog.
maybe i'll dig deeper in it, its easy to overwrite the flash->registry behaivor ...

Posted by pi at 12:14 AM
EditHistory V2.0 March 19, 2003

this is really a cool tool, it extends edit fields with a history dropdown.

see the discription on his site:

EditHistory

 

Posted by pi at 03:18 PM
launcher March 15, 2003

this is my main toolbar:

launcher

and here is the launchhelper for the program categories:

launch_helper

this is a typical recent files menu that i scripted (fireworks example):

launcher_fireworks_recent

and to end this post ...
on left/right click my main context menu appears:

chord left right

 

Posted by pi at 01:49 AM
flash localhost preview March 14, 2003

i made two publishing templates for preview on localhost.
in the extension are also 4 templates - no margins and center (+ detect flash 5/6).
currently only the webroot folder 'htdocs' is supported, if you have any other names
for me the please write a comment and I'll add it (as long its kind of standard) .

pi_html_templates.mxp

.

 

Posted by pi at 08:17 AM