How to detect any changes of a StepType-field by the sequence ?

Hi all,
suppose I've got this: a simple StepType 'TEST' with one added custom field 'Source' of the type String.
When using this StepType in a Sequence and editing the 'Source' value (from the Variables panel),
the Sequence name is immediately marked with an '*'. Which is wat we want :-)
But, if I change the 'Source' value from code (C#), I see that my 'Source' value is changed (in the Variables panel), but not that the Sequence has detected this.
Maybe it's StepType-flag that I have to set or from code, executing a trigger or so ?
Thanks in advance ?
Franky
Solved!
Go to Solution.

I'm talking to myself, but FYI:
because I'm updating my sequence from code (C#), I've the current Step as an object and
therefore I knows if any fields are changed.
Using this snippet will mark my sequencefile as 'changed' : 
step.Sequence.SequenceFile.AsPropertyObjectFile().IncChangeCount();

Similar Messages

  • How to detect any key pressed for program running in the background?

    Hi All,
    is it possible to detect when any key is pressed if a java program is not in the focus? For example, when I have a console based program I can write something like:
    System.in.read();
    and wait until any key is pressed. However, if I move the mouse away from the console and make any other window active, the console program "doesn't hear" anything. Ok, it's clear, of course, but how is it possible to make the program detect any keys pressed even if it's running in the background?
    Thanks a lot for any hints!

    qnx wrote:
    1) Stop trying to make spyware. -> I don't do anything like this!
    2) Stop re-posting the same questions. -> didn't know they are the same, sorry.
    3) Stop taking us for fools. -> what? Honestly, I don't think that I realy deserved this :)With a limited posting history and the type of questions you are asking they are unusual.
    There are very few legitimate problem domains that would require what you are asking about. There are illegitimate ones though. And the legitimate ones would generally require someone with quite a bit of programming experience and would also be required (the fact that java can't do it would not get rid of the requirement.)
    Thus one might make assumptions about your intentions.

  • How do you save changes made in iPhoto, and export the changed file.  It keeps reverting back to the original.

    How do you save changes made in iPhote, and export the changed picture file? When I select export, current format, it reverts to the original, wiping out all my work.

    Try trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder.
    (On 10.7 or later: Hold the option (or alt) key while clicking on the Go menu in Finder to access the User Library)
    (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    What's the plist file?
    For new users: Every application on your Mac has an accompanying plist file. It records certain User choices. For instance, in your favourite Word Processor it remembers your choice of Default Font, on your Web Browser is remembers things like your choice of Home Page. It even recalls what windows you had open last if your app allows you to pick up from where you left off last. The iPhoto plist file remembers things like the location of the Library, your choice of background colour, whether you are running a Referenced or Managed Library, what preferences you have for autosplitting events and so on. Trashing the plist file forces the app to generate a new one on the next launch, and this restores things to the Factory Defaults. Hence, if you've changed any of these things you'll need to reset them. If you haven't, then no bother. Trashing the plist file is Mac troubleshooting 101.

  • How can I add/change art work to albums where the art work isn't available at iTunes?

    How can I add/change art work to albums where the art work isn't available at iTunes?

    Go to google and search for the artwork.  When you find it, save it to your computer.  Right click the album and select get info.  Drag the image you saved to the empty box for album art.

  • I am creating a web form from a template and I need to change a field. It is just a text field at the moment but I need to change it to a field that the customer can fill in. How do I do this?

    I am creating a web form from a template and I need to change a field. It is just a text field at the moment but I need to change it to a field that the customer can fill in. How do I do this?

    See this thread:
    http://answers.acrobatusers.com/Is-add-instructional-text-text-field-disappear-clicked-q19 5078.aspx

  • I used Iphone sofeware edit one photo by cuting its size, however, when I connect with computer. The photo edited still was old photo, no any changed. I want to edit the photo, and cut the size of photo. What should I do now??

    I used Iphone sofeware edit one photo by cuting its size, however, when I connect with computer. The photo edited still was old photo, no any changed. I want to edit the photo, and cut the size of photo. What should I do now??

    I used Iphone sofeware edit one photo by cuting its size, however, when I connect with computer. The photo edited still was old photo, no any changed. I want to edit the photo, and cut the size of photo. What should I do now??

  • How to bind JtextFields in Swing to Table fields in the database

    Can some one give the code of how to bind JtextFields in Swing to Table fields in the database
    Am really new to java programming and have interest in learning

    The standard JDK doesn't do this for you. If you search on Google, you may find some 3rd party packages that will do this.
    You need to create your own form add execute the appropriate SQL yourself. Read the tutorial on [url http://java.sun.com/docs/books/tutorial/]JDBC Database Access to get started.

  • How to catch any changes made in a particular field of a table.

    Dear Friends,
                           How can we display changes to a filed of a particular table.
    To make it simple:--
    The Program should take values for the name of the table and the field according it will handle all the update ,deletion of a record..i mean any change happening to the respective field will be displayed.
    Suppose there is table STUDENT and a field STUDENT_ID.
    So i want to display  the newly entered student id or the deleted student id .
    thx
    ram

    Hi,
    RSSCD100                 Display Change Documents
    RSSCD100_PFCG      Display Change Documents for Role Administration
    RSSCD110                 Display change documents (cross-client)
    RSSCD150                  Display change documents
    reward if useful
    ~Lakshmiraj~

  • How to track any change at sharepoint site level

    Hi,
    I want to achieve is,
    create an event receiver or workflow for a SharePoint Site so that any change made @ site level or site collection level which in turn may include any change at any list,library, everything @ site/site collection level----a mail should get fired to a certain
    sharepoint group(Administrative).
    I found that  we can do this with "Change Log" but how?
    Is it a list or library or what else?
    How could i fire a mail when a new item gets added to it?

    As an aside, you're asking for SharePoint to send an email to your administrators every time for every change. Given the number of changes in a typical SharePoint farm, this approach can lead to your administrators being flooded with emails. Some mail transfer
    agents also have protections against this sort of activity and could drop mails to prevent your administrators from being spammed.
    You should consider this if you plan to use these mails for auditing purposes. Another approach would be to log these changes to a database to ensure you don't lose anything.
    SharePoint already has built-in auditing capabilities that you could leverage as well; most 3rd party SharePoint administrative suites include audit reporting.
    Jason Warren
    @jaspnwarren
    jasonwarren.ca
    habaneroconsulting.com/Insights

  • JFrame: How to detect a change in size?

    Hello everyone,
    I have a question related to the size of a JFrame or JPanel. I add a few JPanels to a JFrame and I wanted to detect when the size of the JFrame window or the JPanel itself had changed (if the user pressed the "Maximize icon" or simply dragged the window size from the one of the corner of the window). I am not sure if I need a listener added to the Frame, and what kind of listener that would be (if any exists, I am not sure).
    I have another question regarding the class Dimension. I add JPanel's to my JFrame and I use the class Dimension to get the size of the panel with the getSize() method. I wanted to know when is the sooner that I could call this method to get the right size. For example, I use it in a few methods like the paintComponent, the mouseReleased and mouseDragged method, but I wished to get the correct size as soon as possible and only compute it once (or update it if the JPanel sized change). I am wondering why the size is 0 while I call this method inside the constructor and if there is any method where I can call it before actually doing anything to the JFrame please.
    I hope my questions are somewhat clear.
    Thanks for all your help, it is very much appreciated.

    I am having one more issue.
    I have implemented the ComponentListener for each of my JPanel and used the componentResized and componentShown to calculate the size of my panel.
    This works great when I resize the JFrame using one of the corners, but not when the "maximize button" (in the title bar next to the corss) is pressed.
    Is there any way please to fix this? Thank you.

  • How to detect value change of item?

    Hi all,
    We want to list all goods that customer chooses, so TileList is used to display all goods information and a custom component MyItem is used as ItemRenderer. Meanwhile a Label is used to display the sum of all the goods. The hierarchy is simply like this:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"  layout="absolute" >
    <mx:TileList id="tl" dataProvider="{acGoods}" ItemRenderer="MyItem"/>
    <mx:Label id="labelSum"/>
    </mx:Application>
    Here, acGoods is an ArrayCollection which I believe is bindable.
    User may change price inside MyItem directly, so the text of the Label need to update as well. I find that acGoods contains latest price. Now the problem is Label text stays the same. I have tried to call calculating function in set acGoods() but it doesn't work.
    Please don't sugguest dispatch event because this is only a simplified scenario. If anybody tell me how to implement this by binding mechaism, that'll be very helpful.
    Best wishes,

    protected function get totalLabelText():string {
        // for each var i:* in acGoods and so on
        return 'Calculated label here';
    <mx:Label id="labelSum" text="{totalLabelText}"/>
    Inside MyItem:
    once you changed something invoke:
    Application.application.executeBindings(true);
    Hope this will work for you

  • How to detect dataprovider change in spark List ?

    The problem is : when the dataprovider changes, the List unselects its items. I want the selected item of the List to stay selected, even if the dataprovider has a new item, for example.
    So I try to detect a change in the dataprovider, to be able to re-select the item that was selected before the change.
    I tried to listen several events but it didn't work :
    - change is dispatched by user, not by code.
    - updatecompleted is dispatched when the dataprovider changes but it is triggered also when the list is resized, and I don't want that.
    - collectionChange is not dispatched
    I don't understand why valueCommit is not dispatched when the dataprovider changes.
    Can you help me ???

    There is a dataProviderChange event fired whenever dataProvider is set,
    but it may not be listed in the metadata so you may not be able to access
    from MXML.
    Flex harUI,
    Why isn't this event exposed publicly through the metadata of the class?
    The easy fix I can come up with is to extend the List, by simply exposing the event, like:
              [Event(name="dataProviderChange", type="flash.events.Event")]
              public class ExtendedList extends List
    But I don't know if it's good practice...

  • How to Add Values in INVOICE SUB-TYPE field at the Invoice Header Forms

    Hello,
    Does any body knows how could I add/modify values in the INVOICE SUB-TYPE field at the Invoice Header Forms?. This values are related to the Globalization, in this case for the Chilean Localizations.
    Thanks,
    Alejandro R.

    It gives any error or just does nothing?
    Have you tried making another simple form with just one block and one or two items?
    You can do this type of testing in these conditions.
    Which version of forms are you using?

  • How to add * wild card to a specific field on the selection-screen.

    Hello,
    How to add a * WIld card to a field in selection screen.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS : S_STCTS FOR G_STCTS OBLIGATORY,      "NUMBER SCHEME
                     S_AT20A FOR G_ATTR20A,    "SUBSTANCE ID
    SELECTION-SCREEN END OF BLOCK B1.
    I need to add Wild card functionality to Number scheme field S_STCTS on selection-screen.
    Any suggestions would be apprecaited..
    Regards,
    Kittu

    Hi Kittu,
    Here is one sample code:-
    select-option : s_name like kna1-name1.
    start-of-selection.
    if s_name-low = '*'.
    select * from kna1 into table it_kna1.
    elseif s_name-low = 'pat*' or s_name-low = 'pat'.
    select * from kna1 into table it_kna1 where name1 like 'Pat%'.
    endif.
    In case of wild card Select should be :-
    select * from <dbtab> where <field> like 'P%'.
    You can also use RANGES in your Code.
    E.g. RANGES: R_OBJNR FOR JEST-OBJNR
    R_OBJNR-SIGN = 'I'.
    R_OBJNR-OPTION = 'CP'.
    R_OBJNR-LOW = 'K1*'.
    R_OBJNR-HIGH = 'K2*'.
    Hope this helps.
    Thanks & Regards
    Jitendra Gujarathi

  • How to set focus on a specific UI field at the start of an application?

    Hello Web Dynpro ABAP experts,
    how can I set the focus/cursor on a specific UI (input) field at the start of an application?
    Thanks and best regards,
    Oliver

    Hi,
    I would suggest we don't play with focus.
    Handling the focus manually will go against the product standard Accessibility
    Regards
    Manas Dua

Maybe you are looking for