How to create simple equation automation

Hello,
Is it possible to create a calculator automation? I have to do this same simple equation many times in the day and would love if there was an automation to make things faster. Any thoughts would be very apprecaited! 
(inputed number) divided by 1.074 = 
Thanks,
Anthony

Something like this?
property previous : {return, return, return} -- a list of previous equations
property theNumber : 0 -- the previous number
repeat -- forever
   set goodNumber to false
   repeat until goodNumber
      try
         set theNumber to text returned of (display dialog "Previous equations: " & return & (previous as text) & return & "Enter a number:" default answer theNumber as text) as number
         set theAnswer to theNumber / 1.074
         set goodNumber to true
      on error errmess number errnum -- not a number
         log errmess
         if errnum is -128 then error errmess number errnum -- user canceled, pass it on
      end try
   end repeat
   -- display dialog (theNumber as text) & " / 1.074 = " & theAnswer with title "The Answer" buttons {"OK"} default button 1 giving up after 2
   set end of previous to (tab & (theNumber as text) & " / 1.074 = " & theAnswer & return)
   if (count previous) > 3 then set previous to items -3 thru -1 of previous -- just the last 3
end repeat

Similar Messages

  • How to create simple Adobe Forms in ABAP

    hi,
    i want to know how to create simple Adobe forms in ABAP

    Hi,
    Look at this eLearning Documents. This a good way to start.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/interactiveforms-elearning">SAP Interactive Forms by Adobe eLearning Catalog</a>
    Regards.
    Marcelo Ramos

  • How to create simple scroll-bar table dashboard in Excel 2003?

    How to create simple scroll-bar table dashboard in Excel 2003?
    Pl mention from step 1 as I am new to this 

    Hi UltraDev,
    We discuss SQL Server PowerPivot for SharePoint related issue in this forum. In your case, I suggest you post the question in the following forum for better support:
    Excel IT Pro Discussion:
    http://social.technet.microsoft.com/Forums/office/en-US/home?forum=excel
    Regards,
    Elvis Long
    TechNet Community Support

  • Webinar (Aug 11): How to create Cross-Platform Automated GUI Tests for Java Apps

    Join Squish expert, Amanda Burma, and learn how to create cross-platform automated GUI tests for your Java applications!
    Register here (multiple time slots)
    August 11th 2014
    Duration: 30 minutes plus Q & A
    This webinar will cover:
    General Squish for Java overview
    Automating BDD Scenarios
    Executing Cross-Platform Automated GUI Tests
    Interacting with Java application objects, properties & API
    See you there!
    Unable to attend? Register and we'll send links to future events and access to our webinar archive following the event.
    Webinar schedule
    Learn more about Squish
    Evaluate froglogic squish

    <property name="messaging.client.jar.path" value="Location in your local drive" />
    <property name="messaging.client.jar.name" value="nameOfYourFile.jar" />

  • How to create simple "SAPGui" iView?

    I'm looking for some pointers on how to create a simple iView that mimics SAPGui.  Every client I've been to that looks at the Portal always asks, "How do I access SAP with this?" and they never like the standard answer, "You create iViews".
    Anyway, I'm looking for something that would let me present the main menu of an SAP system inside the portal; providing a list of systems the users can access on the left side or lower navigation pane (e.g. an entry point iview with sub-tasks for each environment) would be really cool, but I have no idea how to go about creating this.
    So far, I've figured out how to create an iView for a specific SAP transaction (not the S000 area menu though), and I've figured out how to create a role, assign that iView, and make the role an entry point so it shows up in the top level navigation, but I'm stumped on how to develop it further, preferably without a lot of programming.
    Does anyone have any tips or pointers on where I should go next?
    Thanks!
    Rich

    Thanks for the quick response.  Two more questions arise out of some playing with this.
    (1) The first iView in the list is always displayed automaticall; can I have it display an information page or blank page instead easily?  In other words, if I have a "SAPGUI" role with a "Systems" folder in it, and the individual iviews in the Systems folder, whichever is first is automatically launched when I pick the "SAPGUI" tab in the navigation menu.
    (2) Is there any way to get rid of the pop-up asking the user to open the *.ssd file to launch the SAPGUI for Windows?  We don't have ITS, so SAPGUI for HTML doesn't work, and SAPGUI for Java generates errors when I try to use it....
    Thanks!
    Rich

  • Example how to create simple ITS application

    HI All,
    there is simple and advanced example how to create ITS application
    i need step by step guide since i am new to this topic
    Thanks in advance
    Alex

    HI Edgar
    Thanks !
    I found this link below and i follow the instruction to create a sample of ITS application.
    since i cant publish the link (dont know why )
    you can find it in  saptechnical->Tutorials->Others->ITS
    (the second post )
    And use report RSUSREXT
    I follow the instruction step by step create template and web application and publish it.
    while running it from the browser I stop in the handler class (via breakpoints )but when I press F8
    I get in the browser the following error
    The following error text was processed in the system QD8 : Template interpretation failed. Template does not exist.
    The error occurred on the application server usciqd8_QD8_21 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    SYSTEM-EXIT of program SAPLSMTR_NAVIGATION
    Regards
    Alex
    Edited by: Alex Dean on Apr 27, 2010 9:59 AM

  • How to Create Simple In-Cell Charts with the REPT Function

    I found this technique on Juice Analytics, and was happy that I could adapt it to Numbers.
    Basically, you can create an in-cell chart by repeating a character, x number of times, where x can be a number or cell reference.
    See the screen shot below:
    [IMG]http://i240.photobucket.com/albums/ff100/MacFanMike/incell-graph.jpg[/IMG]
    You can read more about it, and download example here:
    http://www.numberstemplates.com/2007/08/29/tips-how-to-create-in-cell-charts-wit h-apple-iwork-numbers/

    I haven't tried myself but my guess is that you need to customize your tree cell editor for putting
    cursor at specific position, etc.

  • How to create simple JSP and deploy to J2EE engine?

    Hi,
    I need to create simple JSP pages and deploy it to SAP J2EE engine.. what is the procedure?...I may later add some businness logic but not needed for now.
    Please help
    Thanks,
    Jai

    Gabrie,
    Here are Simple steps,
    In the NWDS
    1) create J2EE -> Web Module Project    (XYZ)
    2) create/add your JSP pages to the project
    3) Right click on your project root and click on 'Build Web Archive' from the context
    3) create J2EE -> Enterprise Application project(EAR)
    4) Right click on your Web Module Project root and click on 'Add to EAR Project' from the context, select the EAR you just created in step 3.
    5)Right click on your EAR project root and click on 'Build WebApplication Archive' from the context
    6)Expand the EAR project node, and right click on the *.ear file, click on 'Deploy to J2EE Engine'.
    7)Enter your SDM password  when prompted,
    You can access you JSP at this url
    http://server:port/xyz/a.jsp
    - Dileep

  • Help!!! How to create simple menu with buttons.

    I basically need help on how to create a menu with Up, Left, Next and Back buttons.
    Then it must have a submenus like Telephone, Lights, Fans and Television.
    and more sub sub menus of On and Off buttons.
    Ive jut started to learn Labview and a newbie at it.
    It could be really nice if someone could make an example.
    Would appreciate it if it could work like Ipod interface.
    Thanksssss! Pls help!

    Duplicate post.

  • How to create simple XML database in oracle 11g

    Hi,
    what are the steps to followed to create a simeple custormer XML database.
    Like storing .xml file into XMLType, writing simple xml schema.....like that
    how to register the .xsd
    how to insert the xml data
    how to querying the the data base with xquery
    Thanks in Advance

    Have a look a the FAQ on the main page of this XMLDB forum. That's a good source to start (besides the XMLDB Developer Guide manual).

  • How to create simple online store

    Hello!
    If anyone could help me it would be greatly appreciated!
    I am looking at creating a very simple online store to sell some products on my site: www.hopeproject.co.za.
    Is there a very simple tutorial that can show me how to program it step by step in order for this to work?
    Any advice appreciated.
    Wes.

    In the meantime I took a good look at ecwid
    There is a video online here http://www.ecwid.com/video/ecwid-tutorial-video.html
    These people are form Russia, but don't let that put you of, they are the people behind F-Cart, X-Cart and LiteCommerce.
    Ecwid is really amazing, I  tried setting up a store and got it working in minutes. Pasting the code in the main content area of an empty page (both static and CMS-based)  is all it takes. It works great with some nifty touches like dragging and dropping into your bag. It is lightning fast and customisable through CSS.
    The software is in beta, meaning that they are adding things as they go.
    As it is now, I cannot use it since some things that are specific to my country (mainly payments other than Google Checkout and Paypal) are not yet supported. But if you are in the US you can already make a fully functional webstore, for free.
    So all you webheads check it out.
    here is the demo-store: http://www.ecwid.com/demo-frontend.html#ecwid:category=3003&mode=category&offset=0&sort=no rmal

  • How to Create simple WCF/REST (JOSN,get and post) and deploy to Sharepoint 2013 Server.

    HI All,
       I wan to create a simple WCF/REST service and deployed to SharePoint server , i have created some sample svc file and put in to _vti_bin folder using SharePoint solution using vs 2013 but its not accessible from IIS its always asking the Widows
    Authentcation .
    however my exact requirement is custom service should be accessible without asking the authentication like _vti_bin/Listdata.svc is there any way to do like this ? 
    my reference:
    http://platinumdogs.me/2013/03/14/sharepoint-adventures-with-the-rest-api-part-1/
    http://msdn.microsoft.com/en-us/library/office/jj860569(v=office.15).aspx
    http://dotnetmentors.com/wcf/wcf-rest-service-to-get-or-post-json-data-and-retrieve-json-data-with-datacontract.aspx
    http://stevenhollidge.blogspot.in/2011/09/wcfwebapi-rest-json-services.html
    Thanks
    SujilKumar
    Software developer

    Hi Sujil
    Greetings. pls check this link
    http://social.technet.microsoft.com/wiki/contents/articles/24194.sharepoint-2013-create-a-custom-wcf-rest-service-hosted-in-sharepoint-and-deployed-in-a-wsp.aspx
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • How to create simple Helloworld Portlet Channel

    Hi
    I am using Sun ONE Studio 5.0. I have created .war file and deployed into the Sun ONE Portal Server 6.2 using pdeploy. I got the deployment successful confirmation.
    But the portlet name not displayed in Sun ONE Identity Server portlet list.
    How to add our portlet name to Sun ONE Identity Server portlet list.
    Is there any solution for this problem?

    Using my own HelloWorld Portlet, I encountered the same issue on PS6.2. But, in portlet.xml, I replaced <portlet-app> tag with the following one, and it works after restarting web server.
    <portlet-app xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd /opt/SUNWps/dtd/portlet.xsd" version="1.0">

  • How to create simple 3D illustrations?

    Hello!
    Please, take a look at this image:
    I am looking for a way to create these simple kinds of 3D illustrations. I use Illustrator myself in my daily work, but almost never for 3D (probably because I almost never create any 3D material).
    My question is really about whether Illustrator is a good tool for creating these kinds of illustrations, or if anyone in here could direct me to a software program that is really good at this particular graphic?
    Thank you!

    To "project" anything drawn in-the-flat onto the top plane of an isometric cube:
    1. Rotate the artwork 45°
    2. Scale to 100% horizontal, 57.74% vertical ( because .5774 is the sine of the isometric angle, 35°16'').
    So in your diagram, you can save yourself some time by drawing the whole thing in the flat (all the base circles and the connector lines), selecting it all, and performing the two steps.
    With circles, the advantage of first rotating to 45° is that the anchorPoints of the resulting isometric ellipses will be oriented on the isometric axes, providing snap-to locations for alignment to other isometric edges. Alternatively, apply Object>Path>Add Anchor Points to the circle either before or after the vertical scale. That will add anchorPoints at the middle of each segment, and after scaling vertically, you'll have anchorPoints at the major diameter, minor diameter, and isometric diameters.
    If you then want to use true proportion for the height of the cylinders, move copies of the isometric ellipses vertically a distance of true measure multiplied by .8165—cosine of the isometric angle—(or scaled to 81.65% vertically).
    Example: Assume you want a properly-proportioned cylinder of diameter 1.25" and length .375".
    1. Draw a 1.25" circle.
    2. Scale it vertically 57.74%.
    3. DoubleClick the black pointer tool. In the move dialog, key your true-length measure (.375), followed by a multiplication symbol (*), followed by .8165. Then cllick the Copy button.
    4. White pointer: Select the bottom anchorPoint of both ellipses. Copy. Paste In Front.
    5. Press Ctrl and tap J twice (shortcut for Join). That gives you the side of the cylinder, to which you can now apply a horizontal linear grad.
    So you could draw that whole diagram in a matter of minutes and end up with properly-proportioned heights (if it matters), and end up with clean & tidy path constructions to which you can apply ordinary linear grads, instead of having the possibly hundreds of paths which 3D Effect will ultimately produce.
    On the other hand, you could also simply go ahead and use 3D Effect in its Isometric Top preset orientation, for each of the differently-shaped objects. Then store them as Symbols. Then stack and arrange Instances of the Symbols to construct the diagram.
    Example: Assume you want to draw the object that is labeled Supplier in your screenshot in numerical diameter-to-height proportion, with diameter 1" and height .5".
    1. Draw the green, blue, and orange objects in the flat. (Radial Grid tool would be handy for this.) Give them solid fills, no strokes. Group them.
    2. Proportionally scale the set of circular shapes to 72 pts (which is 1").
    2. Effect>3D>Extrude & Bevel. Select Isometric Top from the popup menu. Set the Extrude Depth to 36 pts (which is .5").
    3. Drag the result to the Symbols palette.
    4. Arrange as many instances of the Symbol as needed in the diagram.
    In other words, as long as you measure dimensions of the base paths in points, the Extrude Depth setting in 3D Extrude & Bevel is proportional.
    JET

  • How to create simple timer ?

    how to insert a simple timer to this code ?
    void jButton4_actionPerformed(ActionEvent e) {
    jLabel1.setText("Loading ..");
    // insert timer here
    setGetShow("A","t4d"," ","1");
    jLabel1.setText("Done.");
    }

    better use a thread class for this..
    i am not clear the requirement too..
    so please let me know the reauirement [email protected]

Maybe you are looking for

  • Using an eMac as a kitchen TV?

    I just bought a used 1.25 GHz eMac for the kitchen and I was wondering if it's reasonable to use it, with the appropriate peripheral solution, as a kitchen TV? We have DirecTV satellite and I've been looking at the Elgato EyeTV Hybrid device, but I w

  • Project resizing issues.

    Hi there, hope someone can help. I recorded my project and converted it to .swf before realising that the majority of the users of the video will be viewing it in a lower resolution. I initially didn't think this would be a problem until I realised t

  • SQL Query with Security

    Hi, has anybody work on a query on docmeta and revision table that can share with me (some examlpe). This query must have security enabled so that users can view only documents that have the right to see. Also that there is a security groups and acco

  • Oracle certification study material

    Want to prepare for certification for oracle implementor specialist : GL Exam code 1Z0-516.Please would confirm where will I get study material to preapre for this certification

  • Trying to enter my redeem code on my new desktop but it tells me my code is wrong. I know I am putting in the right code.

    How can I redeem my prepaid card if it keeps telling my it is the wrong code when I know it is the correct code?