PDA

View Full Version : Action Plugin: PopupMenu



Brett
11-19-2003, 09:19 PM
I have released a new action plugin called PopupMenu. It allows you to display popup menus from within your AutoPlay Media Studio 5.0 Professional applications.

http://www.icynorth.com/popupmenuplugin/popup_menu_ss.jpg

There is a trial version and more information about the plugin available on the Icy North Web site (http://www.icynorth.com/popupmenuplugin).

Corey
11-19-2003, 09:37 PM
Kewl.

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

rhosk
11-20-2003, 03:40 AM
Could this be implemented anywhere (ie, the system tray icon??)? Great stuff!

Brett
11-20-2003, 05:08 AM
No, I do noth think that it would work for the system tray icon. It is really meant to work within the AutoPlay application's Window. The system tray is another beast altogether.

CyberRBT
11-23-2003, 08:03 PM
Brett:

I am interested in your popup menu plug-in. However, your alternate site does not have a secure order form. Where can i order this product online securely?

BTW, i recall reading a post recently elsewhere in this forum about AMS extending beyond it's original branding. This seems to validate a comment i'd made to you (in a reply regarding the new web control).

There is such an enormous number improvements and new additions (along with a handful missing or downgraded features) ... and there are so many new possibilities for RAD front-ends that i'd like you to consider my vote for a new product name too.

With a branded zingy product name descriptive of what 5.0 can now do and a marketing blitz (along with the current word-of-mouth marketing), i'd bet you guys could more than triple sales within a year. You could even enlist voting in the forums for the new name starting with version 5.x or 6.0.

Anyway, thanks for your help (to the question in the 1st paragraph).

Brett
11-23-2003, 09:16 PM
Thanks for pointing out the non-secure thing. My mistake. Here is a secure link (http://www.regsoft.net/purchase.php3?productid=64352)

Corey
11-23-2003, 09:22 PM
No one here would complain about a tripling of sales this year. :)

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

CyberRBT
11-24-2003, 03:22 AM
Thanks for the secure link.

You guys SURE do reply quickly.

Ordered your PopupMenu plug-in: November 24, 2003, 4:34 AM EST.

Thanks

coffeeworm
11-24-2003, 05:20 PM
I Ordered PopupMenu plug-in :Mon, 24 Nov 2003 09:08:36 -0600
:D

Brett
11-24-2003, 08:30 PM
Thanks to both of you. I appreciate the support!

Intrigued
12-30-2003, 09:37 AM
I just ordered your plug-in.

I look forward to purchasing more of your offerings.

Thank you!

Corey
12-30-2003, 11:58 AM
Cool. :)

Corey Milner
Creative Director, Indigo Rose Software (http://www.indigorose.com)

Intrigued
01-12-2004, 06:01 PM
Brett...

I found a nice section in my current project for your PopupMenu plugin. The problem is when I try 800x600 and then 1024x768 resoutions in Kiosk mode a problem arises.

At 800x600 the PopupMenu shows in the proper place (where I coded it to be). At 1024x768 the label seems to be positioned off the top of the screen and not the label.

Is this something easy I am missing or (?)

This has turned into an important object in one of my current projects. If you have a resolution that would be stellar.

Thank you in advance.

Inline AMS 5 Pro code example (from your example):

---------
tblPos = Label.GetPos("Label2");
tblSize = Label.GetSize("Label2");

x = tblPos.X;
y = tblPos.Y + tblSize.Height;

tblMenu =
{
{text="Main Page",type=0,checked=false,enabled=true},
{text="Empty",type=0,checked=false,enabled=true},
{text="Video Page",type=0,checked=true,enabled=false},
};

strSelected = PopupMenu.Show(tblMenu, x, y, PopupMenu.HALIGN_LEFT, PopupMenu.VALIGN_TOP);

if (strSelected ~= "CANCELLED") then
Video.Stop("Video1");
Page.Jump(strSelected);
Page.StopTimer();
end

Brett
01-12-2004, 07:25 PM
The thing there is that the menu is diaplayed relative to the upper-left corner of the Window not the Page. So, in kiosk mode, the top-left (0,0) does not correspond to the coordinates of the label (which is relative to the page's top-left). So, you will have to do a bit of math to figure out the offsets:

tblPos = Label.GetPos("Label2");
tblSize = Label.GetSize("Label2");

-- Your page size here...
nPageWidth = 800;
nPageHeight = 600;
-- Get the system size...
tblDisplayInfo = System.GetDisplayInfo();
-- Figure out offsets...

nOffsetX = (tblDisplayInfo.Width - nPageWidth) / 2;
nOffsetY = (tblDisplayInfo.Height - nPageHeight) / 2;

x = tblPos.X + nOffsetX;
y = tblPos.Y + tblSize.Height + nOffsetY;

tblMenu =
{
{text="Main Page",type=0,checked=false,enabled=true},
{text="Empty",type=0,checked=false,enabled=true},
{text="Video Page",type=0,checked=true,enabled=false},
};

strSelected = PopupMenu.Show(tblMenu, x, y, PopupMenu.HALIGN_LEFT, PopupMenu.VALIGN_TOP);

if (strSelected ~= "CANCELLED") then
Video.Stop("Video1");
Page.Jump(strSelected);
Page.StopTimer();
end

Intrigued
01-12-2004, 07:39 PM
Thanks Brett.

I will work on that straight away.

-

Update:

The popup menu is right on the spot now.

Thank you for taking time out tonight to help me with that. I will file that code section for the next time that comes up.

And then pour over this so that I can remember the steps.

Larze
01-27-2004, 11:56 AM
Brett I just got the popup menu object and installed it but when I go to insert the plugin it is not there. I see all of the powerpack plugins but not the popup menu plugin. What am I doing wrong ya. Do I open it up another way?
Help me ya?

Intrigued
01-27-2004, 05:54 PM
Not to step in for Brett... but to expedite a response back to you.

This plugin is found in the Action Scripting section.

Brett
01-28-2004, 06:37 AM
Check out Project > Plugins... from AMS50's menu. That is where all of the Action plugins are located.