Need assistance creating a LED color changer Application

Hello

I guess I can consider this day 1 of programming with C++ and for Blackberry devices 10 but unfortunately a lot of the syntax seems vaguely similar to Java that I have some experience with.

I am trying to create an application that listens whenever another application on the device requires that the front led as such and allow the user to define static color of the LED when it is activated by a myriad of applications.

So far, I read the API functions includes and have used with success the led_request_color(); function to change the color of the LED when the action as a sliding down is engaged on the touch screen...

Here is the code:

/*
* Copyright (c) 2011-2012 Research In Motion Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#include 
#include 
#include 
#include 
#include 
#include 
#include 

static bool shutdown;

static void
handle_screen_event(bps_event_t *event)
{
    int screen_val;

    screen_event_t screen_event = screen_event_get_event(event);
    screen_get_event_property_iv(screen_event, SCREEN_PROPERTY_TYPE, &screen_val);

    switch (screen_val) {
    case SCREEN_EVENT_MTOUCH_TOUCH:
        fprintf(stderr,"Touch event");
        led_request_color("1", LED_COLOR_BLUE, 1);
        break;
    case SCREEN_EVENT_MTOUCH_MOVE:
        fprintf(stderr,"Move event");

        break;
    case SCREEN_EVENT_MTOUCH_RELEASE:
        fprintf(stderr,"Release event");
        led_request_color("1", LED_COLOR_RED, 1);
        break;
    default:
        break;
    }
    fprintf(stderr,"\n");
}

static void
handle_navigator_event(bps_event_t *event) {
    switch (bps_event_get_code(event)) {
    case NAVIGATOR_SWIPE_DOWN:
        fprintf(stderr,"Swipe down event");
        break;
    case NAVIGATOR_EXIT:
        fprintf(stderr,"Exit event");
        shutdown = true;
        break;
    default:
        break;
    }
    fprintf(stderr,"\n");
}

static void
handle_event()
{
    int domain;

    bps_event_t *event = NULL;
    if (BPS_SUCCESS != bps_get_event(&event, -1)) {
        fprintf(stderr, "bps_get_event() failed\n");
        return;
    }
    if (event) {
        domain = bps_event_get_domain(event);
        if (domain == navigator_get_domain()) {
            handle_navigator_event(event);
        } else if (domain == screen_get_domain()) {
            handle_screen_event(event);
        }
    }
}

int
main(int argc, char **argv)
{
    const int usage = SCREEN_USAGE_NATIVE;

    screen_context_t screen_ctx;
    screen_window_t screen_win;
    screen_buffer_t screen_buf = NULL;
    int rect[4] = { 0, 0, 0, 0 };

    /* Setup the window */
    screen_create_context(&screen_ctx, 0);
    screen_create_window(&screen_win, screen_ctx);
    screen_set_window_property_iv(screen_win, SCREEN_PROPERTY_USAGE, &usage);
    screen_create_window_buffers(screen_win, 1);

    screen_get_window_property_pv(screen_win, SCREEN_PROPERTY_RENDER_BUFFERS, (void **)&screen_buf);
    screen_get_window_property_iv(screen_win, SCREEN_PROPERTY_BUFFER_SIZE, rect+2);

    /* Fill the screen buffer with blue */
    int attribs[] = { SCREEN_BLIT_COLOR, 0xff0000ff, SCREEN_BLIT_END };
    screen_fill(screen_ctx, screen_buf, attribs);
    screen_post_window(screen_win, screen_buf, 1, rect, 0);

    char set = 222;

    /* Signal bps library that navigator and screen events will be requested */
    bps_initialize();
    screen_request_events(screen_ctx);
    navigator_request_events(0);

    /* Get Events - This doesn't work */
    if(bps_get_event() == led_get_domain()){
        led_request_color("1", LED_COLOR_BLUE, 0);
    }

    while (!shutdown) {
        /* Handle user input */
        handle_event();
    }

    /* Clean up */
    screen_stop_events(screen_ctx);
    bps_shutdown();
    screen_destroy_window(screen_win);
    screen_destroy_context(screen_ctx);
    return 0;
}

I don't know if I'm doing this right, but I'm trying to get the led_get_domain() function to retrieve the IDS of events LED triggered by other applications? That's why I think that's what I tried to do, but to no avail in the code above:

 /* Get Events - This doesn't work */
    if(bps_get_event() == led_get_domain()){
        led_request_color("1", LED_COLOR_BLUE, 0);
    }

So, I guess I'm a newbie in this and I would appreciate your help and any improvements possible. Thank you!

Accroding to https://developer.blackberry.com/native/reference/bb10/com.qnx.doc.bps.lib_ref/com.qnx.doc.bps.lib_r... you have that one event for LED that is LED_INFO it's just tells you the current state of the LED.

To start to receive this event, you must first call led_request_events().

Tags: BlackBerry Developers

Similar Questions

  • NotificationManagers LED color change

    Hello

    Small question:

    Someone knows how to change color LED in NotificaitonsManager?  Is it possible to use colors other than the default is red?

    Info:

    I'm just using API NotificationManagers simple way: (compile with 4.2.1)

    1. sign up for app in notificationManagers

    2. call the NotificationsManager.triggerImmediateEvent (MY_NOTIFICATIONS_ID_1, 0, Thi, null);

    I looked at the API LED and it does not appear to be linked to the NotificationsManager.

    Thank you

    JChow

    See Notifications demo application shipped with JDE, use LED class methods to change the color of the indication.

  • I need assistance with Adobe (New creative cloud) applications Manager


    I just got the creative cloud today. When I went to install Photoshop it said that he had only to update it. I think I had a previous version installed some time ago, but I have no idea. So, I just went with the update and I thought he'd jump upward in the launch area as an Illustrator has done, but he didn't. I searched through my Mac several times and I can't find anything about Photoshop. Everything I do, I think, it's reinstalling, but I don't know how to do this. Any help is appreciated. Thank you.

    amnv13,

    Welcome to the Adobe community.

    The problem you are experiencing is due to the fact that you had a previous version of the product installed on the system. I would ask you please navigate to utilities > Adobe installers and then remove the product from there, using available to uninstall it. Once you are done with this, redownload AAM and then install Photosop, which should work just fine.

    Kind regards

    Michael Sharma

  • On a flyer, I need to produce black and PMS color. How can I create a PMS color (instead of something on the color wheel).

    On a flyer, I need to produce black and PMS color. How can I create a PMS color (instead of something on the color wheel or RGB)?

    It depends on the application. You use an inDesign application of PAO as Quark XPress, or something else?

    Many consumer apps is not able to output CMYK or specific pantone color combinations.

  • I want to create my menu widget, but I don't know I can has created, I have the french version and request of muse please I need assistance to complete my website

    I want to create my menu widget, but I don't know I can has created, I have the french version and request of muse please I need assistance to complete my website. I want to know so if we create a box of e-mail with muse mail when the site is fully finished and after publication. I need an answer today please. Thank you. God bless you

    Hi Esther.

    If you mean manual creation Menu, then Yes, it is possible. Drag the widget menu a menu, go to the Menu Options and change the Menu Type to manual.

    About the mailbox Muse is a design software. It does not provide the functionality of e-mail. You should check with your hosting provider.

    Kind regards

    Aish

  • I need to create a PDF from InDesign file that people can change in Reader or Acrobat

    I need to create a PDF from InDesign file that people can change (for example, change a name of 'John' to 'Johnny') of Adobe Reader or Adobe Acrobat. I already looked at forms, but they do not keep your police, faces and sizes colors and just do everything is selected as a form of black text, 12pt, Times New Roman.

    Can anyone here help me?

    Vincent,

    If you use Acrobat pro, build your .pdf file, and then save it as (french version):

    ... so that everyone using Acrobat Reader (or Pro, of course) can change the file .pdf (with restrictions), add comments...

    If you want to try to 'protect' your .pdf file, you can try with this (in the menu 'Preferences' (french version)):

  • I need to create a table of contents in iPages but I want only one word for the title, not the line of holes. Or, how can I change the contents of the table? Thank you!

    I need to create a table of contents in iPages but I want only one word for the title, not the line of holes. Or, how can I change the contents of the table? Thank you!

    Yes, you can have a one word title, by assigning a paragraph style title to this one word. No, you cannot change the text in a Table of contents, but you can change paragraph style font attributes (line) and add for example, a head of points between the types of OCD paragraph and page numbers. No part of the table of contents will not provide hyperlinks in exported PDF documents.

    When you look up in the menu bar, you can see the word iPages, or simply Pages. There is no product of iPages.

  • Hello, I want to make an outline of the text that I created.  I started with a blue background.  Then, I created a text and changed the color of gold.  I then put on an image and used the clipping mask to show the image by the text. Problem

    Hello, I want to make an outline of the text that I created.  I started with a blue background.  Then, I created a text and changed the color of gold.  I then put on an image and used the clipping mask to show the image by the text. Problem is it gets rid of color and shows that the peak through the text.  I wanted a draft of the text with the picture.  Is this possible?

    Thank you

    Peter

    You're welcome, Peter.

  • I use the color picker to select a background color, then try to create a new document using this background color. The appearance of the color changing at this time. It is a new problem. I have successfully used the procedure several times in the p

    My background color changes when I try to apply it. I put the color using the color picker. Then I try to create a new document with the same background color. But that change of a very different color. What I am doing wrong? I've used the previous procedure, several times, without this problem.

    The new document has a different color profile. Make sure that they are the same.

    The same result of RGB numbers in different colors in different color spaces. Or in other words, the color space defines the specific color produced by a certain set of numbers.

  • I need assistance in the import of certain vectors, watercolor color chart and other creative market (step by step instructions).  Im a newbie to Illustrator and need help.

    I need assistance in the import of certain vectors, watercolor color chart and other creative market (step by step instructions).  Im a newbie to Illustrator and need help.

    Should be the subject of the file > open.  After the download.  The swatches will come with the file.

  • I need to create new mobileprovision CERT for a rejected application?

    Hello.  With the help of DPS that I created an application. According to the adobe guide, I managed to follow the steps to create the certificates and download, although this was rejected.

    I created a revised version of the app (technically a new folio) and I would like to submit to Apple. I know that I can use the same certificates of development and distribution P12. But for the mobileprovision file I have to create new ones if I submit it as a single application? Also, the last time I had the App ID I got iTunes Connect, I need to create a new?

    Thank you.

    No, you can use the same certs, App ID and mobileprovision file when you re - introduce the new version of the app.

  • Application of color change to multiple layers at once, all chosen by some tag they would share

    Hello world

    When you work on a web template, sometimes I want to change the colors of all the titles at once. I have various web pages (about, contact, blog, etc.) of each in its own layer group. It is very difficult to choose all topics - I need to open all layer groups and search specifically for headers.

    If I could put a label on each topic, and then apply a color change unique to all layers with this label, it would make things so easy?

    Did something like that exist currently in Photoshop?

    I guess that you have linked the 'bbb' and 'aaa' SO THEN in the layers panel so that they have a small icon of the chain. Who will bind only the layers SO for travel and transformations. There is no link between the content of the two re. Alteration of the content of one will affect the other. (Several SOs may be cases where a change to one appear throughout, but it's another scenario to you where the SOs contain different elements.)

    CS6 has paragraph and character Styles, Styles allowing you to the tag type, so it is easy to change a type attribute such as color in all positions, at the same time.

  • the XML reader - need assistance to change the script, please help

    Hi all, I don't know if this is the right place for this question but I want to change a xml flash drive so that it creates the playlist with the name I want and not the default. Some can tell me please how to change this so that when the player has found songs in the "my_mp3s" folder it creates a named xml playlist

    'mymusic.xml ' instead of the default "audioplaylist.xml".  I tried to edit the script of the player's actions and overwrite changes but it still does not work, here is the code please help. I found this script online.

    Thank you

    Stop();

    / * ALL BUTTONS BELOW ARE MARKED FOR EDITABLE AND DON'T CHANGE, BUT IF YOU KNOW WHAT YOU ARE DOING
    THEN YOU CAN ACTUALLY CHANGE WHAT YOU WANT BUT FOR THIS APP WORKS CORRECTLY ONLY CHANGE IF NECESSARY
    ENTRIES... ONCE YOU HAVE MADE YOUR CHANGES, COPY AND PASTE THIS ENTIRE SCRIPT PAGE IN
    THE FIRST IMAGE OF THE SCENARIO THAT HE RIGHT THE SCRIPT THATS ALREADY THERE.
    The button labels for the XML READER text * /.
    SIDE MENU BUTTONS\\\
    Btn1.buttText.ButtonText.text = "DOWNLOAD FILES"; DO NOT CHANGE
    btn2.buttText.ButtonText.text = "SYSTEM VOLUME"; DO NOT CHANGE
    btn3.buttText.ButtonText.text = 'EDIT PLAYLIST XML'; DO NOT CHANGE
    btn4.buttText.ButtonText.text = "BURN CD"; DO NOT CHANGE
    btn5.buttText.ButtonText.text = "CREATE a FOLDER"; DO NOT CHANGE
    btn6.buttText.ButtonText.text = 'DELETE FILE'; DO NOT CHANGE
    btn7.buttText.ButtonText.text = "CDROM OPEN"; DO NOT CHANGE
    btn8.buttText.ButtonText.text = 'OPEN DVD'; DO NOT CHANGE
    btn9.buttText.ButtonText.text = "FTP CLIENT"; DO NOT CHANGE
    btn14.buttText.ButtonText.text = "VIEW PLAYLIST"; DO NOT CHANGE
    btn23.buttText.ButtonText.text = "INFO"; DO NOT CHANGE
    btn25.buttText.ButtonText.text = 'HELP '; DO NOT EDIT
    btn26.buttText.ButtonText.text = 'HELP MDM'; DO NOT CHANGE
    LOW BTNS
    btn19.buttText.ButtonText.text = "OPEN TRAY"; DO NOT CHANGE
    btn20.buttText.ButtonText.text = 'CLOSE CD TRAY'; DO NOT CHANGE
    btn21.buttText.ButtonText.text = "OPEN DVD TRAY"; DO NOT CHANGE
    btn22.buttText.ButtonText.text = "CLOSE DVD TRAY"; DO NOT CHANGE

    Here ARE the FUNCTIONS THAT CAN BE CHANGED, BUT THAT THOSE BRAND 'YOU CAN CHANGE this PATH' are sure to change
    MY DOWNLOAD FILES
    Btn1.onRelease = function() {}
    MDM. Dialogs.BrowseFile.filterList = "MP3 files | * .mp3 ';
    MDM System.exec ("E:\\My Music\\").    Path to the download of the file //YOU CAN CHANGE THIS path
    }
    SYSTEM VOLUME / / / DO NOT CHANGE
    btn2.onRelease = function() {}
    MDM. System.exec("sndvol32.exe");    System volume .exe
    }
    EDITING XML PLAYLIST / / / DO NOT CHANGE
    btn3.onRelease = function() {}
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\audiolist2.xml");    XML list
    }
    BURN CD / / YOU CAN CHANGE THIS PATH
    btn4.onRelease = function() {add your way here to your burning nero for example software
    MDM. System.exec (MDM. System.Paths.programFiles+"Nero\\nero.exe");
    }
    CREATE FOLDER / / / DO NOT CHANGE
    btn5.onRelease = function() {}
    MDM FileSystem.makeFolderUnicode ("C:\\Program Files\\Mgamerz\\Burn").    Creates a working folder for burning mp3s
    }
    DELETE FOLDER / / / DO NOT CHANGE
    btn6.onRelease = function() {///Deletes working folder if you want to remove it
    MDM. FileSystem.deleteFolder ("C:\\Program Files\\Mgamerz\\Burn", "ask", "Are you sure");
    }
    OPEN CDROM / / YOU CAN CHANGE THIS PATH
    btn7.onRelease = function() {///Opens change of cdrom drive letter to match your pc
    MDM System.exec("I:\\."); "
    }
    OPEN DVDROM / / YOU CAN CHANGE THIS PATH
    btn8.onRelease = function() {///Opens changing the letter to match your pc dvdrom drives
    MDM System.exec("I:\\."); "
    }
    FTP CLIENT / / YOU CAN CHANGE THIS PATH
    btn9.onRelease = function() {///File path to your ftp software (I use here the cover page)}


    MDM. System.exec (MDM. System.Paths.programFiles + "Microsoft FrontPage Bar\\Office\\Microsoft Office\\Office10\\Shortcut"); "
    }
    Buttons in the header at the top

    DRIVE C: / / / DO NOT EDIT
    btn10.onRelease = function() {///Opens to the top of drive c: for navigation
    MDM. System.exec (MDM. System.Paths.programFiles+"\\");
    }
    * btn11.onRelease = function() {///Opens to the top of the unit for navigation
    MDM System.exec("D:\\."); "    YOU CAN CHANGE THIS PATH
    }*/
    MY DOCUMENTS / / / NOT EDIT
    btn12.onRelease = function() {///Opens my documents for navigation}
    MDM. Dialogs.BrowseFile.filterList = "MP3 files | * .mp3 ';
    MDM. Dialogs.BrowseFile.show ("my Documents\\");
    }
    MP3 FILE / / / DO NOT CHANGE THE
    btn13.onRelease = function() {//main directory for mp3 files
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\my_mp3s\\");
    }
    VIEW PLAYLIST / / / DO NOT CHANGE
    btn14.onRelease = function() {///View playlist as a text file
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\my_mp3s\\mp3.t xt");
    }
    UPDATE XML FILE / / / DO NOT CHANGE
    btn15.onRelease = function() {///Creates xml playlist once new mp3s have been added
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\audiolist2.xml");
    }
    MINIMIZE BUTTON
    * btn16.onRelease = function() {//Minimizes application
    MDM. Application.Minimize (///DO) NOT EDIT
    }*/
    CLOSE BUTTON
    * btn17.onRelease = function() {///Closes application
    MDM. Application.Exit ('ask', ' are you sure you want to go out to? ") DO NOT EDIT
    }*/
    SCREEN CAPTURE DEVICE / / / DO NOT CHANGE
    btn18.onRelease = function() {///Screen capture sofdtware
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\apps\\Capture screen Studio\\css.exe");
    }
    OPEN CDROM TRAY / / YOU CAN CHANGE THIS PATH
    btn19.onRelease = function() {}
    MDM System.openCDTray ("I").
    }
    CDROM TRAY CLOSE / / YOU CAN CHANGE THIS PATH
    btn20.onRelease = function() {//Closes cdrom tray
    MDM System.closeCDTray ("I").
    }
    OPEN DVDROM PLATEAU / / YOU CAN CHANGE THIS PATH
    btn21.onRelease = function() {//Opens dvdrom
    MDM System.openCDTray ("H").
    }
    CLOSE TRAY DVDROM / / YOU CAN CHANGE THIS PATH
    btn22.onRelease = function() {//Closes dvdrom plateau
    MDM System.closeCDTray ("H").
    }

    * btn23.onRelease = function() {//DO NOT EDIT
    nextFrame();
    }*/
    HELP / / DO NOT EDIT
    btn25.onRelease = function() {//Closes dvdrom plateau
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\help.exe");
    }
    HELP OF MDM / / DO NOT EDIT
    btn26.onRelease = function() {//Closes dvdrom plateau
    MDM. System.exec (MDM. System.Paths.programFiles + "MDM helps 2.5 file\\MDM 2.5 UserManual.chm"); "
    }

    use:

    / * ALL BUTTONS BELOW ARE MARKED FOR EDITABLE AND DON'T CHANGE, BUT IF YOU KNOW WHAT YOU ARE DOING
    THEN YOU CAN ACTUALLY CHANGE WHAT YOU WANT BUT FOR THIS APP WORKS CORRECTLY ONLY CHANGE IF NECESSARY
    ENTRIES... ONCE YOU HAVE MADE YOUR CHANGES, COPY AND PASTE THIS ENTIRE SCRIPT PAGE IN
    THE FIRST IMAGE OF THE SCENARIO THAT HE RIGHT THE SCRIPT THATS ALREADY THERE.
    The button labels for the XML READER text * /.
    SIDE MENU BUTTONS\\\
    Btn1.buttText.ButtonText.text = "DOWNLOAD FILES"; DO NOT CHANGE
    btn2.buttText.ButtonText.text = "SYSTEM VOLUME"; DO NOT CHANGE
    btn3.buttText.ButtonText.text = 'EDIT PLAYLIST XML'; DO NOT CHANGE
    btn4.buttText.ButtonText.text = "BURN CD"; DO NOT CHANGE
    btn5.buttText.ButtonText.text = "CREATE a FOLDER"; DO NOT CHANGE
    btn6.buttText.ButtonText.text = 'DELETE FILE'; DO NOT CHANGE
    btn7.buttText.ButtonText.text = "CDROM OPEN"; DO NOT CHANGE
    btn8.buttText.ButtonText.text = 'OPEN DVD'; DO NOT CHANGE
    btn9.buttText.ButtonText.text = "FTP CLIENT"; DO NOT CHANGE
    btn14.buttText.ButtonText.text = "VIEW PLAYLIST"; DO NOT CHANGE
    btn23.buttText.ButtonText.text = "INFO"; DO NOT CHANGE


    btn25.buttText.ButtonText.text = 'HELP '; DO NOT EDIT
    btn26.buttText.ButtonText.text = 'HELP MDM'; DO NOT CHANGE
    LOW BTNS
    btn19.buttText.ButtonText.text = "OPEN TRAY"; DO NOT CHANGE
    btn20.buttText.ButtonText.text = 'CLOSE CD TRAY'; DO NOT CHANGE
    btn21.buttText.ButtonText.text = "OPEN DVD TRAY"; DO NOT CHANGE
    btn22.buttText.ButtonText.text = "CLOSE DVD TRAY"; DO NOT CHANGE

    Here ARE the FUNCTIONS THAT CAN BE CHANGED, BUT THAT THOSE BRAND 'YOU CAN CHANGE this PATH' are sure to change
    MY DOWNLOAD FILES
    Btn1.onRelease = function() {}
    MDM. Dialogs.BrowseFile.filterList = "MP3 files | * .mp3 ';
    MDM System.exec ("E:\\My Music\\").    Path to the download of the file //YOU CAN CHANGE THIS path
    }
    SYSTEM VOLUME / / / DO NOT CHANGE
    btn2.onRelease = function() {}
    MDM. System.exec("sndvol32.exe");    System volume .exe
    }
    EDITING XML PLAYLIST / / / DO NOT CHANGE
    btn3.onRelease = function() {}
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\audiolist2.xml");    XML list
    }
    BURN CD / / YOU CAN CHANGE THIS PATH
    btn4.onRelease = function() {add your way here to your burning nero for example software
    MDM. System.exec (MDM. System.Paths.programFiles+"Nero\\nero.exe");
    }
    CREATE FOLDER / / / DO NOT CHANGE
    btn5.onRelease = function() {}
    MDM FileSystem.makeFolderUnicode ("C:\\Program Files\\Mgamerz\\Burn").    Creates a working folder for burning mp3s
    }
    DELETE FOLDER / / / DO NOT CHANGE
    btn6.onRelease = function() {///Deletes working folder if you want to remove it
    MDM. FileSystem.deleteFolder ("C:\\Program Files\\Mgamerz\\Burn", "ask", "Are you sure");
    }
    OPEN CDROM / / YOU CAN CHANGE THIS PATH
    btn7.onRelease = function() {///Opens change of cdrom drive letter to match your pc
    MDM System.exec("I:\\."); "
    }
    OPEN DVDROM / / YOU CAN CHANGE THIS PATH
    btn8.onRelease = function() {///Opens changing the letter to match your pc dvdrom drives
    MDM System.exec("I:\\."); "
    }
    FTP CLIENT / / YOU CAN CHANGE THIS PATH
    btn9.onRelease = function() {///File path to your ftp software (I use here the cover page)}
    MDM. System.exec (MDM. System.Paths.programFiles + "Microsoft FrontPage Bar\\Office\\Microsoft Office\\Office10\\Shortcut"); "
    }
    Buttons in the header at the top

    DRIVE C: / / / DO NOT EDIT
    btn10.onRelease = function() {///Opens to the top of drive c: for navigation
    MDM. System.exec (MDM. System.Paths.programFiles+"\\");
    }
    * btn11.onRelease = function() {///Opens to the top of the unit for navigation
    MDM System.exec("D:\\."); "    YOU CAN CHANGE THIS PATH
    }*/
    MY DOCUMENTS / / / NOT EDIT
    btn12.onRelease = function() {///Opens my documents for navigation}
    MDM. Dialogs.BrowseFile.filterList = "MP3 files | * .mp3 ';
    MDM. Dialogs.BrowseFile.show ("my Documents\\");
    }
    MP3 FILE / / / DO NOT CHANGE THE
    btn13.onRelease = function() {//main directory for mp3 files
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\my_mp3s\\");
    }
    VIEW PLAYLIST / / / DO NOT CHANGE
    btn14.onRelease = function() {///View playlist as a text file
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\my_mp3s\\mp3.t xt");
    }
    UPDATE XML FILE / / / DO NOT CHANGE
    btn15.onRelease = function() {///Creates xml playlist once new mp3s have been added
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\mymusic.xml");
    }
    MINIMIZE BUTTON
    * btn16.onRelease = function() {//Minimizes application
    MDM. Application.Minimize (///DO) NOT EDIT
    }*/
    CLOSE BUTTON
    * btn17.onRelease = function() {///Closes application
    MDM. Application.Exit ('ask', ' are you sure you want to go out to? ") DO NOT EDIT
    }*/
    SCREEN CAPTURE DEVICE / / / DO NOT CHANGE
    btn18.onRelease = function() {///Screen capture sofdtware
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\apps\\Capture screen Studio\\css.exe");
    }
    OPEN CDROM TRAY / / YOU CAN CHANGE THIS PATH
    btn19.onRelease = function() {}
    MDM System.openCDTray ("I").
    }
    CDROM TRAY CLOSE / / YOU CAN CHANGE THIS PATH
    btn20.onRelease = function() {//Closes cdrom tray
    MDM System.closeCDTray ("I").
    }
    OPEN DVDROM PLATEAU / / YOU CAN CHANGE THIS PATH
    btn21.onRelease = function() {//Opens dvdrom
    MDM System.openCDTray ("H").
    }
    CLOSE TRAY DVDROM / / YOU CAN CHANGE THIS PATH
    btn22.onRelease = function() {//Closes dvdrom plateau
    MDM System.closeCDTray ("H").
    }

    * btn23.onRelease = function() {//DO NOT EDIT
    nextFrame();
    }*/
    HELP / / DO NOT EDIT
    btn25.onRelease = function() {//Closes dvdrom plateau
    MDM. System.exec (MDM. System.Paths.programFiles+"Mgamerz\\help.exe");
    }
    HELP OF MDM / / DO NOT EDIT
    btn26.onRelease = function() {//Closes dvdrom plateau
    MDM. System.exec (MDM. System.Paths.programFiles + "MDM helps 2.5 file\\MDM 2.5 UserManual.chm"); "
    }

  • Colors changing when you export files HAVE in InDesign

    Hello

    Since the upgrade of CS6 CC last year, I think my profiles color or something are put in place bad between CS programs. When I'm working on a file in Illustrator (RGB) and then place it in indesign, as soon as I export the PDF the colors change. For example, a series of gray tones will be released as blue and bright orange. I'm not clued up with the settings of all programs and the inner workings, but I've never had this problem before, I've never had to change all the color settings, so think, need a new default setting I don't know.

    I understand there are a many settings that could do that. I export the PDF RGB file too, but I can't see a likely switch to CMYK. Is anyway to reset all the settings back by default so that I can at least try and get the settings I usually use with CS6.

    Don't know what to do... any advice would be much appreciated! Thanks in advance

    Your Illustrator color settings is a problem. Choose 2 North America prepress of the parameters, which will assign sRGB to new documents and allow you to assign a profile to the existing docs. You can also consider to synchronize all your Adobe applications through the bridge Edit > color settings.

    As test try to synchronize your color for North American prepress settings, create a new document, place the file I and export with the output parameters in my first post.

  • Why can't create shades of color from scratch (not derived from photo)?

    Hey Adobe-ers,

    I am a long-time Adobe product user, and I used the tools of color from Kuler. It is disconcerting that the mobile versions of this tool (CC color then its subsequent integration with catch CC) do not seem to give you the means to create shades of color from scratch - instead requiring an input image and picking color points.

    It seems obvious that finding inspiring colour combinations of your external environment (and take a picture of them) and derived from the color combination of your imagination, is completely different creative workflow that can the two place to the creation of assets of color. Only the former mode (probably more complex) is supported seems quite bizarre!

    I appreciate really new workflows that adobe have aroused, especially on the use of cloud storage to make simple goods to share between machines - but I'd love to have a place to create shades from scratch (in the way of the CC of color web - app) without the workaround of blocking pipeline creative to have to take a picture at random and then change the colors derived from distraction to possibly meet what I had imagined.

    PS Apologies in advance integrated;  There is a way to do and there is just something missing me, this has been answered, or if this is not the right place for feature requests etc.

    Hello Stephen,

    Thanks for that. No, you do not miss anything. This feature is only in the web version of the application. From time to time, we receive requests, to incorporate it into the app now in the mobile version, you need to capture a theme. Then change it.

    I'll leave a note for the team with your comments.

    And, just to alleviate any concerns... the right place for your comments is everywhere where it is easier for you to leave. Finally, we see (and try to respond to) everything.

    Thanks again.

    Sue.

Maybe you are looking for

  • iCloud Legacy Plan

    I'm be renewed and I'm confused. renewal for legacy 25 GB $11.99 annual payment. New monthly 50 GB $0.99 per month. What's the catch? The monthly is an annual rate fixed. Suggestions on what plan I should renew with?

  • Black bars on my desk?

    What is the big black bar with red and yellow marks little bit about this, and how do I get rid of him?

  • Music dimmed, unable to play

    just got my replacement iPhone and all my music on my new phone is grayed out.

  • Satellite U200-196: Vista drivers are available!

    Mulholla! Tonight, I can start :) Toshiba finally done with Vista on the European Site drivers!

  • Create an Application problem

    2013 2013/LabVIEW TestStand In my development system I create a VI that I need to run continuously during a sequence so I have create and call using ActiveX controls. Works very well in my system of development with LabVIEW development system and Lab