AppleScript Math Issue

Can anyone explain why this happens? Just seems like an odd requirement to ensure accurate math.
set a to 12.0
set b to 9.6
set c to b / a
--c is 0.7999999999999999 instead of 0.8 (unless casted to string in next line)
--set c to (c as string) as real
if (c is 0.8) then
  display dialog "c is 0.8"
else
  display dialog c
end if

Hello
My pleasure. Glad to know it helped.
Well, there's one line I'd like to retract in my example, for it is misleading, that is -
set a to 12.0
set b to 9.6
set c to b / a
return roundn(c, -10) = 0.8 -- => true
Indeed it returns true but it is only happy coincidence.
We must carefully avoid "raw" real numbers in any comparison and round the both operands except for literal integers. Such as -
return roundn(c, -15) = roundn(0.8, -15)
or preferrably for performance's sake -
return roundn(c - 0.8, -15) = 0.0
Here's some unhappy coincidence -
set x to 0.3 + 0.4
set y to 0.3 + 0.4
--return x = y -- => true
return roundn(x, -1) = y -- => false
--return roundn(x, -2) = y -- => false
--return roundn(x, -3) = y -- => false
--return roundn(x, -4) = y -- => false
--return roundn(x, -5) = y -- => false
--return roundn(x, -6) = y -- => true
--return roundn(x, -7) = y -- => true
--return roundn(x, -8) = y -- => false
--return roundn(x, -9) = y -- => false
--return roundn(x, -10) = y -- => false
--return roundn(x, -11) = y -- => true
--return roundn(x, -12) = y -- => true
--return roundn(x, -13) = y -- => false
--return roundn(x, -14) = y -- => true
--return roundn(x, -15) = y -- => false
--return roundn(x, -16) = y -- => true
--return roundn(x, -17) = y -- => true
--return roundn(x, -18) = y -- => true
--return roundn(x, -15) = roundn(y, -15) -- => true (trivial if x = y)
--return roundn(x - y, -15) = 0.0 -- => true (ditto)
on roundn(n, d)
        number n : source number
        integer d : target rounding place so that n is rounded to 10 ^ d's place
    set h to 10 ^ d
    (round n / h rounding to nearest) * h
end roundn
Let us tame the floating devils by proper rounding!
All the best,
H

Similar Messages

  • AS3 Math issue

    If i have this code:
    var test: Boolean;
    test = false;
    if (2 == 2 == 1)
        test = true;
    trace (test);
    Result: true.
    var test: Boolean;
    test = false;
    if (2 == 2 == 2)
        test = true;
    trace (test);
    Result: false
    var test: Boolean;
    test = false;
    if (2 == 2 == 3)
        test = true;
    trace (test);
    Result: false.
    Why is that?

    This is not a Math issue, it is a matter of how a condfitonal test is carried out.   Conditions are tested as pairs (with a left to right hierarchy unless otherwise arranged using parentheses), meaning for 2 == 2 == whatever, first the test is performed to see if 2 == 2 ?, which is true, meaning the result evaluates as a "true".  Then the next comparison is performed using the result of the first... which would be...  true == whatever ?. which depends on "whatever" is.  A 1 evaluates as true as far as logic goes, but any other number does not, so true == 1 = true, true == 0,2,3,4,5.... = false
    You will find nothing passes the test if you reverse the order of the numbers.
    If you want to do compound conditional tests you are best to do it in pairs and/or use parentheses to define the order in which evaluations are managed.

  • AppleScript print issue

    Version:1.0 StartHTML:0000000149 EndHTML:0000001120 StartFragment:0000000199 EndFragment:0000001086 StartSelection:0000000199 EndSelection:0000001086
    Below is an AppleScript that we have been using for several years that goes through a whole folder and prints each file.
    To create press-ready PDFs we send the .ps files generated by InDesign CS2 to Acrobat Distiller.
    Just this week we have had an issue that when we use the script, random in-line graphics drop out of the PDF. When we process the same files using the same print preset, but open each manually and print without the use of the script, these in-line graphics are in the PDF.
    Have you heard of this issue with printing using AppleScript before?
    Any insight you can give me will help tremendously.
    We are researching moving to CS4 in 2010, but in the meantime we have CS2 to continue with.
    We use primarily MAC OS X 10.4.11.
    We've checked the layer. They are not on any layer the script is turning off.
    set x to 1
    tell application "Finder"
        --set fileName to choose folder with prompt ¬
        --    "Select folder to output to"
        set myFolder to choose folder with prompt ¬
            "Select folder to process"
        set myFiles to every file of myFolder
        repeat with x in myFiles
            set file_type to the (the creator type of x)
            --display dialog file_type
            if ((the creator type of x) = "InDn") then
                -- open x
                set fileName to the name of x as string
                set oldDelim to AppleScript's text item delimiters
                set AppleScript's text item delimiters to "."
                set fileName to text item 1 of fileName
                -- display dialog fileName
                set AppleScript's text item delimiters to oldDelim
                tell application "Adobe InDesign CS2"
                    open x
                    set myDoc to active document
                    tell print preferences of myDoc
                        set page range to all pages
                        set print spreads to false
                        set print master pages to false
                    end tell
                    -- change to correct target folder
                    set printFile to ("Mesa_Volume:MakePDF_Folder:ELS_PressReady:In:" & fileName & ".ps") as string
                    -- change to correct print preset
                    set myPreset to printer preset "Buck Final PDF"
                    tell myPreset
                        set print file to printFile
                    end tell
                    tell myDoc
                        -- the following will hide the layers IDLayer and proof slug--dp June 11, 2008
                        if exists layer "IDLayer" then
                            --display dialog "layer IDLayer exists"
                            set IDLayer to layer "IDLayer"
                            set properties of IDLayer to {visible:false}
                        end if
                        if exists layer "proof slug" then
                            --display dialog "layer proof slug exists"
                            set proofSlug to layer "proof slug"
                            set properties of proofSlug to {visible:false}
                        end if
                        if exists layer "Figure Mention Layer" then
                            --display dialog "layer proof slug exists"
                            set figMentionLayer to layer "Figure Mention Layer"
                            set properties of figMentionLayer to {visible:false}
                        end if
                        delay 2
                        with timeout of 1200 seconds
                            print using myPreset without print dialog
                        end timeout
                        delay 2
                        with timeout of 600 seconds
                            close myDoc saving no
                        end timeout
                    end tell
                end tell
                delay 2
            end if
        end repeat
    end tell

    Then, post to the AppleScript forum under OS X Technologies. However, don't expect anyone to provide you with the script. For that, you'll need to show some initiative and read one of the many books available, Apple's site at http://www.apple.com/applescript/index.html, or the Language guide at http://www.apple.com/applescript/features/features.html#1002

  • Applescript Time Issue

    How would I tell Applescript to set iChat's status as the time until 11pm tonight.
    For example, if it was 1:45:00p.m. now, my status would read "9hrs 15min 0s until party"
    I want it to repeat every second so that it counts down by seconds.
    Thanks a lot.

    Then, post to the AppleScript forum under OS X Technologies. However, don't expect anyone to provide you with the script. For that, you'll need to show some initiative and read one of the many books available, Apple's site at http://www.apple.com/applescript/index.html, or the Language guide at http://www.apple.com/applescript/features/features.html#1002

  • AppleScript - serious issue with "current playlist"

    Hi,
    As I'm looking for weeks an elegant way to generate a Genius playlist from AppleScript although this option hasn't been built in (...), I finally found a workaround that clik on Genius button. However, this button's number (ID) change whether the displayed playlist is the Genius playlist or not. For this reason I tried to set two options in my script, laying on the ability to know whether the displayed playlist is the Genius one, thanks to "current playlist".
    tell application "iTunes"
              if (name of current playlist) is "Genius" then
                        tell application "System Events"
      click button 12 of window "iTunes" of application process "iTunes"
                        end tell
              else
                        tell application "System Events"
      click button 10 of window "iTunes" of application process "iTunes"
                        end tell
              end if
    end tell
    However the "current playlist" seems like return to the playlist in which is the currently playing track, instead of the currently *targeted* track (as dictionary pretends)...
    After many tests, it looks like it's the only reason why this script doesn't completely work.
    Do you have any idea about how tell the targeted playlist?
    Thanks for help!
    Ben

    Hi again,
    Here the result of your script run on Lion:
    {application process "iTunes" of application "System Events", {minimum value:missing value, orientation:missing value, position:{0, 0}, class:window, role description:"fenêtre standard", accessibility description:missing value, focused:false, title:"iTunes", size:{1440, 900}, value:missing value, help:missing value, enabled:missing value, maximum value:missing value, role:"AXWindow", entire contents:{}, subrole:"AXStandardWindow", selected:missing value, name:"iTunes", description:"fenêtre standard"}, {button 12 of window "iTunes" of application process "iTunes" of application "System Events"}}
    It looks to me that Lion has a strange way to deal with fullscreen windows...
    Moreover, it reminded me that I succeeded few days ago in generating Genius playlist while iTunes was in fullscreen mode (but not systemacilly) thanks to the line "telle "iTunes" to activate".
    So, here is an update of your first script:
    tell application "iTunes"
      name of (first window whose its class is browser window or its class is playlist window)
    end tell
    tell application "System Events" to tell window (the result) of process "iTunes"
              tell application "iTunes"
      activate
      play -- seems like script doesn't work in some cases if iTunes is not playing
              end tell
              click (first button whose value of attribute "AXDescription" is "Genius")
    end tell
    I tried every situation I can remember that didn't work before and now it seems to be completely funtional. So
    thanks again! But I stay in touch in case you're curious about the result you asked me to post.

  • Error number -1728 Applescript & some issues with spotToProcess

    I have been working on this script for weeks. Basically I would like to batch (using AS) illustrator files. (open, find spot colors, change to process, save, close). So far I'm able to open files but the part when is supposed to change them into process is falling giving me an error number -1728 from document 1 of document 1.  I tried to put as many --comments on the script
    I want to clarify my knowlege in AS is basic. What is this error? I search specifically for this error number with no success.  What I have was pieced together and modified from 2 scripts I found. I'm challenging myself with not too much success but If I don't to ask, I don't learn. Can you anyone guide me to a solution?
    property file_types : {"EPSf", "EPSP"}
    property file_extensions : {"eps"}
    --Would like just Illustrator eps files not Photoshop eps. How can you do this? currently if in the folder there are Photoshop eps files the script is opening those files
    set the_folder to (choose folder with prompt "Select the files containing Illustrator docs to change spot to process colors:")
    set the_images to get_folder_list(the_folder, file_types, file_extensions, true, false)
    if the_images = {} then
      beep
              display dialog "No valid Illustrator found in chosen folder." buttons {"OK"} default button 1 with icon 0 giving up after 10
              return
    end if
    on openLegacyFile(fileToOpen) --Open a file with automatic update of legacy text --(I found this in the ADOBE ILLUSTRATOR CS4SCRIPTING REFERENCE)
              tell application "Adobe Illustrator"
      activate
      open POSIX file fileToOpen as alias with options {update legacy text:true}
              end tell
    end openLegacyFile
    tell application "Adobe Illustrator"
      activate
      --set user interaction level of script preferences to never interact --Will ignore any dialogs when opening files. Currently NOT working with files with embedded color profiles I'm getting a message: Your current settings discard CMYK profiles in linked content but profiles were set to be honored when this document was created. Cancel/Continue
              repeat with the_image in the_images
      open the_image as alias
                        tell document 1
                                  set locked of every layer to false --unlock all layers
                                  set locked of every page item to false --unlock any page items
                                  set selected of (every page item) to true
                                  set spotColorCount to count of spots
                                  try
                                            set color type of (spots of document 1 whose name is not "[Registration]" and its color type is spot color) to process color
                                  end try
                                  if exists (swatches whose class of color of it is CMYK color info) then
                                            set t to (name of every swatch whose class of color of it is CMYK color info)
                                            my convertSpotSwatchesToProcess(t)
                                  end if
      --This is the part that is not working at all. It doesnt find any spot colors
    -- the results is --> error number -1728 from document 1 of document 1
      --set user interaction level of script preferences to interact with all --restore prefs
                        end tell
              end repeat
    end tell
    on convertSpotSwatchesToProcess(list_of_swatches)
              tell application "Adobe Illustrator"
                        tell document 1
                                  set replacementSwatches to {}
                                  set deleteSwatches to {}
                                  set cmykSwatches to every swatch whose class of color of it is CMYK color info and name is in list_of_swatches
                                  repeat with thisSwatch in cmykSwatches
                                            set swatchName to name of thisSwatch
                                            set swatchColor to color of thisSwatch
                                            copy {name:swatchName, color:swatchColor} to end of replacementSwatches
                                            set end of deleteSwatches to thisSwatch
                                  end repeat
      delete deleteSwatches
                                  repeat with thisReplacement in replacementSwatches
      make new spot at end with properties thisReplacement
                                  end repeat
                        end tell
              end tell
    end convertSpotSwatchesToProcess
    on get_folder_list(the_folder, file_types, file_extensions)
              set the_files to {}
              tell application "Finder" to set folder_list to every item of folder the_folder
              repeat with new_file in folder_list
                        try
                                  set temp_file_type to file type of new_file
                                  set temp_file_extension to name extension of new_file
                        on error
                                  set temp_file_type to "folder"
                                  set temp_file_extension to ""
                        end try
                        if file_types contains temp_file_type or file_extensions contains temp_file_extension then set end of the_files to (new_file as string)
              end repeat
              return the_files
    end get_folder_list
    -I'm getting this results get file type of document file "Black.eps" of folder "test" of folder "Desktop" of folder "user" of folder "Users" of startup disk --> missing value

    I'm using Illustrator CS4

  • AppleScript Call Soap Data types

    I am using AppleScript to issue SOAP requests via built-in the 'call soap' function. The server to which I am connecting uses both simple and complex data types. It's pretty straight forward issuing the basic parameters for simple data types, but if the remote method requires a complex data type, such as a double set of parameters, I can't see how to get it done.
    Anyone have any experience sending SOAP requests with AppleScript that involved complex data types, which include multiple parameters, rather than just simple flat parameter lists?

    Hi,
    not exactly sure what you mean by placeholder data types?
    Surely it would be better to evaluate off a sample employee/departments or predefined database schema if you want to see what the UI / design process is like?
    The design process is very smooth and elegant in JDev 11g if you use the business components from tables wizard in the model and then design pages.
    Brenden

  • BCH and RS

    I have been working on and off with advanced material in vector and tensor space, grad level math
    anyway I was looking at error correcting code and noticed BCH as being a generalization over ideas like parity etc.
    The syndrome is computed as a vector of
    f(j) = (a_0)^j + (a_2)^j + ... + (a_s)^j
    for odd i from 1 do d-1, where a_i is the i-th component
    for some vector a
    remember that f(2j) is simply the square of f(j))
    Because in C++ we number from 0, f(j) will reside in location (j-1)/2
    Let m=GF2E::degree() (i.e., the field is GF(2^m))
    assume d is odd and greater than 1, and less than 2^m (else BCH codes don't make sense)
    Place your rig specifics into your signature like I have, makes it 100x easier!
    Hardcore Games Legendary is the Only Way to Play!
    Vegan Advocate How can you be an environmentalist and still eat meat?

    Hi Vegan,
    Thanks for posting in VC++ forum.
    VC++ forum aims to discuss and ask questions about the Visual C++ IDE, libraries, samples, tools, setup, and Windows programming using MFC and ATL.
    This issue is not proper here. It is more related to math issue.
    May
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • So, how much space do I actually have available?

    OK, so I have my new MacBook Air with a 256 GB SSD and I have been using it for a fortnight or so.
    One thing that perplexes me is that I am getting different values for the available space left on the SSD and it is a little confusing. The system, of course, is running OS X 10.7 Lion, but I just don't know if this is a MBA, SSD, OSX or just plain old maths issues!
    In the Finder, I am told I have 123.44 GB available ...
    In PathFinder, I am told I have 108.6 GB available ...
    In Disk Utility, I am also told the same as PathFinder, that I have 108.64 GB available ...
    And finally, Terminal (and using df -h) tells me something else (although this is probably a base 2 issue), that I have 101 GB free.
    So, which one is right?!
    Thanks,
    Sam

    branchespark wrote:
    And finally, Terminal (and using df -h) tells me something else (although this is probably a base 2 issue), that I have 101 GB free.
    Try
    df -H
    for GB output

  • Labview 2010 can't add or subtract

    Hi there. im having a problem with labview 2010. im not sure why and it is really weird.i have this for loop which i want to run for n-3 times where n is an array size. so i wire to the N of the for loop the output of the subtract operator and in the inputs of the subtract i put the array size and the 3 constant. but instead of giving me the result it alway gives me a -3. no matter what the size of the array is, the subtract operator always returns a -3. i tried replacing it for an add operator but it just gave me a +3 instead of a -3. so the for never executes. i tried recompiling it and deleting and redrawing the diagram with no success. i know it is a labview 2010 error cause i saved it for a previous version (8.6) and run it on another labview and it did the subtract correctly. here is the screenshot. i ran out of ideas any guesses? im downloading the service pack 1 to see if that helps. thanks in advance.
    Attachments:
    error.jpg ‏63 KB

    I agree with the above 2 posts.
    I've never had math issues with LabVIEW.
    My LV 2010 works well when trying what you described.  See below:
    Attachments:
    goodMath.png ‏24 KB

  • Set string to clipboard

    Hi,
    Photoshop JSX noob here.
    I want to do a very basic thing: copy a selection rectangle as text.
    Ideally if I can get the location of the mouse and copy it to the clipboard, that would be great,
    but bounds is ok as well.
    I've managed to output selection coordinates:
    $.writeln(app.activeDocument.selection.bounds);
    how can I get those coordinates copied into the system clipboard ?
    note: I am using osx 10.5.8.

    Christof, this is related to another post 'Brush Opacity on the mac' but as you have CS4 would you be kind enough to test this…
    #target photoshop
    // Must be Foremost to accept the key commands
    app.bringToFront();
    // If you have the brush tool selected
    // This should keystroke 'enter'
    var sh = app.system("osascript -e 'tell application \"System Events\" to keystroke (ASCII character 3)'");
    sh ? alert('Failed?') : alert('Done…');
    // This should keystroke string value '36'
    var sh = app.system("osascript -e 'tell application \"System Events\" to keystroke \"36\"'");
    sh ? alert('Failed?') : alert('Done…');
    // This should keystroke 'tab'
    var sh = app.system("osascript -e 'tell application \"System Events\" to keystroke tab'");
    sh ? alert('Failed?') : alert('Done…');
    // This should keystroke string value '64'
    var sh = app.system("osascript -e 'tell application \"System Events\" to keystroke \"64\"'");
    sh ? alert('Failed?') : alert('Done…');
    // This should keystroke 'enter' again
    var sh = app.system("osascript -e 'tell application \"System Events\" to keystroke (ASCII character 3)'");
    sh ? alert('Failed?') : alert('Done…');
    You can comment out the dialog stuff. This all works as AppleScript without issue but someone wanted to know if there was a mac workaround with JavaScript…

  • Recursive reading of a file (like tail -f)

    I'm trying to recursively read the contents of a file that is simultaneously being written to; esentially emulating tail -f in AppleScript. Any examples I could be pointed to?
    My AppleScript application issues a 'do shell script' that returns data as the script executes. So I can wait for the script to finish and display the results, how my app currently works (less than ideal), or I can have the shell script write to a temp file and then iteratively read and display the contents of the file as it fills up with the shell script's output (ideal).
    Problem is, I don't know how to tell if the temp file has finished being written to, and therefore when to stop reading into my display field.
    Trying to get my head around this - any thoughts, tips and/or examples would be much appreciated -- thanks

    There's several ways of doing this. The most obvious solution is to have your script write out some text that indicates the end of its processing, to which your AppleScript can react and know the script is finished. For example, if the script wrote out the string "done" at the end, it's trivial for AppleScript to check whether the last line in the file is 'done' or not.
    The alternative appoach is to capture the PID of the shell script and periodically check to see if that PID is still running. When it no longer appears in the process table you know you're done. For example:
    <pre class=command>set thePID to do shell script "/path/to/length/script &> /path/to/outputfile $!"</pre>
    the $! is a shell flag that returns the PID of the process you just started. Now you can do something like:
    <pre class=command>set thePID to do shell script "/path/to/script > /var/tmp/outputfile 2>&1 & echo $!"
    -- now thePID will hold the PID o the /path/to/script process
    set charsRead to 0
    try
    repeat
    do shell script "ps -p " & thePID
    set theProgress to read file ":private:var:tmp:outputfile" as text
    set numChars to number of characters in theProgress
    display dialog (text (charsRead + 1) through numChars of theProgress) giving up after 1
    set charsRead to count theProgress
    end repeat
    end try</pre>
    This launches the script and captures the PID. It then repeats through a loop that checks if the PID is still running. If it is, it reads the file and displays the chunk of the file that hasn't yet been seen (using the 'charsRead' variable to keep track of how much has been seen.
    If the PID is not running, the 'ps' shell script returns an error, which terminates the try block.

  • Classic attempts to start up unsuccessfully

    Every time I boot up my eMac it attempts to start up Classic which has gone missing. In the Classic Preference pane the option 'Start Classic when you log in' is checked and greyed out so it can't be deselected. How can I prevent Classic from attempting to launch at startup? Any advice would be appreciated. Thanks, Hans

    Open the Accounts pane of System Preferences and check whether any of the items in the list of login items for your account need Classic to run; this includes Classic applications, AppleScripts which issue commands to the Classic environment, and documents for which the default application runs in Classic.
    (17749)

  • Applescript Display Dialog Default Answer Rendering Issue

    After I installed Lion, I started having issues with Applescript rendering a dialog with a textbox.
    This is the sort of thing I end up seeing:
    The text box in the dialog doesn't render properly, and it's not possible to enter anything into it.  I've played with the display dialog parameters but it doesn't matter if I give an empty string for the default answer or other text, the behaviour is always the same.
    Does anyone have any ideas as to what the issue might be?  I suspect I might need to reinstall Lion, but I'm not sure that's even going to clear up the issue.
    Thanks in advance.

    Tried replacing 'Standard Additions' osax, dumping editor prefs, dumping ALL user prefs (not recommended for faint of heart), using a different copy of Script Editor. Nothing helped.
    The user account displaying the bug is an old one; likely updated continuosly from the days of Tiger or earlier.
    A std account on the same drive, which merely went through the Snow Leopard -> Lion transition, does not exhibit the edit-text display bug.
    So I bit the bullet, and used Migration Assistant to move to a new account on a clean install of Lion on a spare hard drive. 3.5 hours later, the Applescript edit text display bug is gone.
    As far as I can tell, all docs, Apps etc. made it through intact.
    If that continues to look true over the next few days, I'll try using SuperDuper! to copy the new drive back to the older, faster HD.
    Perhaps some other Lion bugs'll also go away now that I've got a cleaner install.

  • Applescript issue with ikey2

    If I launch two copies of textedit (textedit 1 and textedit 2)
    And then try to post this as an applescript (works in script editor, does in ikey2)
    tell application "System Events"
    tell application "TextEdit 1" to activate
    key code 20
    tell application "TextEdit 2" to activate
    key code 20
    end tell
    The script gets automatically rewritten as both using TextEdit 1. Is there something wrong in this code? It should call both apps indeendantly and press the '3' key. Would there be a reason that an app is rewriting the applescript code on the fly?

    Yes, I am using an exterrnal keyboard that provides 58 extra keys (xkeys). I was planning on using it with World of Warcraft and assign macros to each keys. The purpose of it is to do what is called multi-boxing.
    You launch 4 instances of the world of warcraft client and control them with one single keyboard by using an application that broadcast the keys.
    In my setup at the moment I am using Butler and it works fine with the Apple keyboard but it only has as many keys as the apple keyboard has. Since there are many keys that are used by the game this limits the keyboard+butler at about 10 to 20 macros.
    Ikey2 on the other end supports xkeys (the external keyboard www.xkeys.com) but for some reason when I use a script like the one above and replace the textedit names with world of warcraft, it constantly rewrites the names to only have ONE instance of the application, almost like if its version of Applescript can not recognize that they are separate applciations. If the instances are not launched yet the script stays with two names, as soon as several instances of an app are launched it only keeps one.
    Since it works fine by using Script editor I suspect that it is an ikey2 issue and I have emailed them. I will post here if I find more but I was wandering if there could be something in the code that was wrong

Maybe you are looking for

  • Can't apply service-policy to atm int?

    Attempted to apply service-policy output MPLS-EGRESS to ATM Int: class-map match-any GOLD match mpls experimental topmost 5 match ip precedence 5 class-map match-any BRONZE match mpls experimental topmost 3 match ip precedence 3 class-map match-any S

  • How to do the F1 Documentation

    Hi Experts, I added a field in the screen painter and I want to add some information when the user clicks on F1 on the field just like any other SAP standard fields. How to do this kind of documentation. Please help me out on this, your help will be

  • False solutions being posted here.

    There is a moderator named Norman who goes around advising as a simple solution to all billing questions going to Billing HIstory, which is simply a list of expenditures (hidden two levels down in Account Management).  He then makes it impossible to

  • Property Inspector Inactive - when it shouldn't be!

    Hi, I have a friend opening a php page, based on a template with editable regions. When the mouse cursor is placed within an editable region, for some reason, the PI is still greyed out/inactive. Cannot work out why. The screen print shows what's hap

  • [SOLVED]I can't use my usb mouse after updating kernel to 3.15.5-1

    Hi~ I have a problem with using my usb mouse. Well.. I'm using laptop and there are two usb-3.0 ports. One of them is worked correctly, but other is worked only with usb storage device. When I try to connect usb mouse and keyboard, it won't work at a