I found something that works, although I don't know if it's good practice.
In my 'idle case' I check if the Extra session is active. If it's not (meaninf the user has exited Extra whie the dialog is still up), I use the DestroyWindow function to close the dialog box. I was worried about how...
Yea, I tried an Exit Function - doesn't seem to work. Is there some way to 'simulate' a button press?
I use the idle case to check if the Extra session is the active window. If it's not, then I hide the dialog window, otherwise I show the dialog window. Seems to work good.
The only problem...
I'm using a dialog similar to the on below (copied from another post).
Under 'case 5' (idle) I am checking to see if the Extra session window is still open. If not (user has closed it) then I also want to close the dialog box. I am setting FileDlgFunction = False, but the dialog box does not...
Thanks, for now we are closing the session, updating the session file, then reopening the session. will have to stay that way until I have more time to look at it.
Anyone know how I can enable Hotspots via an Extra Basic macro? Right now we do it by shutting down Extra, then altering the session file, but I'd like to do it without shutting down Extra.
I know how to set the HotSpot scheme, just need to know how to Enable hotpots.
Thanks.
Our app allows users to personalize the labels and they sometimes use long labels and are asking that they be left justified.
I guess I can just use LEFT(fieldname,10) as the label. I'll try it.
I think we solved our problem. It seems that there is a problem when you use both Hotspots and Screen History in Extra. We turned off Screen History in our session file (EnableHistory=NO) and this cleared up our problem. It's like the saving of the screens causes some sort of delay that...
Sorry for the basic questions but:
How and when do you run this script? These Hotspot problems are happening as I navigate through the screens of our mainframe application (no macros/scripts running). I'm not sure how or when you're running your code in order to 'clear' the hotspots.
Thanks.
So, are you saying that you've experienced the problem where the Hotspots don't clear? What version of Extra are you running?
"I was playing around and making the session.visible switch from TRUE to FALSE to TRUE and it worked."
"I set it up on a timer to refresh the HotSpots at 5 seconds if...
Hmmm... not entirely sure what you mean. By auto-invoke do you mean macors that are started by clicking on a hotspot?
Our hotspots are behaving unpredictably even if we don't invoke them or run any macros. We navigate to the screen with the hotspots and can see them there, but then we...
We have some hotspots defined for our system using Extra Xtreme v8. The problem we are having is that intermittently, the hilited areas still show up on another screen. In other words, the hotspots show up and respond as expected, but when we trsfer to another screen, the buttons still show up...
In Extra Xtreme v8 the following shows at the bottom of the screen:
Keys:0000 Saved:0000
Is it possible to update the 'Saved' number. I want to use this to show users how many keystrokes they're saving by useing our macros. I assume that this is the purpose of these numbers?
Thanks.
Skie, I think you're right, that was probably it. I ended up using global variables to pass the info to the called macro.
CompuDork, do you have an example of running a macro the way you're suggesting?
btw, I ended up posting this question in the "Home>Forums>MIS/IT>Inter-Connectivity...
Cool, thanks. I'll likely have more simple questions as I'm totally new to Windows based programming (if you can call it that). Long time mainframer here.
How do I retrieve the userid of the currently logged on user? Do I use the Environ function? Then I need to hard code the location of the UserName variable in the env table?
Thanks
Thanks, I was aware of that, but I need to scrape fields off of several application screens, as well as retrieve info from a falat file nad a spreadsheet, then combine that info into an email.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.