Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 15 of 15

Thread: Opens With ?

  1. #1
    Join Date
    Mar 2010
    Posts
    7

    Opens With ?

    Hi guys

    I'm really new to all this (you could call me a newb....lol ) and am trying to make my first project.


    My question is....

    I've made some buttons that open playlists (.xspf files) but is there a way to set a default program to open them?



    Thanks

  2. #2
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    Yes, I've posted the lua code a few times and one person took the code & made it a plugin -- give the forums a search.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  3. #3
    Join Date
    Mar 2010
    Posts
    7
    Quote Originally Posted by jassing View Post
    Yes, I've posted the lua code a few times and one person took the code & made it a plugin -- give the forums a search.


    Thanks for the quick reply


    Ill have a look for it but.....


    What exactly is the lua code? ....lol


    Thanks again

  4. #4
    Join Date
    Mar 2010
    Posts
    7
    Hi again

    I think I've just found the plugin here:

    http://www.indigorose.com/forums/showthread.php?t=29147


    But i cant get it to work .


    I've copied all the files into the plugins folder located in C:/program files/...


    Am i doing something wrong

  5. #5
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    You'll have to deal with the author for the plugin help.
    "the lua code' is what you'd use in your ams project to set the extension to program link (ie: click on <this> and open <that>)


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  6. #6
    Join Date
    Mar 2010
    Posts
    7
    Quote Originally Posted by jassing View Post
    You'll have to deal with the author for the plugin help.
    "the lua code' is what you'd use in your ams project to set the extension to program link (ie: click on <this> and open <that>)
    Thanks again for your quick reply


    Have i installed the plugin correctly?

    Or should i say is that how you install plugins in autoplay media?




  7. #7
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,863
    Quote Originally Posted by autoply View Post
    Have i installed the plugin correctly?

    Or should i say is that how you install plugins in autoplay media?

    they go in their own folder in c:\program files\autoplay menu studio 7.0\plugins\actions\


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  8. #8
    Join Date
    Mar 2010
    Posts
    7
    Thanks again you really have been a big help

    The reason the plugin wasn't loading was because i put it in c:\program files\autoplay media studio 7.0\plugins folder and not in the c:\program files\autoplay media studio 7.0\plugins\actions folder


    When I've loaded up autoplay media studio i click "project" then "plugins" and put a tick next to the filter but i cant see anything new.


    Where should i see the extra options ?


    I thought it would be in the "quick action" but i cant see anything :-(

  9. #9
    Join Date
    Mar 2010
    Posts
    7
    Anyone

  10. #10
    Join Date
    Mar 2010
    Posts
    7

    Huh?

    Still

  11. #11
    Join Date
    Oct 2009
    Location
    127.0.0.1
    Posts
    279
    They will show up in your actions list that comes up when you press "Add Action" in your script editor. I would suggest reading the manual and then the plugin help. Open AMS and press F1, then press actions to see how AMS uses actions. You can also search this forum for custom file extensions. There are a few examples you will be able to use. If you get stuck post your code and we will be glad to assist you further.
    There are 10 types of people in the world: those who understand binary, and those who don't.

  12. #12
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    For the easy way out you can use the Project Action Plugin.

    And I agree with Scriptonite, read the manual. Familiarize yourself with the basics of AMS and also take advantage of the forum search function.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

  13. #13
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Quote Originally Posted by autoply View Post
    My question is....
    I've made some buttons that open playlists (.xspf files) but is there a way to set a default program to open them?
    Quote Originally Posted by autoply View Post
    I think I've just found the plugin here:
    http://www.indigorose.com/forums/showthread.php?t=29147
    That plugin is not going to help you setting a default program, that plugin was designed
    for L-OOP handling the AMS objects, not for setting a default program
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  14. #14
    Join Date
    May 2007
    Location
    Sydney, Australia
    Posts
    1,546
    Default program setting can be achieved more simply & directly through the Registry.SetValue function. A quick search of Google will inform you as to which registry-key you need to be dealing with.

  15. #15
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    Quote Originally Posted by mystica View Post
    Default program setting can be achieved more simply & directly through the Registry.SetValue function. A quick search of Google will inform you as to which registry-key you need to be dealing with.
    Or by using Project.Associate();.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

Posting Permissions

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