1. Aleš Vojáček
  2. PowerBuilder
  3. Monday, 3 October 2022 16:37 PM UTC

Hi all,

I give another try to Autoscript function in PB2022 if it get any usefull and it has really weird behaviour.

Sometimes it selects whole line after word I'm typing and selects few chars from next line and as I'm typing it deletes selected area so it break nex line of source code.

Does anyone use Autoscript and is satisfied with that functionalyty?

 

Thank you Ales

Accepted Answer
Benjamin Gaesslein Accepted Answer Pending Moderation
  1. Tuesday, 4 October 2022 07:27 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi Aleš,

Autoscript "eating" parts of the code is a common glitch, unfortunately. [Ctrl]+[Z] can usually undo the damage. I wish it would work more reliably overall. Sometimes it won't work at all after adding new methods, variables or parameters unless you do an incremental or full build.

Comment
  1. Aleš Vojáček
  2. Tuesday, 4 October 2022 09:03 AM UTC
Ok.

And is it normal, that it repllace clipboard?

I will try to tweek some settings, but I'm getting mad with that. :-D

May be that only solution will be turn that off :-D

Thank you for your answer.
  1. Helpful
  1. Benjamin Gaesslein
  2. Tuesday, 4 October 2022 09:48 AM UTC
Yes, Autocomplete seems to use the clipboard to work, another unfortunate side-effect.
  1. Helpful
  1. Andreas Mykonios
  2. Tuesday, 4 October 2022 14:08 PM UTC
For this one there is an open case requesting an enhancement.

But I guess we should not expect this to be fixed until the script editor is modernized.

Andreas.
  1. Helpful
There are no comments made yet.
Andreas Mykonios Accepted Answer Pending Moderation
  1. Tuesday, 4 October 2022 05:53 AM UTC
  2. PowerBuilder
  3. # 1

Hi.

I do use autoscript. Don't know what are your settings, but in my case I do use it with following options:

I've seen the behaviour you are describing. But in most cases it works fine. The delay of 300 Milliseconds is a little small sometimes but I know which commands may be confused by the ide... Example: starting to type "de" for dec may be replaced by event deactivate, or "do" for double may be replaced by doubleclicked event... That's normal as I believe autoscript doesn't support datatypes.

Also, there is an option to activate only after a dot, but this mean that autoscript may be working with limited functionality.

Andreas.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.