Drawing a triangle shape through a script, reading a limits of the selection and the pointer of the mouse?

Hello...

It's a little more complicated, I guess...

dialog sample.jpg

I am looking for a way to automate the work I do for a manga magazine - cartoon or whatever they are called... I have a dialog box in an oval shape that is already formatted with a style of object to look like the oval in the left part of my image. I would like the script to read the position of the mouse pointer - I ran the script after selecting the oval and the place where the oval must point hover with the mouse... (In the picture so you can imagine my cursor somewhere in the lower left of the image, in the second part of the image corresponding to the angle of the triangle) I imagined this operation in at least two steps, the triangle (arrow) of the oval is a separate object (I would join the two forms later). The triangle can be with streight lines or maybe a little bent, for a most desirable look. I have no idea where to start, for now I create ovals and duplicate the triangle an old and position (+ turn) until I'm happy, after that I could join them. I hope the picture can better explain what I'm looking for.

I know it is hard work - I think it may be useful for others, as it would be a good challenge for the very smart Scripting Guys of this forum...

Thank you..

Maybe you can use a single line to indicate the direction and the location where to that you must point.

I did Speeech.js to illustrate this approach:

http://www.Indiscripts.com/post/2012/01/speeech

@+

Marc

Tags: InDesign

Similar Questions

  • Rub through a Clip with position y of the mouse

    Hi all

    Off I want to first of all thank you for taking time in your day to help me.

    I am a super noob with Flash, but have been charged with something quite simple (in theory) of my company.

    Basically, I have a video that needs to be cleaned back and forth framework until the end of the video using Flash player on a computer with a Spinner device as user input device.  For those of you unfamiliar, a spinner is essentially a device connected via the usb port that uses only the movement of the axis y of the mouse. However it is not equivalent to the scroll of the mouse wheel (this is how I thought it worked at first), just the mouse y axis movement. There are no buttons that can be pressed on this thing by the way.

    I've scoured the web for hours but unfortunately I don't even know how Word whatever it is looking for a good tutorial. I found many things that teach you how to make a scroll bar that you can click and drag, but I'm looking to control rub it through the movement of the mouse only. Is it still possible?

    Thank you in advance for your help!

    PS. I use Flash CS3 and you want to use AS3

    Rub to mount you need to put this to the video directly on the timeline. If you tried to use something like FLVPlayback he would be able to seek() in keyframes. Add the video directly to the timeline is going to move.

    Essentially, you want to listen to the movements of the mouse on the axis y. It occurs to me that the spinner is unlikely to affect the actual position of sliders which is the event that you would listen to with a normal mouse. That does mean that you can not try to listen to mouse events test if the Flash can be read.

    Before going forward, open a new document in AS3 and click on frame 1 and open the Actions Panel. Paste this code, test the movie (CTRL / CMD + SHIFT + ENTER) and then play with the spinner and see if you see no output:

    import flash.events.Event;

    import flash.events.MouseEvent;

    addEventListener (Event.ENTER_FRAME, init);

    function init(e:Event):void

    {

    removeEventListener (Event.ENTER_FRAME, init);

    stage.addEventListener (MouseEvent.MOUSE_MOVE, handleMouseMove, false, 0, true);

    }

    function handleMouseMove(e:MouseEvent):void

    {

    trace ("MouseMove:" + e.stageY);

    }

    If you are lucky, you will see a kind of value you can use. If you do, give us an example of this output, and we will go from there.

  • run a package through shell script

    Hi trying to run a package through shell script.
    But it is failling. Some may point out why?

    Here is the code im with


    ==================

    sqlplus user/pwd s < < EOF
    coil file.log

    START the user. PKG_Name.RUN_job;
    commit; END;
    spool off

    output
    EXPRESSIONS OF FOLKLORE

    ===========================


    I am able to run using the code below Toad.

    'BEGIN user. PKG_Name.RUN_job;
    commit; END; »

    What error do you get? Use
    sqlplus user/pwd s<>
    coil file.log
    START the user. PKG_Name.RUN_job;
    commit; END;
    /
    spool off
    output
    EXPRESSIONS OF FOLKLORE

    Kind regards.

  • I have verticle colored lines - from the bottom to the 1/2 in screen - I can see through them to read - I need to know the WAY to delete these lines

    I mâtinées verticle lines - from the bottom to the 1/2 in screen - I can see through them to read - I need to know the WAY to delete these lines - I once, a few years ago, removed, but they reappear - not my conscious fault - this is my old computer - A Compac - Windows 95 as an operating system

    Hello

    You should check with Support of Compaq, their documentation online and drivers,
    and ask in their forums about known issues.

    Microsoft product support has ended for Windows 95 a decade ago.

    Compaq - support, drivers and documentation online
    http://www.Compaq.com/country/cpq_support.html

    Compaq (HP) - Forums
    http://h30434.www3.HP.com/PSG/|

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Hi - I am trying to draw an irregular shape (series of straight lines) and fill it with the color... How can I do this?

    I need to draw a shape irregular, closed, which is a series of joined lines and fill it with the color, etc., I can only see square, polygon, etc...

    Any suggestions?

    You can set the polygon tool to 3 sides, or use the pen tool.

  • Using reader XI (eleven).  The line in the file download has become black.  How to line back drawing?

    I use reader XI (eleven).  I downloaded the manual from my camera Nikon S9700 (pdf) and now the art of the line appears as black images.  How to restore the line drawing?  Document was created in Adobe 5.X.  I downloaded the latest version of the manual of the device and same condition exists.

    Answered my own question: under preferences > accessibility > Document Color Options I had selected "Replace Document colors".  Don't you love when things work?

  • How to create a job through python scripts Manager

    We try to automate the entire deployment process. We have automated all other parties such as jdbc and jms creation, deployments of the ear. Please help me to create frameworks through python scripts.

    Hello

    Please refer to the money site, it can give you information about the Manager working python script.

    http://middlewaremagic.com/WebLogic/?p=2691

  • Need to block specific files to be seen through writecopy (Adobe Reader - Accessability)

    Adobe Acrobat is a new feature for Accessability.  If the accessibility equipment is on the PC, Adobe reader will open with frequent messages for accessibility (accessibility.api or readoutloud.api).

    That's a virtual IE6 without adobe acrobat reader installed. Acrobat Reader is outside of the virtual application on the local PC.

    Is there a way to block specific files to make it past thru; but getting the rest of the file structure?

    "Delete" since an embedded .vbs script file. Assuming that the directory has the writecopy isolation mode, it will be only to mark the file as deleted in the sandbox, not actually remove the file from the system. However, any attempt to open the file of the virtual application will fail because the virtual application is the file is no longer there.

  • can I change through MAXL Scripts database connections?

    Hello



    I just want to know if I can change through MAXL Scripts database connections. I use essbase 9.3.1.

    Hello

    MAXL will allow you to automate metadata or loading using a rules file, you can pass a name of user and password different to the SQL query, but you it won't let you change the connection that is associated with the rule.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • How to connect to remote Oracle through shell script server.

    Hi, I'm new to Shell scripting. I try to connect to remote oracle system, but I think Sqlplus not found error. I have sqlplus executable inside bin under oracle home, but still, I get the same error. can someone guide me to get this thing done.

    export ORACLE_HOME=/opt/oracle/oracle11g/product/11.2.0
    export NLS_LANG = American_America.US7ASCII
    export LD_LIBRARY_PATH = $ORACLE_HOME/lib: $LD_LIBRARY_PATH
    Export ORACLE_PATH = $ORACLE_HOME/bin
    export PATH = $ORACLE_HOME/bin: $PATH

    sqlplus-s/nolog < < EOF
    connect wcadmin / [email protected]:1521 / wctest98
    Select * twice;
    output
    EXPRESSIONS OF FOLKLORE

    Please describe in more detail what you are doing. You run scripts 2 or is it in a script? If you set the variables of Oracle in a separate script, you need to run the script.

    Source to run a script, the commands in the script are executed as if you type to the current command prompt. A script that is not executed source will lose the variables that you define in the script when the script stops. You can source run a script using the '. '. " script" or "source" (bash). The export command adds variables to the environment of the executed orders later.

    See the following examples:

    cat > shelltest <
    
    Test1:
    $ a=a
    $ ./shelltest
    
    $ echo $a
    a
    
    Test2:
    $ export a=a
    $ ./shelltest
    a
    $ echo $a
    a
    
    Test3:
    $ . ./shelltest
    a
    $ echo $a
    b
    
  • Create a script of automatic action for the 3d rotation effect

    Is it possible to create a script action that automatically applyes rotation with specific settings 3d effect?

    An example would be when I press F2 it rotates the object instantly with my specific parameters without having to rely on anything else.

    Ok.

    you draw a shape, you want. Go to effect > 3D > Rotate and apply the desired settings.

    When your object is selected, go to the graphic Styles palette (window > graphic styles) and create the new graphic style (be it in the palette menu) or the small button. Call something memorable.

    Draw a new object, once again what you want. Open the actions palette (window > Actions). Create new action. Give it a name and assign it to a function key, and then click OK (the action will begin recording).

    Select your new object, then select your new graphic Style in the graphic styles palette. It should apply your 3D settings to the new object.

    Click on the button stop at the bottom of the Actions palette.

    create the new object, select it and press your chosen key. Enjoy.

  • the letters on the pages I open are really small, I get about an inch of my screen to read - how to enlarge the letters on Firefox?

    everything I opened is to small to read, I can't read my emails because the lettering is micro-petit. The letters in the browser are legible. I went through microsoft help and he did increase the letters in the browser - same prblem here on Firefox. Help

    Firefox remembers the settings of zoom on a per site basis. Maybe you just need to zoom in more. Use the keyboard Ctrl key & more

    That is to say the key to control with it, then press the sign next to the BACKSPACE key.

  • Read a resistance of the diode by vs NI USB multimeter

    Hello

    I read a resistance of the diode at some entrances to supply voltage

    and I found that

    to 0.2 V

    the value of resistance by NI USB-6212: 200 ohms

    the value of resistance of meter: 2 kohm

    0.5 v

    the value of resistance by NI USB-6212: 500 ohm

    the value of resistance of the multimeter: 5 kohm.

    Could you please let me know why the values are different by 10 times?

    Thank you.

    No - we can't measure the resistance in this way.

    To measure resistance, you normally spend a current known and then measure the voltage. A DMM will be repeated by generating a little known current and measuring the internal tension. If you provide an external voltage thus, DMM internal resistance measurement will not work.

    For the LabVIEW - The USB-6212 can measure the tension. If you want to measure resistance, while the unit is plugged, you need to know/measure current (for example through a shunt resistance) and the tension and then do R = V / I for the resistance. I don't know what the argument of type 6212 if you try to perform a measure of 'resistance', as it is not a source of internal current.

    Oh, I thought that this all seemed familiar - here's a similar thread: https://forums.ni.com/t5/LabVIEW/daqmx-resistance-measurement-6251/td-p/3267084

  • Drawing line with the mouse clicks on picture indicator

    Hello

    I need to import a JPG file in an image control, draw a line in 2 clicks, read bothe XY positions and perform some basic trigonometry. Any simple or striaghtforward way to draw the line with the mouse and read thos passay on the bitmap (positions relative pixel)?

    Thanks in advance,


  • Using custom control: draw a line and output start and end points

    I'm looking to find or make a custom control (or simple Subvi), which appears as a grid of 100 x 100 unit and allow me to draw a line from one point to another on this grid. It will then display (x, y) of departure and the point of this line on the grid.  Any help or ideas?

    Thank you

    Steve

    LabVIEW 2009 SP1

    You want essentially is a loop with an event structure when you process mouse down, move and up to events for the controls. There are several ways to implement something like that, but it will be probably the simplest:

    1. Use a table or a listbox multicolumn for your grid. Hide scrollbars and headers.
    2. You can use the ActiveCell property to-2, - 2 to select all cells. You can then use the cell size property to define the exact size of the cell.
    3. Then you put a picture on the top of the table control and color its transparent background so that the table shows through. Property node allows you to ensure that both line up on exactly the same location and size.
    4. You use the mouse on the image control events to detect clicks and moves.
    5. Point of the table to the method of the column line allows you to translate the position data of the event to a cell.
    6. You use the image control screws to draw the line on the photo based on these data.
    7. You can even color the cells selected in the table by using the table properties.

    If you want to simplify things a bit, you can also use the event of timeout instead of moving the mouse event to draw the line, but then you keep the timeout value in a shift register and hand it to-1 (no timeout) when the mouse event to the top.

    I would also say treatment mouse enter and leave events to change the cursor and cancellation if the user leaves in the middle of drag.

Maybe you are looking for

  • I have HP Envy 5530, how to print images on T-shirts?

    I have a HP Envy 5530 and have no word, does.  How to reverse the image for printing on t-shirts? Anyone able to help.  I need help by Tuesday, May 13, if possible. Thank you phylboyse

  • Aspire One netbook and Linux

    I have an Aspire One netbook for Christmas and after Windows 7 browsing around, I found that a lot of people prefer Linux over Windows, and it has tempted me to try Linux instead.  I've always been a Windows user, so I would like to try something new

  • Update apps for always on nine photosmart 7525

    All wireless on my photosmart 7525 functions work well, except when I try to access applications on the printer. I hit the "apps" on the touchpad and it said update applications, then cancel. I tried things like the reset of the router and manually c

  • 80070843C Windows update crashes

    In the normal run windows update when you try to run "windowsupdate", Explorer freezes. No output. When lance safe mode, always is abandoned but get 0x80070843C.

  • thinkpad R61I 7650 model-C9G fan

    Can someone give me exact SKU fan for this model? My fan is not good right now and I want to replace it. Thank you.