Hi Jonathan, Yes, you're right. I try to do it. Yesterday I have managed to do that the script reads all data needed to fill the list read from an INI file, but currently I have a problem with the recursivity. It seems that JAWS does not support selfrecursion when a function calls itself, so in current form of the code I can nest only 2 levels. You write about destroying dialog and event scheduling. How can I do it? Tshaba 2013.11.04. 13:49 keltezéssel, Jonathan C. Cohn írta: > > Sounds like you are trying to reproduce the type of functionality that jaws > does with virtual ribbon and its DLL at least to some extent. In terms of the > dialog box a quick hack to the solution would be to destroy the dialog and > schedule an event to create it again. > Sent from my iPhone > >> On Nov 4, 2013, at 4:24 AM, Csaba Godo <arpadhazi68.jawsul@xxxxxxxxx> wrote: >> >> Hi John, >> >> Many thanks for you idea, but for me it is not a good solution. >> I'm working on a generalized listbox based application menusystem, in >> which are listed all executable scripts, belonging to the given >> application regardless of whether there is a keystroke defined or not. >> The list should be expandable by editing an INI file. The scripts should >> be accessible trough this list. In many cases there are so many >> keystrokes to memorize, that is impossible, but with this solution the >> user needs to know that Ctrl+Alt+M opens the application menu list >> dialog and there are all commands listed. If it is neccessary, the >> commands should be groupped into logical groups for the better >> accessibility. If the user selects one of these logical groups, then the >> content of the list changes and displays only the content of the >> selected group. In this case, as the first list item, is displayed the >> 3-dot (well known from the DOS world) as a sign how to go back to the >> previous list. As a beta version I would like to do it with JAWS only, >> but later I will use a COM dll in wich I can encapsulate all >> functionality for this. >> >> >> >> >> Tshaba >> >> >> 2013.11.04. 8:29 keltezéssel, John Martyn írta: >>> The better bet is to use the user buffer to call scripts. It works much >>> better and won't give you errors. The only problem is you have to >>> prepopulate the JSM file manually. Here is an example. It might be possible >>> to build a function to get all your scripts and make a user buffer but the >>> scripts would have to be more descriptive in that approach. >>> messages >>> @navigationKeys Navigation Keys >>> Go to Home Page %KeyFor (HomePage) >>> Go Back a Page or window %KeyFor (BackPage) >>> Go Forward a Page %KeyFor (ForwardPage) >>> Follow the currently playing song in the Music Library %KeyFor (FollowTrack) >>> >>> @@ >>> @informationKeys Informational Keys >>> Check the currently playing Artist and Song %KeyFor (CurrentlyPlaying) >>> Check the currently playing song's timecode %KeyFor (Timeline) >>> Check information in the LCD window %KeyFor (Information) >>> Check the Track Totals status bar %KeyFor (TrackStatus) >>> @@ >>> @windowAccess Window Access >>> Access the Sources Sidebar %KeyFor (GoToSidebar) >>> Access the visible track or window list %KeyFor (GoToTrackList) >>> iTunes Store Web interface %KeyFor (GoToWeb) >>> @@ >>> @windowOptions Window Options >>> Use the search feature %KeyFor (EditSearch) >>> Fast forward through a song %KeyFor (FastForward) >>> Rewind through a song %KeyFor (Rewind) >>> Uncheck and check songs in the track list. %KeyFor (BoxyBoxy) >>> Enable or disable the column browser. %KeyFor (ColumnBrowser) >>> Change the column positions and sort columns. %KeyFor (ColumnSort) >>> Enable or disable multiSelect %KeyFor (MultiSelect) >>> Access the window sort options %KeyFor (WindowOptions) >>> Shift a track up in a playlist %KeyFor (ShiftUp) >>> Shift a track down in a playlist %KeyFor (ShiftDown) >>> Drag and Drop playlists %KeyFor (DragNDrop) >>> Apply an equalizer preset to a song or group %KeyFor (Equalizer) >>> Apply a genre to a song or group %KeyFor (ChangeGenre) >>> Apply a rating to a song or group %KeyFor (ChangeRating) >>> Multi Check or Uncheck by Artist or Album %KeyFor (UncheckItems) >>> Access the Helper functions %KeyFor (HelperScripts) >>> >>> @@ >>> endmessages >>> >>> -----Original Message----- >>> From: jawsscripts-bounce@xxxxxxxxxxxxx >>> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Csaba Godo >>> Sent: Sunday, November 03, 2013 11:21 PM >>> To: JAWSScripts List >>> Subject: [jawsscripts] DlgSelectScriptToRun function problem >>> >>> Hi guys, >>> >>> I need some help in scripting DlgSelectScriptToRun function. This function >>> displays a dialogbox and the list on it can be filled with items, which >>> could start directly scripts by pressing spacebar. My problem is when I >>> start a script from this list, which uses InputBox function, then after >>> terminating this script I can not display the script list dialog again, >>> because I get the message that one of the JAWS dialogs is opened and until >>> closing it I can't display a new one again. >>> >>> Here is my script: >>> >>> Script ShowScriptSelector() >>> ; Displays the script chooser dialog >>> ; Ctrl+Alt+M >>> >>> DlgSelectScriptToRun("InsertFraction", "LateX Inserter", TRUE) EndScript >>> >>> Script InsertFraction >>> var string sA >>> If InputBox("Enter the fraction:", "Fraction", sA) != 0 Then >>> TypeString("Entered fraction: " + sA) EndIf EndScript >>> >>> It seems when in the script list I choose an item and press spacebar, then >>> JAWS does not close this dialog immediately before running the selected >>> script, but hides it. So when the "InsertFraction" script ends then the >>> hidden script list dialog stays opened and lacks the JAWS open it again. Do >>> somebody have idea about a workaround for this problem? >>> >>> Thanks in advance! >>> >>> Csaba >>> __________ďż˝ >>> >>> View the list's information and change your settings at >>> http://www.freelists.org/list/jawsscripts >>> >>> __________ďż˝ >>> >>> View the list's information and change your settings at >>> http://www.freelists.org/list/jawsscripts >> __________ďż˝ >> >> View the list's information and change your settings at >> http://www.freelists.org/list/jawsscripts >> > __________� > > View the list's information and change your settings at > http://www.freelists.org/list/jawsscripts > __________� View the list's information and change your settings at http://www.freelists.org/list/jawsscripts