Problem when adding menu item

Hi all

I'm working on a plugin for adobe illustrator CS6 using adobe CS6 SDK. By using this plugin, I need to add a naked me in file Menu of Adobe Illustrator.

I used the following code to it:

______________________________________________________________________________

SPBasicSuite * mBasic = message-> d.basic;

AIMenuSuite * sAIMenu;

mBasic-> AcquireSuite (kAIMenuSuite, kAIMenuVersion, (const void *) & sAIMenu);

SPPluginRef plugin;

AIPlatformAddMenuItemDataUS menuData;

AIPlatformAddMenuItemDataUS pluginMenuData;

const char * menuGroupCStr = "MyGroup";

const char * menuCStr = "Menu"... » ;

const char * pluginCStr = "MMMEEENNNUUU";

menuData.groupName = kEditMenuGroup;

menuData.itemText = ai::UnicodeString (menuCStr);

pluginMenuData.groupName = menuGroupCStr;

pluginMenuData.itemText = ai::UnicodeString (pluginCStr);

const char * Key = NULL;

Options AIMenuItemOption = kMenuItemIsSeparator;

AIMenuItemHandle * menuItem;

AIErr err is sAIMenu-> AddMenuItem (message-> d.self, NULL, & menuData, 0,) & g-> showMenuIte m.;

So goto (error);

______________________________________________________________________________

But I have nothing output. Can anyone of you please suggest me what should I do in this code.

Hello Shyam,

you are using CS4, right.

I did it with this.

If you want to add a custom menu just download AI SDK CS4 and MenuPlay available in the following project.

I don't think that after using we needed no help.

If necessary, please update the post I will help you for sure.

Concerning

Hard

Tags: Illustrator

Similar Questions

  • Adding menu items to Contacts

    I have an application that I want to add to the Contacts Menu using MENUITEM_ADDRESSBOOK_LIST. In the Simulator, I run the application and it adds to the menu (using the example code for the function t.test with). Whenever I run it, it adds another instance of the menu item. Now the questions:

    (1) the user should click on this app to add it to the menu?

    (2) what happens when the device is restarted? They will have to run the application again to add it to the menu yet?

    (3) how can I determine that menuitem has already been added and not keep adding every time that the application runs?

    Thanks for the help

    You must configure your application as an application 'auto start' (see the project properties in the JDE).

    You have two entry points - the "automatic" Startup entry point and the GUI entry point.

    You will add your menu item in the "automatic" startup code

    See this link:

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800901/How_To_-_Confi...

    There is also an example of this in the developer's guide.

  • View submenu items and stay showed when the menu item is selected

    The documentation is not clear with my question and some videos are not up-to-date.

    Let's say I have 3 menu items, A, B, C with 2 elements submenu under B (B-1 and B-2). When I mouse over B, I see 2 submenu items. When I click on B and select the B-1 or B - 2 submenu item, the corresponding page is displayed but I wish that the submenu to stay visible until I select another menu as A or C. How can I do? Thank you.

    This is the default behavior, you must customize this or you can use compositions for the creation of menu where hide none can be configured for the target container.

    Thank you

    Sanjit

  • Problem when adding new column on table with report form

    Hello

    I have a form on table (either emp) with report(select_empno,ename,job_from_emp).i have insert, update, delete operations on the table.

    Now I added a new column DOB for alteration report emp.i sql query to show the new column altered report.i insert process (Block anonymous plsql) to insert this column too all by creating a new row.but the problem is with update.i am not able to find how to upgrade this new column while doing the update to line level.

    pls let me know if you can give some ideas on this.


    Kind regards
    CK

    Well, sorry for sounding terse.

    I have a few questions.

    Have you added the item to the form page and associated with the database column?
    You use your own PL/SQL page process to update or do you use the 'row emp process' process produced auto?
    If it's your own please send the code with the word {noformat}

    {noformat} (with the curly brackets and in lower case) above and below it. Your code should be formatted like this once you've hit post message:
    

    BEGIN

    NULL;

    END;

    Cheers
    
    Ben                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
    
  • menu of hyperlink is displayed when text is selected, not when the Menu item is selected. And of course does not display the available links. Where I'm wrong?

    Try to make hyperlinks in a menu item. If I select the menu item, the menu of hyperlinks is not displayed in the menu bar. If I click on new and then the tex in the link is selected, the hyperlink menu appears but the drop down menu does not offer the available links. Where I'm wrong?

    I think you use a menu by default on the page?

    It's design of menu by default, because they are already linked with the respective pages that you can't change.

    You can try to create the menu manual.

    Thank you

    Sanjit

  • Constant ApplicationPermissions for adding menu items

    What constant in ApplicationPermissions handles items menu added to the native BlackBerry applications?

    Too bad. ApplicationPermissions.PERMISSION_CODE_MODULE_MANAGEMENT seems to work quite well.

  • Problem when adding a photo of fireworks in Dreamveaver

    Hello

    I am new to Adobe products, but like them a LOT.

    However, I have a problem.

    I have a picture that I dealt in Fireworks CS4: I added a vector Auto mask (gradient to transparency).

    I am now trying to export this picture so transparency is maintained but not luck. I tried gif Adaptive transparency index or transparency alpha without good result.

    When I add to Dreamweaver CS3 (using the < Img > tag) my photo, it has instead a white finish (where transparency should by).

    I wonder that if someone can point me in the right direction - any idea is appreciated.

    Thank you

    Carly

    Hello

    PZ is correct, png is the best option, but you should be forwarned that a .png format maintains 'alpha/transparency' to a bit of a cost: it is usually a MUCH larger file in download size. You assign attributes in Fireworks, experiment a bit and set the 'slice' that you want and check the differences in the size of output file to compare the difference between .gif, .jpg, and .png. If it is a single image, and small enough, I would not be too concerned, but consider the time of collective download of ALL your images and data that you create your page - it is possible to integrate your background color of your image, it would likey be a better choice to choose .jpg or .gif format, if the time to download on your page is a concern. In addition, lowest for .png file size is reduced, but will usually create a white border around the silhouette - high will make a large transparent image (including the edges soft and melted), but will generate a file size that is much more important to choose wisely as you design your page...

    Hope that helps,

    Jesse

  • Firefox 9.0.1, Application JavaScript error on adding menu item? Dictionary and directory of fonts.

    Firefox can operate normally and load pages normally, but does this affect it on anything with Firefox?

    They have developed whenever I load Firefox, and clicking on the 'OK' button on each of them, Firefox will load.

    I have screencaps of it, http://imgur.com/a/nZUn5#2

    Other information:
    Add - ons, I was running are Ad Block Plus 2.0.3 Ad Block Plus pop up edition 0.3, 0.9.10 download status bar, element hiding Helper for Ad Block Plus shortcuts 1.2.1 Google 2.1.8.1, JavaQuick Starter 1.0, Microsoft .NET Framework Assistant 0.0.0 Print Edit 7.1 QuickDrag 2.1.3.21, QuickFox Notes 2.7.1 ReminderFox 1.9.9.5, TableTools2 1.15, pilot test 1.2 and 20111107 WOT.
    In addition, icons QuickFox Notes disappeared when I loaded Firefox when the problem occurred.

    If this problem has already been addressed in some way, please link to the article/post/page, on which it can be found.
    Thank you for your time.

    You can try to reset the preferences via the starting window of the Save mode.

    • Help > restart with disabled modules

    Create a new profile as a test to see if your profile is the source of the problems.

    See "basic troubleshooting: a new profile:

    There may be extensions and plugins installed by default in a new profile, so check that in "tools > Modules > Extensions & Plugins" in case there are still problems.

    If this new profile works then you can transfer files from the old profile to the new profile, but make sure not to copy corrupted files.

    See:

  • Problem when adding 1 GB memory of my Satellite M60-103

    My satellite, running windows XP, became too slow; He had only 512 Meg of memory so a technician added 1 gb module, which gives a total 1.5 GB of memory.
    But since then I get from time to time problems with for example, touchpad and sometimes a blue screen with large print; in other words: the satellite is functional but is not stable.
    Is it because they put too much memory? say they have o replace the existing module and not add one more?
    Thks or your help.
    I'm not a technician, so please try to answer in simple English user

    It is certainly not too because your laptop model can manage with 2 GB of RAM.
    Can you tell us what module memory 1 GB is inside (specification and brand)?
    There may be a compatibility issue.

    Compatible with 1 GB of RAM for this model of laptop ha PA3411U-1M1G part number.

  • Problem when adding a sensor to IDS MC

    Hi all

    Any body has encountered the problem I'm facing here? I add 4 sensors to my MC IDS (2.2) and I get an error message when I tried to add the third argument, I clicked on (see the message) and I got the output attached... Please tell us how can I troubleshoot/fix this problem...

    Appreciate your cooperation...

    Concerning

    Regenerate the certificate of the probe. Usually, it is because the certificate of the probe has expired. Then return to IPS MC and add the sensor.

    For sensor 5.x through IDM:

    Configuration > Configuration sensor > Certificates > certificate server

    Click on generate the certificate

    For sensor 4.x through IDM:

    Device > sensor configuration > certificate > generate certificate of host

    Click on apply for sensor

  • SCSI address and null field problems when adding disks

    I had a spreasheet and requires up to 6 drives to be added to a list of virtual machines.

    vmname hdd1, hdd2, hdd3, hdd4, and hdd5, hdd6. I then want to run another command if hdd2 is lets say its to return "two disc exists."

    HDD1 must always be mapped to scsi 0:3.

    HDD2 must always be mapped to scsi 0:4 etc..

    but some time ago a hdd1 and a hdd3 and hdd6 but no hdd2 or hdd 4.

    I have two problems

    I don't know how to make sure the player is assigned to writing scsi address.

    I know how to do or not to do things if the fields are null or not.

    Help, please.

    You can specify a SCSI nummer if you add a drive hard using the vSphere API:

    $spec = New-Object VMware.Vim.VirtualMachineConfigSpec
    $spec.deviceChange = New-Object VMware.Vim.VirtualDeviceConfigSpec[] (1)
    $spec.deviceChange[0] = New-Object VMware.Vim.VirtualDeviceConfigSpec
    $spec.deviceChange[0].operation = "add"
    $spec.deviceChange[0].fileOperation = "create"
    $spec.deviceChange[0].device = New-Object VMware.Vim.VirtualDisk
    $spec.deviceChange[0].device.key = -100
    $spec.deviceChange[0].device.backing = New-Object VMware.Vim.VirtualDiskFlatVer2BackingInfo
    $spec.deviceChange[0].device.backing.fileName = ""
    $spec.deviceChange[0].device.backing.diskMode = "persistent"
    $spec.deviceChange[0].device.backing.split = $false
    $spec.deviceChange[0].device.backing.writeThrough = $false
    $spec.deviceChange[0].device.backing.thinProvisioned = $false
    $spec.deviceChange[0].device.backing.eagerlyScrub = $false
    $spec.deviceChange[0].device.connectable = New-Object VMware.Vim.VirtualDeviceConnectInfo
    $spec.deviceChange[0].device.connectable.startConnected = $true
    $spec.deviceChange[0].device.connectable.allowGuestControl = $false
    $spec.deviceChange[0].device.connectable.connected = $true
    $spec.deviceChange[0].device.controllerKey = 1000
    $spec.deviceChange[0].device.unitNumber = 5
    $spec.deviceChange[0].device.capacityInKB = 1048576
    
    $vm = Get-VM -Name MyVM
    $vm.ExtensionData.ReconfigVM_Task($spec)
    

    The above code adds a hard drive with number 5 on the SCSI to a virtual machine called MyVM. The line:

    $spec.deviceChange[0].device.unitNumber = 5
    

    sets the number of SCSI to 5. A value of 0 in the number 0 SCSI: 5 is defined by the SCSI controller. So if you have a SCSI controller then the first number will always be 0.

    I don't know what you mean with "I know not how to do or not to do things if the fields are null or not.".

  • Did anyone see a problem when you drag items from first from one monitor to the other with the windows which distort?

    When you drag the window of creative for a monitor to another false windows showing a trail of the toolbars at the bottom of the page. The window does not appear correctly until you press ctrl + alt + del. Anyone have any suggestions on this subject? First Adobe and the GPU driver is up to date. There are no onboard graphics on this computer, only the nvidia gtx 760.

    Downgrading to 340.52 driver solves the problem.

  • Problem when adding 2nd host in Iscsi storage shared

    Hello people.

    I'll try to explain exactly my problem even if it is a little difficult liitle!

    First of all, we are talking about a test environment that is installed in my house just for learning purposes.

    I am facing a strange my iscsi storage behavior when trying to join a second host to storage vmotion purposes. I was using an Esx host (3.5) for a while and I had no problem with the iscsi storage (I use an old pc with freenas on it). I must say that I got lucky, also, local sata controllers have been recognized so I could test the Storage Vmotion between two storages (Commons and iscsi) with success in this host.

    To continue to learn, I decided to also buy another pc to test Ha cluster, Vmotion, DRS. Unfortunately, I couldn't find the same material and who as well as sata controllers do not to be recognized, so I used a disk ata for OS and my intention was to use for the volume vmfs3 iscsi storage.

    In the first host esx I used, you can see 3 storage adapters: vmhba32 vmhba33& gt; Controllers local sata,34vmhba& gt; initiator iscsi software

    In the second esx host, you can see only the vmhba32- & gt; the iSCSI Software initiator.

    The first time everything worked ok, which means that I have attached iscsi storage in host the2nd by rescaning the vmhba and I was able to browse the datstore and see the contents of it, but it lasted only 10 minutes. Then suddenly I lost the connection to common storage to both hosts, I could see in the section maps of storage, but when I pressed update in the storage section, nothing happened and even when I tried to add it using the add storage I received the message usual "cannot read the partition table information. After being a little more careful I noticed that in the section storage cards, I could see the same vmhba34 in the two hosts with the same alias to the host of the first, and here's the strangest part, the situation I described above has been changing from time to time, which means that a few times I have seen the vmhba32 in both hosts and after some time vmhba34 in both hosts! (crazy)

    I took the big decision after playing with the partition table, without effect to use the ' vmkfstool - C vmfs3 s ' _free "_ / vmfs/devices/disks/vmhba32: 0:0:1" command

    in the second host, of course, I lost all data, but now with a simple refresh in this host, I was able to see the storage.

    Unfortunately, I still couldn't ' 1 host storage access and I published the same command "vmkfstool - C vmfs3 s"free"" / vmfs/devices/disks/vmhba34: 0:0:1 ""

    with only the change you see in bold. Accordingly, it was to see the storage after a refresh with free (1) name.

    Now he is currently working for 2 days with this way not recommended and what I would be really grateful if could help me clarify what exactly is happening.

    My main problem is that I am in front of a very unstable environment that might as well have the same unexpected problem in the future and I can't reformat always storage and loss of all virtual machines

    I tried to describe the best I could to this strange situation!

    Thank you for your time and any help or advice would be most welcome!

    I was looking for a similar solution. Seems to be the only iSCSI host is possible on freeNas. See here: http://apps.sourceforge.net/phpbb/freenas/viewtopic.php?f=53&t=403&sid=f4881e6e25e752e6ee8c6b0eae5887d3

    The only solution for learning seems to be to install the server ESX or ESXi in a virtual machine and then use iSCSI. Vm Instructions to complete the installation here (you must all PDFs 6) http://knowledge.xtravirt.com/white-papers/esx-3x.html or you can replace the opnefiler by the SUN's VM iSCSI. http://www.sun.com/storage/disk_systems/unified_storage/resources.jsp , you must use the vmware converter to convert the SUN's virtual to be used in ESX machine found this in a forum... but can not find more URL. I have not tried myself but, looking for just because you want to get a similar setup.

    Wolfgang

  • problem when adding a new row to the table.

    Hello

    I have a table in my ADF form. and when I click on CreateInsert adds a new to the table, but the premiere. I want that all the new lines to be added at the end of the table in a sequence. How can I do this?...


    Thank you and best regards,
    Helene

    Hello

    Try this:

    DCIteratorBinding dciter;
    BindingContainer links is BindingContext.getCurrent () .getCurrentBindingsEntry ();.
    dciter = bindings.get ("findAllTestAndryIter") (DCIteratorBinding);
    ViewObjectImpl vo = dciter.getViewObject ();
    If (vo! = null)
    {

    Line = vo.createRow ();
    int rangeSize = vo.getRangeSize ();
    int rowsInRange = vo.getAllRowsInRange () .length;
    int insertPos = rowsInRange< rangesize?="" rowsinrange:="" rangesize="" -="">
    vo.insertRowAtRangeIndex (insertPos, line);
    vo.setCurrentRow (row);
    }

  • Facing a problem when adding favicon.ico on demand at apex5

    Hello

    I mentioned this blog ORACLE BRAINS: ADDING a FAVICON to APEX to add favicon. But I'm not able to change the appropriate line in the header definition in the model (filtered per page), as it cannot be changed.

    It shows as 'this model is subscribed to the matching templates in the main theme. To change this model, change the main master page and then refresh the theme. You can also create a local copy cancelled this model. Unsubscribed models can be modified and will not be overwritten by an update of the theme." " So, how can I find the main theme and change?

    Please help me on this.

    Hi ThiliBu,

    ThiliBu wrote:

    I mentioned this blog ORACLE BRAINS: ADDING a FAVICON to APEX to add favicon. But I'm not able to change the appropriate line in the header definition in the model (filtered per page), as it cannot be changed.

    It shows that "this model is subscribed to the matching templates in the main theme. To change this model, change the main master page and then refresh the theme. You can also create a local copy cancelled this model. Unsubscribed models can be modified and will not be overwritten by an update of the theme. "So, how can I find the main theme and change?

    Please help me on this.

    Using universal theme with Oracle APEX 5? If so, the blog you mentioned is suitable for older versions of Oracle APEX, with 5 APEX, you must follow the following blog to add favicon to your application.

    Reference:- APEX 5.0: Favicon customized for Applications using the universal theme | Inside Oracle APEX by Patrick Wolf

    Kind regards

    Kiran

Maybe you are looking for