How to create a non-accessible script?

I have to develop a script member that contains some procedures and functions.
Is there a way to produce some "hidden" script?
I think the first solution is to put this script in an external cast and protect it (AKA make it CXT).
But...
Is there a way to hide all variables so they cannot be seen as globals?
Thank you.

hi shylock - I hope all is well in your part of the world.
I’m not fully following this discussion , but thought this might be of some help
I don’t know of any way to hide just part of a dir file / script - (without hiding it all)
but…
Over the years I’ve bought a few dcr games from other developers who didn’t want to sell me their source code.  (cheeper cost to buy them - but impossible to upgrade without paying for their help)
With a bit of effort I was able to embedded their dcr programs right inside my own program.
The idea would be to make a program that contains just the functions you wish to achieve
You’ll have to write it in such a way, that you’re able to pass it the variables it requires to execute the function / procedures that you have made.
Also when it’s finished doing what ever you want it to do, that it’s able to return to the other developer what ever variables you want to give them back.
You save this program as a .drc
Next you have the other developer import this drc file into their own director program.
You’ll need to give them all the instructions on what special variables they will need to feed your dcr program, and tell them what they are going to be given back.
Is this the sort of thing you a talking about? - or did I just miss the mark again
regards
milky

Similar Messages

  • How to create a barcode in scripts and smartforms

    hi
    how to create a barcode in scripts and smartforms

    Hi,
    For Script:
    A barcode solution consists of the following:
    - a barcode printer
    - a barcode reader
    - a mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool. 
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    The next part of the equation can be a bit tricky as you will need to get a printer to print that barcode font. Regular laser printers does not normally print barcode fonts, only specialized industrial printers that is specifically designed to support that protocol and that uses specialized label media and heat transfer (resin) ribbon to create the sharp image required for barcodes.
    Not to fear though, there are two ways to get around this:
    - You can have your IT department do some research - 
    most laser printers can accept a font cartridge/dimm chip (similar to computer memory), called a BarDIMM that will allow a laser printer to support the printing of barcodes.
    - Secondly, you can buy software that you can upload in your SAP print Server that will convert the barcode symbology as an image that will print on a regular laser printer. I found that this option results in less sharper barcodes. This option is really if you need to convert a large quantity of printers (>10) to support barcodes. 
    - Thirdly, you can buy a third party software like Barcode.dll and install on your frontend PC connected to the laser printer.
    Now you have a barcode printed - what next?
    Well there are two options, depending on your business requirements:
    - You can use an existing SAP transaction on a regular workstation and get a barcode wedge reader to hook up between the keyboard and the PC. These wedge readers comes in a wand or scanner format. There are even wireless wedge scanners available that allows you to roam a few yards from the workstation to scan a label. This approach is mostly used where you want to prevent human errors in typing in long material, batch or serial numbers in receiving or issuing of material. The problem is that it's just replacing the keyboard input and you are basically locked down in one location and have to bring all the material to that location to process.
    - Another solution is to use SAPConsole transactions
    or write your own ABAP Dialog programs that will fit onto a barcode enabled wireless handheld terminal and that will follow the business logic as executed on the shop floor. 
    These programs are highly complex exercises in industrial engineering and ergonomics because of the limited screen sizes and limited ability to accept keyboard input. The user is instructed step-by-step and only scan and push F-keys to interact with the SAP system. Scan, scan, beep, beep, enter - highly automated.
    For SmartForm:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    Regards,
    Bhaskar

  • How to create a non-cumulative key figure & How to make a info cube as so

    Hi Experts,
    How to create a non-cumulative key figure & How to make an info cube as non-cumulative cube?
    Can any one kindly provide me the steps we need to performe?
    Thanks in Advance,
    Raj

    Hi Azael,
        In the How to Papers, you will find a Guide on how to take a Sanpshot view of the Stocks(How To Handle Inventory Management Scenarios in BW). Basically if you implement the Guide, you will have another cube called ICSNAP1, which will contain stock quantities /values at the end of each month. You will therefore have to take stock at the end of the last month from that cube and add up the relevant receipts and issues to arrive at the current Stock or Stock as on a particular date.
    Hope this helps!
    Regards
    Sriram

  • How to create ArrayColletion in mx:Script from mx:Model id="results" source="/data/data.xml" /

    How to create ArrayColletion in mx:Script from <mx:Model
    id="results" source="/data/data.xml" />
    Please see my code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Model id="results" source="/data/data.xml" />
    <mx:Script>
    import mx.collections.ArrayCollection;
    import mx.utils.ArrayUtil;
    import mx.controls.Alert;
    </mx:Script>
    <mx:ArrayCollection id ="dt1"
    source="{ArrayUtil.toArray(results.result)}"/>
    <mx:Script><![CDATA[
    [Bindable]
    public var expenses:ArrayCollection = dt1;
    [Bindable]
    public var expenses2:ArrayCollection = dt1;
    [Bindable]
    public var dp:ArrayCollection=expenses;
    public function changeDataProvider():void{
    Alert.show(expenses.toString());
    if (dp==expenses){
    dp=expenses2;
    }else{
    dp=expenses;
    ]]></mx:Script>
    <mx:Panel x="10" y="10" width="100%" height="378"
    layout="absolute">
    <mx:ColumnChart dataProvider="{dt1}" x="10" y="10"
    id="myChart" height="318" width="100%">
    <mx:horizontalAxis>
    <mx:CategoryAxis categoryField="month"/>
    </mx:horizontalAxis>
    <mx:series>
    <mx:ColumnSeries displayName="apple" yField="apple"/>
    <mx:ColumnSeries displayName="orange"
    yField="orange"/>
    <mx:ColumnSeries displayName="banana"
    yField="banana"/>
    </mx:series>
    </mx:ColumnChart>
    <mx:Legend dataProvider="{myChart}" x="481" y="10"/>
    </mx:Panel>
    <mx:Button x="284" y="416" label="Change Data" id="bt"
    click="changeDataProvider()" />
    </mx:Application>

    Tracy,
    Thanks. That worked. However I have another related question:
    I convert the xml feed to a XMLListCollection by doing:
    <mx:XMLListCollection id="mission"
    source="{xmlFeed.lastResult.day}"/>
    and
    <mx:XMLListCollection id="mission1"
    source="{xmlFeed.lastResult.day.tBlock}"/>
    On the chart I have
    <mx:ColumnChart id="missionReadiness" height="150%"
    width="100%"
    paddingLeft="2" paddingRight="2"
    showDataTips="true" dataProvider="{mission1}">
    <mx:series>
    <mx:ColumnSeries xField="" yField="@today"
    displayName="Today"/>
    <mx:ColumnSeries xField="" yField="@tomorrow"
    displayName="Tomorrow"/>
    <mx:ColumnSeries xField="" yField="@afterT"
    displayName="After Tomorrow"/>
    </mx:series>
    </mx:ColumnChart>
    the yField works, but for the xField I want to have the @date
    but refers to the parent node, so I am clueless on how to refer to
    it.
    Also, I would like to display on the chart only the values to
    a specific date (like @date="05/17/2007").
    Any suggestions on how to do that?
    Gilbert

  • How to create a non editable PDF

    How to create a non editable PDF in PDF writer 5 & 6 Professional.

    There was a PDF Writer driver available in AA 5 (not in AA 6). It was part of the custom install and was not recommended for use. In AA 5, the Acrobat Distiller printer was preferred. In AA 6, the name was changed to the Adobe PDF printer. In any case, once you have the PDF, open the PDF in Acrobat and go to the document properties. Select the security options to restrict changes and/or extracting text. The security is not all that robust, but works for most folks.

  • How to create a non downloadable pdf in Adobe reader X?

    Hi,
    How can I create a non downloadble pdf in Adobe Reader X. Please help.
    Regards,
    Shreya

    Good day,
    To Bernd's point, you cannot stop someone from downloading your PDF (or any file for that matter) if you put them onto the Internet.  There are ways of limiting how long a file can be viewable for through some server side software options, but ultimately, to your original question, you cannot create PDF files with Adobe Reader.
    Regards,
    David
    Acrobat Community Manager
    Adobe Systems

  • How to create database using shell script

    hai
    how to create database using shell script

    The documentation details the steps to create a database manually. Another option is to use DBCA to create the scripts. DBCA will give you a complete set of scripts that will create a database.
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#sthref220

  • How to create a table in script

    hi gurus
    can any one suggest me
    how to create a table format in script output
    i want the output be in table format
    thank you
    regards
    kals.

    Hi Kalyan,
    There is option for creation of table in Scripts .
    We can make the output to b displayed in table format by using BOX command .
    see this
    Setting default parameters for a box:
    You can use the POSITION and SIZE commands to set default parmeters for a box.
    Instead of: 
    /: BOX XPOS '11.21' MM  YPOS '5.31' MM  HEIGHT '10' MM WIDTH '20' MM INTENSITY 10 FRAME 0 TW
    You can write:
    /: POSITION XORIGIN '11.21' YORIGIN '5.31' MM
    /: SIZE HEIGHT '2' MM WIDTH '76' MM
    /: BOX  FRAME 10 TW INTENSITY 10
    This can be usefull if you gave several boxes that share the same parameters.
    If you want to set the position realtively to the window use POSITION WINDOW
    to set the position to the top/left start of the window. Then use POSITION 
    to set the current position relatively to the start of the Window. 
    Note that you uses "+" or "-" in the ORIGIN position to the set the position relatively.
    /: POSITION WINDOW
    /: POSITION XORIGIN '5' MM  YORIGIN '10' MM
    the position is now 5 MM from the left and 10 MM from the top of the window
    NOTE: After using the position command you can move the current position
    realtively to the last used position
    /: POSITION XORIGIN '10' MM  YORIGIN '20' MM
    Now the position will be X = 15 and Y = 30
    Drawing a line. You can draw a line by setting the Height or Weidth to 0
    and add a frane. E.g. a horizontal line:
    /: SIZE HEIGHT '0' MM WIDTH '200' MM
    /: BOX FRAME 10 TW XPOS '11.21' MM YPOS '14.81' MM INTENSITY 100
    thnx
    Sravani
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Apr 21, 2008 5:59 PM

  • How to create table control in script

    hi expects,
      how can i create table control in script?

    Hi,
      It is not possible to create Table Control in Sap-Scripts n u can create it by using se51 that is screen painter only...
    if useful reward with points,
    regards,
    Madhuri.

  • How to create channel mixer by script

    How I can create channel mixer by JavaScript?

    If you create a channel Mixer script you will most likely be using Action Manager Coder you modify from Adobe Scriptlitener Plug-in.  There  is a Photoshop scripting forum and scripting documentation you can download. Adobe DOM does not cover all Photoshop function.  Adobe Photoshop Scripting | Adobe Developer Connection  and Photoshop Scripting

  • How to Create a LiveTrace Options Script

    Hello everyone!
    I am using Illustrator CS3 on WinXP Pro.
    Let me begin by saying that this is my first attempt at scripting anything and any help would be truly appreciated. I have written a script:
    var myDocument = app.activeDocument;
    var mySelection = myDocument.rasterItems[0];
    mySelection.selected = true;
    app.selection[0].trace();
    app.selection[0].cornerAngle = 180;
    app.selection[0].fills = true;
    app.selection[0].ignoreWhite = true;
    app.selection[0].minArea = 0;
    app.selection[0].pathFitting = 0;
    app.selection[0].threshold = 256;
    app.selection[0].tracingModeType = 'TRACINGMODEBLACKANDWHITE';
    app.redraw();
    This script is tracing the raster image (barcode). However, it doesn't appear that it is using any of the tracing options.
    Does anyone know how to properly script this in order to utilize the tracing options and then expand at the end?
    Any help would be truly appreciated.
    Many Thanks!

    I didn't hack this out, so I may be off - but from what i gathered from the JS guide :
    the trace() method returns an object.
    -- From the Guide --
    A tracing object, which associates source raster art item with a vector-art plugin group created by tracing.
    Scripts can initiate tracing using PlacedItem.trace or RasterItem.trace. The resulting PluginItem object represents the vector art group, and has this object in its tracing property.
    ie:
    myTrace = app.selection[0].trace();
    myTrace.cornerAngle = 180;
    myTrace.fills = true;
    app.redraw();
    myTrace.expandTracing();

  • How to create a flash automatization script?

    Here's the situation. I have a font support library, however for each font I have to manually create a new swf file, such as Tahoma_14_bold.swf - which is a lot of work.
    I need to create a Flash automatization script (extension or command, NOT AS3 code) that automatically opens up a file, changes the font of a pre-existing textfield on the stage to, for example, Tahoma Regular 10 with bitmap font setting, saves it as Tahoma_Regular_10.fla in a destination directory, compile, then change the font size to 11, save it as Tahoma_Regular_11.fla, compile and so on and so forth, up until all fonts are created.
    The end result would be 30 or so swf and fla files for each possible variation of the font.
    How would I go around doing this? Is this at all possible?

    1. Efficiency:
    Application has a fontStyle manager. The application never (outside of debugging purposes) creates textfields by itself. All textfields used to display text are created by a call to the fonts manager, like "fontsStyleManager.createFont("header1");"
    As such, each fontStyle has an associated font SWF and other textField parameters. The website owner can specify which particular font SWFs are to be loaded at start, and all unused font SWFs are highlighted, to be deleted of the list.
    2. Flash font embedding sucks
    Flash embedding sucks. I've had whole projects refuse to compile and not even display any messages. I had fonts that changes sizes and font faces. I've had fonts not embed at all, even though I specified explicitly for them to be included. Embeding by code and at runtime is cleaner, and it works
    3. Neccesity
    Embedding fonts from Flex embeds all European characters including German, Greek, Norwegian and so on.. except Polish. In here I can specify my own precise character set using the flash IDE.
    4. Fonts in Flash are complicated
    Normal, vector fonts are embedded easy. Size doesn't matter, as the font can clearly scale to any size and remain nicely anti-aliased. Embeding a Bold style doesn't mean yhou embed a Regular. Bitmap fonts are embeded by font size, that is, embeding a 14px bitmap won't make it possible to use a 16px. In addition, embedding a Bold doesn't embed a Regular bitmap font. What's interesting is that you can take a 12px embed font and set the TextFormat to, say, 22px, and get a very interesting-looking pixel effect, as the font gets scaled up.
    5. Flexibility - the ability to see a completely different set of fonts in your project without having to recompile - priceless.

  • How to create a non hiding dialog box in swing

    Hi there,
    I want to create a non hiding Dialog box similar to MS Word Find/Replace dialog.
    The Dialog should not hide when the focus is lost. Instead it should become inactive & should remain on the top.
    Could someone please let me know how to create such a dialog in Swing?
    You help is highly appreciated.
    Thanks
    Rakesh Nagar
    [email protected]

    have a look at -
    http://forum.java.sun.com/thread.jsp?thread=327331&forum=57&message=1331793
    ManishRaje.

  • How to create .log for sqlplus script

    Hi All,
    I created a sqlplus script and run it through a window form. My user want to me create a .log file for this script so they can know the job is completed or not. Does any one know how to do it?
    Thanks
    OF

    I created a "Login.sql" script that I use for all my sql*plus sessions.
    It creates a spool file in my common directory and everything i do is logged unless i set spool off.
    Take a look and it gives you an example of using spool files and how to set a directory and unique filename for each spoolfile.
    The contents of this file:
    -- any uppercase commands are my specific changes.
    -- this file must go in the oracle bin path or where sqlplus exe is located
    SET HEADING OFF
    PROMPT Who What Why Where When, This is SQL*Plus!
    Select 'You are connected to ' || GLOBAL_NAME || ' as ' || USER FROM GLOBAL_NAME;
    set appinfo ON
    set appinfo "SQL*Plus"
    set arraysize 15
    set autocommit OFF
    set autoprint OFF
    set autorecovery OFF
    set autotrace off
    set blockterminator "."
    set cmdsep OFF
    set colsep " "
    set compatibility NATIVE
    set concat "."
    set copycommit 0
    set copytypecheck ON
    set define "&"
    set describe DEPTH 1 LINENUM OFF INDENT ON
    set markup HTML OFF SPOOL OFF ENTMAP ON PRE OFF
    set echo OFF
    set editfile "afiedt.buf"
    set embedded OFF
    set endbuftoken ""
    set escape OFF
    set feedback 6
    set flagger OFF
    set flush ON
    SET HEADING ON
    set headsep "|"
    SET LINESIZE 250
    set logsource ""
    set long 80
    set longchunksize 80
    set newpage 1
    set null ""
    set numformat ""
    set numwidth 10
    SET PAGESIZE 24
    set pause OFF
    set recsep WRAP
    set recsepchar " "
    SET SERVEROUTPUT ON size 1000000 format WORD_WRAPPED
    set shiftinout invisible
    set showmode OFF
    set sqlblanklines OFF
    set sqlcase MIXED
    set sqlcontinue "> "
    set sqlnumber ON
    set sqlprefix "#"
    set sqlprompt "SQL> "
    set sqlterminator ";"
    set suffix "sql"
    set tab ON
    set termout ON
    SET TIME ON
    SET TIMING ON
    SET TRIMOUT ON
    set trimspool OFF
    set underline "-"
    set verify ON
    set wrap ON
    COL SPOOLFILE NEW_VALUE SPOOL;
    COL SYSTIMESTAMP FORMAT a38
    SELECT 'C:\oracle\spoolfiles\'||NAME||'_'||TO_CHAR(SYSDATE,'DD_MON_YYYY_HH24MISS')||'.lst' spoolfile FROM V$DATABASE;
    spool &spool
    PROMPT -----------------------------------------------
    SELECT SYSTIMESTAMP FROM DUAL;
    PROMPT -----------------------------------------------

  • How to create a non-destructive luminosity/b&w mask for (de)saturation?

    Someone asked me this question: CG renders (created in Modo, Max, Blender, Maya, Vray, Octane, etc) can be made to look more realistic by desaturating the colours in the highlights. It was also requested that this move would be done in 32bpc as well (something that is often required in a CG compositing workflow).
    This is easy enough to do: create a selection based on luminosity (or a black and white version of the image), and use that as a layer mask in the Hue/Saturation adjustment layer, and turn down the saturation.
    However, this is a destructive action: suppose we want to import an external file as a smart object, and then we need the option to have the file automatically update with any change we make to the original artwork.
    In that case we would have to recreate that luminosity mask again and again as well.
    Ideally, an update of the external file will result in an automatic update of the entire layer stack.
    Now, in Photoline this is easy to do:
    Since layer masks behave like regular layers in PL, and layers can be virtually cloned (not unlike smart objects), it is a mere case of cloning the original external file layer twice, and adding adjustment layers. Finally, that one instanced layer is used as a layer mask for the adjustment layer that controls the saturation. Done.
    Replacing or editing the original source will then automatically update and cascade the changes through the entire layer stack.
    This is a very handy technique to have! Since I teach Photoshop classes, I thought this would also be handy to know how to do in Photoshop, and I tried several methods (clipping masks included), but I cannot seem to achieve the same non-destructive result. Clipping masks do not work with adjustment layers. Groups cannot be used as clipping masks. Layer masks cannot reference a smart object.
    I have a feeling there ought to be a reasonably straightforward method to achieve this, but how?
    Would anyone have a suggestion how to solve this in Photoshop in a non-destructive way?

    csuebele wrote:
    I'm still not seeing it. Your example does not have a pixel based layer clipped to the group which is causing my problem. I hope I can explain this. See below. the layers in the group create the "mask". In this case a b&w adjustment layer was added to control how the "mask" is converted to b&w. You can see what these layers look like in the mid section top section of the image. any color showing though is from the very bottom layer, as the group has a blend if on it allowing the shadows to come through. The top image has a curve layer with no adjustment, while the bottom image has a curve layer to clip more of the shadows. You can see this change in the upper right corner of both images. The curves are allowing more of the image to be clipped in the area is masked out on layer "Layer 0 copy 1", as more of the color of the base layer is showing though. However, that b&w areas are suppose to be just the mask and you should see the b&w, just color as seen in the bottom image. However, the curves are not changing the transparency in the areas that have the layer to return the color.
    I don’t get it – what good is the pixel Layer ("Layer 0 copy 2") clipped to the Group supposed to do? Don’t you want to use the Mask on an Adjustment?
    Edit: Maybe this can help clarify how I suppose the issue would be approached.

Maybe you are looking for

  • Unable to start "Printer Assistant" Officejet Pro 8600

    Printer Assistant and my 8600 have worked well for over a year.  Now I can't start "Printer Assistant".  This may have been triggered by an update to Win 8.1.  Others on the Discussion Board have been told to uninstall all HP programs, reboot, and th

  • Why is the sound on my laptop not lining up with the video?

    for the past week or so every video I play, whether it's on Amazaon, Hulu, or Youtube, the audio is ahead of the video. There's about a quarter second delay between them which makes it very difficult to watch.

  • Slow BB download speed after 16:30. Works fine in ...

    I'm at wits end with BT and the service I receive. I only wish I could choose to pay a 10th of the price for the service I receive. I have tried to use the BT call centre with no avail. The words “chasing ones tail” spring to mind. Hence adding my tr

  • BAPI/IDOC to create cost object hierarchy or category

    Hi, Can any one give me the BAPI or Basic type to create cost object hierarchy(tcoce KKPHIE) Kind regards, Sujith

  • Adobe cs6 upgrade and adobe support

    I purchased Adobe 5.5 Creative Suite in April 2012. I was supposed to get a free upgrade to cs6. How do I do this? Also the program came with no books or support and I am totally lost. What is the best way to familiarize myself with the program and b