Barry Kelly

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 170 total)
  • Author
    Posts

  • Barry Kelly
    Participant

    The hotspot as written is not correct.
    Also I wouldn’t be using a dash “-” (means subtract), I would use an underscore (“_”).

    Try this …

    HOTSPOT2 0, text_y, unID, text_x, 1 : unID = unID + 1
    HOTSPOT2 text_x, text_y, unID, text_x, 2 : unID = unID + 1
    HOTSPOT2 -1, text_y, unID, text_x, 3 : unID = unID + 1
    
    HOTSPOT2 text_x, 0, unID, text_y, 1 : unID = unID + 1
    HOTSPOT2 text_x, text_y, unID, text_y, 2 : unID = unID + 1
    HOTSPOT2 text_x, -1, unID, text_y, 3 : unID = unID + 1
    
    RICHTEXT2 text-x, text-y, “AC_TEXTBLOCK_2″

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

  • in reply to: Spam posts #18207

    Barry Kelly
    Participant

    Is this capcha addition their solution?

    It doesn’t seem to work very well as there are still spam posts getting through.
    And yes they are inconvenient – the Captcha and the spam posts.

    And still we (I) am seeing all of the “NEW” tags for the spam posts that are deleted before I can read them to get rid of the tag.
    Wish there was a way we could reset them – mark all as read?

    I can’t tell if there are new post unless I go looking in all the folders.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

  • in reply to: WALLHOLE ID Failing when saving window #18194

    Barry Kelly
    Participant

    Could it be an accidental space before the WALLHOLE ID?

    It will show up as a GROUP in the script like this…

    !! WALLHOLE 11C568E9-A66C-4F8B-A726-256092BDAB31
    group 	"group_CBE05540_454F_457B_8D5A_AF754CE73274"
        placegroup (result_D3A02F46_3F08_4F13_95C0_304B00794714)
    endgroup

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

  • in reply to: loop and richtext2 #18140

    Barry Kelly
    Participant

    I missed that the RICHTEXT and TEXTBLOCK commands were inside the loop as well.

    I just tested and yes it does work – so the error must be in the data for the ‘content’ array.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

  • in reply to: loop and richtext2 #18138

    Barry Kelly
    Participant

    I think the problem is you are creating the same Paragraph as you go throu the loop.
    So when I=1, you are creating … paragraph “CONTENT_PARAGRAPH_1”
    When I=2, you are creating … paragraph “CONTENT_PARAGRAPH_1”
    When I=3, you are creating … paragraph “CONTENT_PARAGRAPH_1”

    All the same paragraph but with different content … content[i][1]

    When you manually set ‘i’ to ‘1’ you now have the same content in the same paragraph, which is why it works.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

  • in reply to: Spam posts #18056

    Barry Kelly
    Participant

    Maybe I can reply to an existing post?

    Trying to post a new topic and nothing is happening after submit.
    And I have gone through plenty of those Captcha things.

    Lets see what happens to this.
    Or are all new post being vetted now because of the spam and they will appear later?

    Barry

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

  • in reply to: Layout Drawing Width Reference #4909

    Barry Kelly
    Participant

    Having a quick look at the ‘Built-in Drawing Title’ object, it appears that the drawing dimensions are stored in a parameter called ‘AC_DrawingRect’.
    In particular …

    xo = AC_DrawingRect[1]: yo = AC_DrawingRect[2]
    x1 = AC_DrawingRect[3]: y1 = AC_DrawingRect[4]

    Or if you want to use the layout width then it is the ‘AC_LayoutRect’ parameter.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

  • in reply to: Blocking the descriptions #4844

    Barry Kelly
    Participant

    Sorry, you actually want to hide the scripts.
    As Joachim mentioned, there is an old ‘Hidescripts.exe’ program that will lock the script buttons as shown in your image.
    It is very old (still works) and I think it can be found in the library developers kit (but I am not 100% sure).

    It is no longer needed now as the GDL objects have an option to set a password when saving.
    The objects can only then be opened with that password – so don’t lose it or keep a copy of the original object saved without a password.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

  • in reply to: Blocking the descriptions #4819

    Barry Kelly
    Participant

    You mean how do you unlock the scripts?
    You don’t – or at least you are not meant to.
    The author of the object has deliberately locked them so they can’t be accessed.
    Contact the author of the object to see if they will allow you access and if so they can send you an unlocked version.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

  • in reply to: Variable Mismatch #4797

    Barry Kelly
    Participant

    I would say …

    IF isFirstRun THEN
    	execute code....
    ENDIF

    At least this is what has been mentioned in other posts about it.
    I think it may be a little confusing and ‘isfirstrun’ only gets a value when it is the first run.
    I am not sure if it gets a higher value on multiple parameter script runs.

    I still don’t understand your code.

    ProHeight = abs(_yMax - _yMin)
    SquareV2 = ProHeight / ( cos(phi) )

    SquareV2 still has nothing to do with the first bit of code you posted.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

  • in reply to: Variable Mismatch #4792

    Barry Kelly
    Participant

    I am a little confused by your script.
    ‘SquareV2’ should never change as nowhere in your formula are you setting the value for it.

    To check for the ‘firstrun’ of the parameter script, you can try using this to catch it…

    First Occasion in Progress
    n = APPLICATION_QUERY (“parameter_script”, “firstoccasion_in_progress”, isFirstRun)
    This command returns whether the current run is the first run or a consequence of a previous execution of the parameter script which changed
    some parameters. This command has no additional parameters.
    The distinction may be important when a part of the parameter script executes a triggered event – e.g. it handles the pushing of a function button.
    isFirstRun: The returned value shows whether the current run is the first run

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

  • in reply to: Clear 'New' posts #4771

    Barry Kelly
    Participant

    A couple of weeks ago, ‘Maman Sukmana’ posted a few spam posts.
    His profile has since been blocked and the posts deleted, but they still show as ‘NEW’ posts in the forum.

    I managed to read one before his profile was blocked, so that has gone (for me), but two still remain.
    As we can not mark them as read, and of course can’t open them as they have been deleted, could admin please delete this user for good and/or clear these ‘NEW’ posts?
    See attached image.

    Thanks,
    Barry.

    Attachments:

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

  • in reply to: Emails not being sent #4762

    Barry Kelly
    Participant

    Yes they do work – so long as you tick the box.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit


  • Barry Kelly
    Participant

    I am so glad to have helped you.
    Thank you for thanking me.

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit


  • Barry Kelly
    Participant

    What about …

    if GLOB_MODPAR_NAME ="Parameter1" then
    Parameter2 = Parameter1 + 1
    PARAMETERS Parameter2 = Parameter2
    endif
    
    if GLOB_MODPAR_NAME ="Parameter2" then
    Parameter1 = Parameter2 - 1
    PARAMETERS Parameter1 = Parameter1
    endif

    Barry.

    Versions 6.5 to 22
    Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
    Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit

Viewing 15 posts - 31 through 45 (of 170 total)