Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast
Results 1 to 15 of 55
  1. #1
    Join Date
    May 2006
    Posts
    5,380

    AMS Action File Editor

    inspired by a post in the forum, found here http://www.indigorose.com/forums/sho...&postcount=130

    i made this little app to open/view and edit action files for AMS.

    AMS Action File Editor is a small tool that opens/views/edits and saves action xml files for AutoPlay Media Studio.

    The action file is used by Indigo Rose to specify action information for the products’ built-in actions.
    You can take a look at these files in the \Data\Actions subfolder of the product’s application folder.

    This file is only for the use of the design environment.
    It has no real affect on how your actions are called or what they do.
    It is just there for the sake of the action wizard/editor and the intellisense editor when typing script.
    Download

    C&C welcome, please report all bugs and suggestions for improvment

    i have thoroughly tested this app and the xml files it produces and have tweeked the code to almost perfection, but there still might be a bug or 2 so please test any files you produce before you distrubte them.
    Last edited by RizlaUK; 10-31-2008 at 08:05 AM.
    Open your eyes to Narcissism, Don't let her destroy your life!!

  2. #2
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Nice work rizla! i thought you wanted to know that when you click the about option in the menu, the title of the about dialog is: MyDialog
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  3. #3
    Join Date
    Jul 2002
    Location
    Just South of Reality
    Posts
    778

    Thanks

    Another nice addition.

    Thanks RizlaUK.

  4. #4
    Join Date
    May 2006
    Posts
    5,380
    Thanks guys, i missed a title, lol

    i'll have an update soon, im adding some little tools, XML editor in text view so you can edit the file in tha app or in text mode, and a code template editor to edit the code templates xml file (right click in script editor "QuickScripts") to add your own code templates, i'll dig around the AMS xml and see if theres anything else i can add.
    Open your eyes to Narcissism, Don't let her destroy your life!!

  5. #5
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Quote Originally Posted by RizlaUK View Post
    Thanks guys, i missed a title, lol

    i'll have an update soon, im adding some little tools, XML editor in text view so you can edit the file in tha app or in text mode, and a code template editor to edit the code templates xml file (right click in script editor "QuickScripts") to add your own code templates, i'll dig around the AMS xml and see if theres anything else i can add.
    Great, nice work this will make plugin development a bit easier
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  6. #6
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Hey rizla, i've made a few functions a while ago, maybe this will help you
    not tested on 7.5 yet, but i guess it's not that hard to edit?
    Code:
    AMS_Objects = "Objects\\"
    AMS_Actions = "Actions\\"
    
    
    
    function GetAMS70Folder() 
    	ClassID = Registry.GetValue(HKEY_CLASSES_ROOT, "AMS70.Document\\CLSID", "", true);
    	FullPath = Registry.GetValue(HKEY_CLASSES_ROOT, "CLSID\\"..ClassID.."\\LocalServer32", "", true);
    	sDrive=String.SplitPath(FullPath).Drive
    	sFolder=String.SplitPath(FullPath).Folder
    		return sDrive..sFolder
    end
    
    function GetAMS70Executable()
    	ClassID = Registry.GetValue(HKEY_CLASSES_ROOT, "AMS70.Document\\CLSID", "", true);
    	FullPath = Registry.GetValue(HKEY_CLASSES_ROOT, "CLSID\\"..ClassID.."\\LocalServer32", "", true);
    		return FullPath
    end
    
    function GetAMS70PluginsFolder()
    		return GetAMS70Folder().."Plugins\\"
    end
    
    function EnumeratePlugins(ObjectOrAction)
    	ToSearch=GetAMS70PluginsFolder()..ObjectOrAction;
    	FoundPlugins = Folder.Find(ToSearch, "*", false, nil);
    		return FoundPlugins
    end
    
    function FindLicense(Path)
    	Licenses = File.Find(Path, "*.lic", false, false, nil, nil);
    	if(Licenses==-1)or(Licenses==nil)then
    		Licenses = {}
    		Licenses[1]=-1
    	end
    		return Licenses[1]
    end
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  7. #7
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    Very handy tool, thank you.
    Dermot

    I am so out of here

  8. #8
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    Nice job Rizla! This is a handy little tool. I can't wait to see what other ideas you have in mind for it.

  9. #9
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    When you set an argument as a combo, you can't seem to edit or remove combo items. You can only add items. The Remove button close the dialog.
    Dermot

    I am so out of here

  10. #10
    Join Date
    May 2006
    Posts
    5,380
    lol, i dident write the code for remove button and i think i also overlooked the edit button, i dont know why, guess i was in a rush to publish it and overlooked a few things, i'll have that fixed today, iv changed a few things around to make a more generic tool for ams and removed the visual stuff from the GUI as i was just messing with the gradient plugin, i will post the new app in a new post as it will be a new tool.

    Thanks for the feedback
    Open your eyes to Narcissism, Don't let her destroy your life!!

  11. #11
    Join Date
    May 2006
    Posts
    1,443
    very useful

    one thing

    when <Type>string</Type>

    <Default>"test"</Default> should be enclosed with quotes

    if you add a auto help file (html pages) generation feature
    you'll save my life

    if you need a plugin or something similar for this program just PM me
    i liked this , and i am willing to help improvement of this project

  12. #12
    Join Date
    May 2006
    Posts
    5,380
    hi reteset, when setting default values i left it to the user to enclose text strings but i will make it check for quote tags and if missing then add them if the input is a string type (object name, filepath, etc)

    AutoHelp, now theres a good idea, i dident think of that and im sure i can make that work, Thanks for the suggestions
    Open your eyes to Narcissism, Don't let her destroy your life!!

  13. #13
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    This only get's better by the day
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  14. #14
    Join Date
    May 2006
    Posts
    5,380

    Arrow Update

    ok guys, heres an update (original link from first post)

    all the above bugs have been fixed and lots has been added, the automatic help system is fully functional and there are a number of extra inputs related to the help file, all optional of course, the app help file has also been updated, read it if you are unsure about an input field. You only need to enter the bare data needed by the action editor to generate a help file but you can add as much or as little detail as you like

    again, there may be a bug or 2, or there may not, test and report back so i can declear this app bug free and move onto some other useful tools
    Open your eyes to Narcissism, Don't let her destroy your life!!

  15. #15
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    Nice job. That help file generator is absolutely brilliant.
    Dermot

    I am so out of here

+ Reply to Thread
Page 1 of 4 1 2 3 ... LastLast

Similar Threads

  1. AutoPlay Media Studio 8.0 Suggestions
    By Mark in forum AutoPlay Media Studio 7.5
    Replies: 371
    Last Post: 04-13-2010, 03:13 PM
  2. Bug: Script Editor Action Dialog!
    By RizlaUK in forum AutoPlay Media Studio 7.5 Suggestions
    Replies: 4
    Last Post: 11-07-2008, 07:06 AM
  3. What's new in AMS 5.0?
    By Ted in forum AutoPlay Media Studio 5.0
    Replies: 0
    Last Post: 09-22-2003, 03:56 PM
  4. AutoPlay Media Studio 4.0.0.3 Released
    By Brett in forum AutoPlay Media Studio 4.0
    Replies: 0
    Last Post: 12-11-2002, 08:39 AM
  5. SUF6: Action "write to file" fails
    By SpaceStationAlpha in forum Setup Factory 5.0
    Replies: 1
    Last Post: 11-27-2001, 08:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts