PDA

View Full Version : Opens With ?



autoply
03-08-2010, 10:31 AM
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 :yes

jassing
03-08-2010, 10:33 AM
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.

autoply
03-08-2010, 10:53 AM
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 :yes


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


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


Thanks again ;)

autoply
03-08-2010, 11:17 AM
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 :rolleyes

jassing
03-08-2010, 11:55 AM
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>)

autoply
03-08-2010, 12:01 PM
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?



:huh

jassing
03-08-2010, 12:46 PM
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\

autoply
03-08-2010, 01:14 PM
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 :rolleyes


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. :huh


Where should i see the extra options ?


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

autoply
03-09-2010, 08:21 AM
Anyone :huh

autoply
03-27-2010, 08:50 PM
Still :huh

Scriptonite
03-27-2010, 10:00 PM
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. :yes

Centauri Soldier
03-27-2010, 11:10 PM
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.

Imagine Programming
03-28-2010, 02:20 AM
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?



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 :)

mystica
03-28-2010, 12:46 PM
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.

Centauri Soldier
03-28-2010, 03:17 PM
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();.