Jump to content

OKScript not working anymore


emelnl

Recommended Posts

After using OKScript for over a year now, its only works intermittently. Sometimes, keys send to BBO arent processed by BBO. This has happened after installing latest version(503).

 

Almost always the automatic filling of a new tourney fails now; it seems that the textbox or window cant received anything. Even sending messages to tourney chat arent displayed always, but sometimes they are.

 

i am using XP prof, all updates. My HOSTS files blocks all ad-addresses like adclick, fastclick etc

 

its very annoying... Fred plssssss help me:))))

Link to comment
Share on other sites

Sorry but I have only a vague idea of what OKScript is and I have almost no idea how it is supposed to work or why it is not working anymore.

 

If someone can figure out what is going on and tell me what needs to be done to fix the problem then most likely I will fix the problem, but this is not something I am prepared to spend much time on.

 

This position is not meant to be a value judgment about OKScript - I am sure it is a useful program. The reason I don't want to get involved is that I am busy busy busy working on several other things and this rates to continue for a while.

 

Fred Gitelman

Bridge Base Inc.

www.bridgebase.com

Link to comment
Share on other sites

OKscript is a pay product. I use RemoteKeys which you can find with a google search. I can give you one concrete thing that never works. I still use this to help alert my forcing pass system since FD can't properly alert passes (grumble). What I would do is click alert, then pass and click on my pass and when the alert box comes up I'd click on the button in RemoteKeys to provide a description of the bid. This has recently stopped working.
Link to comment
Share on other sites

OKscript is a pay product.  I use RemoteKeys which you can find with a google search.  I can give you one concrete thing that never works.  I still use this to help alert my forcing pass system since FD can't properly alert passes (grumble).  What I would do is click alert, then pass and click on my pass and when the alert box comes up I'd click on the button in RemoteKeys to provide a description of the bid.  This has recently stopped working.

Occasionally I have had same problem. In Remotekeys it is about last command:

 

/APP.ACTIVATION.LAST

/APP.OPEN file[,par]

Link to comment
Share on other sites

Yes, I was one of the lucky guys again, but my problems have gone.

I'm using OKScript on my PC and on my laptop. After the 5.0.3 update I

got some problems running my script on my PC. OKScript was still working

fine on my laptop. On my PC OKScript buttons for sending messages to the

room, to tournament and private calls to players didnt work well. My

script for creating tournaments never failed.

 

After the Travelocity "fun" I'm running programs like Registry Mechanic,

What's Running and Spybot rather often. Did I make a mistake and did I

remove an important registry entry? If I can not solve a problem I

finally try the systemrecovery way :) and it worked fine. So I thought I

might have made a mistake. Until emelml and Todd wrote above about their

experiences, of course.

 

emelnl and Todd : Don't ask why, try! :)

 

Fred:

"OKScript automates the sending of repetitive keystrokes and mouse

actions to other Windows applications in a flash!

OKScript automation is activated from a "control panel" of custom

buttons/menus created from instructions that are entered into OKScript's

multi-file script editor. "

 

A small example:

 

BUTTON "say hi" black-yellow

CALL sayhi

- explanation: clicking the "say hi" button on the controlpanel (button with black text

- explanation: on yellow background will call the procedure sayhi

PROC sayhi

WINDOW Bridge Base Online

- explanation: go to the BBO window

DELAY 500

- explanation: wait half a second to be sure the window is found

PUT {ctrl}T

- explanation: send ctrl-T to the BBO window

- explanation: chat to tournamentwindow opens

PUT Hi{enter}

- explanation: send the message

 

But you don't have to spend your time to OKScript. That's not causing

the problems a few of us have met.

 

Todd:

"OKScript-X is provided free of charge. If you find the program useful

and effective please consider expressing your appreciation by making a

donation to help defer the ongoing development, support and web hosting

costs."

Link to comment
Share on other sites

Sorry but I have only a vague idea of what OKScript is and I have almost no idea how it is supposed to work or why it is not working anymore.

 

If someone can figure out what is going on and tell me what needs to be done to fix the problem then most likely I will fix the problem, but this is not something I am prepared to spend much time on.

 

This position is not meant to be a value judgment about OKScript - I am sure it is a useful program. The reason I don't want to get involved is that I am busy busy busy working on several other things and this rates to continue for a while.

 

Fred Gitelman

Bridge Base Inc.

www.bridgebase.com

OKS, creates keyboard and mouse Events and sends them to a window.

OKS identifies the window to send the messages to, by scanning the window title (the text displayed in the blue bar on the upper side).

 

Example:

If opps e.g. click on a bid a dialog box appears with "Explain" in the title. If you click on the prepared button of OKS it will send the explanation text to the first window it finds with "explain" in its title.

 

So if you have changed something about the main window title, maybe changed the character coding or something like that, OKS will no longer find the the right window.

Link to comment
Share on other sites

"So if you have changed something about the main window title, maybe changed the character coding or something like that, OKS will no longer find the the right window"

 

right and OKS will stop running and give the error message "can't find window:" + the name of the expected window

Link to comment
Share on other sites

So if you have changed something about the main window title, maybe changed the character coding or something like that, OKS will no longer find the the right window.

Nothing has changed in this area.

 

The only window-related thing that has changed is that the ads in BBO now appear within their own "window". I put window in quotes here because it is only a window from a programming point of view - it is not a window in the same sense as the Movie window (for example).

 

If this is the cause of the problem then try playing at a table with BBO set to "narrow mode" (you can use Control-W to switch between narrow and wide modes). In narrow mode there is not enough space on the screen for ads to be displayed. If OKScript always works in narrow mode but does not always work in wide mode then the table ads are almost certainly related to this problem.

 

Please note that knowing the ads are related to this problem does not necessarily mean that solving this problem will be trivial.

 

Fred Gitelman

Bridge Base Inc.

www.bridgebase.com

Link to comment
Share on other sites

I've done a little testing and here is the result:

 

1) The title of the the window for the bidding explanation, is now translated, so i needed to change that.

 

2) If you use a MACRO to define the window name it does not work!

If you don't use a MACRO you are only able to can only use one word from the title. And it must be unique so that it does not appear in any other window (e.g. BBO Forum title ...).

 

Example:

 

MACRO ToTable "Bridge Base Online"

BUTTON glP %Chat% %ToTable% ^sglp {enter}

 

and this is not working any more.

 

If I change it to:

 

BUTTON glP %Chat% Online ^sglp {enter}

 

it is working at the table.

 

I'm not in the mood for further testing. Perhaps someone has an idea what is why strings are no longer the same....

Link to comment
Share on other sites

I think the problem is timing. It looks as if the message queue of the program doesnt always responds. The strange thing is... the same script and functions work sometimes, esp if the target textbox is filled(witha spce e.g.)
Link to comment
Share on other sites

I have noticed that sometimes I can get something to work by clicking on the button twice quickly in succession. The first may not work but the second sometimes will. Unfortunately, this also sometimes prints the message twice. I run this same scripting tool on two totally different machines and noticed the same problem at the same time when the upgrade to 5.0.3 occurred.
Link to comment
Share on other sites

  • 2 weeks later...
So if you have changed something about the main window title, maybe changed the character coding or something like that, OKS will no longer find the the right window.

Nothing has changed in this area.

 

The only window-related thing that has changed is that the ads in BBO now appear within their own "window". I put window in quotes here because it is only a window from a programming point of view - it is not a window in the same sense as the Movie window (for example).

 

If this is the cause of the problem then try playing at a table with BBO set to "narrow mode" (you can use Control-W to switch between narrow and wide modes). In narrow mode there is not enough space on the screen for ads to be displayed. If OKScript always works in narrow mode but does not always work in wide mode then the table ads are almost certainly related to this problem.

 

Please note that knowing the ads are related to this problem does not necessarily mean that solving this problem will be trivial.

 

Fred Gitelman

Bridge Base Inc.

www.bridgebase.com

U are right Fred. Even manually ( click on ad and then start typing) the chat box doesnt open, while if u click on chatarea and then start typing it does.

 

If u can prevent the ad-window to get focus ( i bet you can;))

or return focus to boc, ill be thankful

 

Regards, Martin

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...