Farbflash projects: Imaging lingo table | 3-D scene list | Find all | Handler menu | Lingo message window

Changeset 92 for branches


Ignore:
Timestamp:
12/09/07 15:42:39 (4 years ago)
Author:
alex
Message:

buddyApis getfolder returend unixnames

Location:
branches/beta
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/beta/castlib1/alexUtilities.ls

    r91 r92  
    407407-- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
    408408 
    409 on mGetFolderPathFromUser me 
     409on mGetFolderPathFromUser me, startFolder, theTitle, flags, instruction, offsx, offsy 
    410410  retval = "" 
    411411   
     
    420420    end if 
    421421     
    422     retval = baGetFolder( "", "Select a folder", 3, "", 50, 50 ) 
     422    startFolder = string(startFolder) 
     423    instruction = string(instruction) 
     424    flags = integer(flags) 
     425    if ilk(flags) <> #integer then flags = 0 
     426    theTitle = string(theTitle) 
     427     
     428    offsx = integer(offsx) 
     429    if ilk(offsx) <> #integer then offsx = -1 
     430     
     431    offsy = integer(offsy) 
     432    if ilk(offsy) <> #integer then offsy = -1 
     433     
     434    retval = baGetFolder(startFolder, theTitle, flags, instruction, offsx, offsy ) 
    423435     
    424436    if resetUNames = 1 then baReturnUnixNames(1) 
  • branches/beta/castlib1/helptext.html

    r65 r92  
    55<body bgcolor="#FFFFFF"> 
    66<br> 
    7 <font face="Arial" size=4><b>Handler Menu</font></b><font size=3> by Alex da Franca -- </font><a href="mailto:alex@farbflash.de"><font color="#000096"><u>alex@farbflash.de<p> 
    8 </a></font></u><font color="#000000">Quickly <b>execute handlers</b> which are found in the <b>currently open stage movie</b> from this menu.<br> 
     7<font face="Arial" size=4><b>Handler Menu</font></b><font size=3> by Alex da Franca -- </font><a href="mailto:alex@farbflash.de"><font color="#000096"><u>alex@farbflash.de</a><br> 
     8<br> 
     9</font></u><font color="#000000">Quickly <b>execute handlers</b> which are found in the <b>currently open stage movie</b> from this menu.<br> 
    910Holding the <b>Option&#47;Alt</b> key pressed, while selecting a menu item <b>opens the script</b> and highlights the handler in the editor instead of executing the handler.<br> 
    1011Holding the <b>Shift key</b> pressed <b>copies the syntax</b> into the clipboard instead of executing the handler. So you can paste it in the script you are currently working in.<br> 
     
    1415</font><font size=4><b>Important Note!<br> 
    1516</font></b><font size=3>This movie calls the sleep method of the UIHelper xtra on idle, as otherwise the CPU usage would permantly be very high and not only consume my powerbook battery power, but also heat the computer up and make the fan spin as if there is no tomorrow. In order to avoid that stupid behavior I spin the performance down making the engine release the cpu for 1 tick on mac (1&#47;60 second) and 1 millisecond on a windows PC on every idle event. This impacts the playback speed of your movie too. So keep in mind, to close the tool miaw, if you make performance tests with your movie. Or, if you prefer, turn this feature of by simply commenting the line in the &quot;on idle&quot; handler in the first movie script.<br> 
    16 <p> 
     17<br> 
     18<br> 
    1719</font><font size=4><b>Requirements&#58;<br> 
    18 </font></b><font size=3>This movie requires the Xtra &quot;BuddyMenu&quot; from Gary Smith, the maker of many great Xtras, like for example the indispensable &quot;BuddyAPI&quot;. Get it the latest version at&#58; </font><a href="http://www.mods.com.au/BudMenu/index.htm"><font color="#000096"><u>http&#58;&#47;&#47;www.mods.com.au&#47;BudMenu&#47;index.htm<p> 
    19 </a></font></u><font color="#000000">In order to open the script editor and highlight the match (selecting a handlername in the menu while pressing the Option&#47;Alt key) the <b>UIHelper xtra (Win&#58; JavaUiHelper.x32)</b> is required.<br> 
     20</font></b><font size=3>This movie requires the Xtra &quot;BuddyMenu&quot; from Gary Smith, the maker of many great Xtras, like for example the indispensable &quot;BuddyAPI&quot;. Get it the latest version at&#58; </font><a href="http://www.mods.com.au/BudMenu/index.htm"><font color="#000096"><u>http&#58;&#47;&#47;www.mods.com.au&#47;BudMenu&#47;index.htm</a><p> 
     21</font></u><font color="#000000">In order to open the script editor and highlight the match (selecting a handlername in the menu while pressing the Option&#47;Alt key) the <b>UIHelper xtra (Win&#58; JavaUiHelper.x32)</b> is required.<br> 
    2022The UIHelper Xtra is one of the standard Xtras, which were delivered with Director until version 8, as part of the 'save as java' xtra components.<br> 
    2123The UIHelper xtra is also in the standard-install of Director MX and MX2004. Director 8.5 is missing the xtra, but fortunately the UIHelper Xtra from version 8 works with 8.5 as well. If you use &quot;HandlerMenu&quot; with D 8.5, copy the UIHelper Xtra from previous versions over to your D 8.5 Xtras folder.<br> 
     
    2426Windows&#58; run setup.exe which is contained in the folder 'Java Components' on the root level of the D8 CD).<br> 
    2527<br> 
    26 Some of the built-in &quot;Utility&quot; handlers also require Xtras. These are mostly the standard Xtras, but some handlers require Valentin Schmidts great <b>Shell Xtra</b>. Get it at&#58; </font><a href="http://staff.dasdeck.de/valentin/xtras/shell/"><font color="#000096"><u>http&#58;&#47;&#47;staff.dasdeck.de&#47;valentin&#47;xtras&#47;shell&#47;<p> 
    27 </a></font></u><font color="#000000">Since this movie is an opensource project you can put your own Utility handlers into it, which may require other xtras.<br> 
     28Some of the built-in &quot;Utility&quot; handlers also require Xtras. These are mostly the standard Xtras, but some handlers require Valentin Schmidts great <b>Shell Xtra</b>. Get it at&#58; </font><a href="http://staff.dasdeck.de/valentin/xtras/shell/"><font color="#000096"><u>http&#58;&#47;&#47;staff.dasdeck.de&#47;valentin&#47;xtras&#47;shell&#47;</a><p> 
     29</font></u><font color="#000000">Since this movie is an opensource project you can put your own Utility handlers into it, which may require other xtras.<br> 
    2830If you want to add your own built-in handlers, add them to the parentscript &quot;alexUtilities&quot; and add the handlernames to the behaviorscript &quot;simpleBMMenu&quot;, just like the already existing handlers. Two things to keep in mind&#58;<br> 
    29311.) the parameters are parsed form the menu string, so add the required parameters to the string, which appears in the menu, just like the other menu items.<br> 
  • branches/beta/castlib1/statusOutput.html

    r65 r92  
    44</head> 
    55<body bgcolor="#FFFFFF"> 
    6 <font face="Arial">wait...</font></body> 
     6<font face="Arial">The following operation may take some time...<br> 
     7Saving movie...<br> 
     8Processing member&#58; thisMoviesScript<br> 
     9Processing member&#58; keyboardNavigation_FrameLoop<br> 
     10Processing member&#58; menu1_button<br> 
     11Processing member&#58; menu2_button<br> 
     12Processing member&#58; simpleBMMenu<br> 
     13Processing member&#58; OSCmenu_Utilities<br> 
     14Processing member&#58; alexUtilities<br> 
     15Processing member&#58; convert_Lingo_2_CSS_Html<br> 
     16Processing member&#58; OSCmenu_Handlers<br> 
     17Processing member&#58; pastefeld<br> 
     18Processing member&#58; oldclipboard<br> 
     19Processing member&#58; searchword<br> 
     20Processing member&#58; resizewindowfs<br> 
     21Processing member&#58; showHideHelp<br> 
     22Processing member&#58; helptext<br> 
     23Processing member&#58; texthyperlinkBehavior</font></body> 
    724</html> 
  • branches/beta/castlib1/svn_Utilities.ls

    r91 r92  
    29662966   
    29672967  if chooseNewPath = 1 then 
    2968     workingFolder = baGetFolder(the moviepath, "Please select a working copy for SVN update", 3, "Select working copy", -2, -2) 
     2968    workingFolder = mGetFolderPathFromUser(me, the moviepath, "Please select a working copy for SVN update", 3, "Select working copy", -2, -2) 
    29692969  end if 
    29702970   
     
    29762976    alert selectMsg 
    29772977     
    2978     workingFolder = baGetFolder(the moviepath, "Please select a working copy for SVN update", 3, "Select working copy", -2, -2) 
     2978    workingFolder = mGetFolderPathFromUser(me, the moviepath, "Please select a working copy for SVN update", 3, "Select working copy", -2, -2) 
    29792979  end if 
    29802980   
Note: See TracChangeset for help on using the changeset viewer.