ADM CheckBox on Mac OS X on Modal Dialog
I am trying to add a modal dialog under the Illustrator menu for the plugin I am writing.
The modal dialog is showing up and the popups I am using are working correctly but I am having problems with my checkbox. When I call SetBooleanValue on my CheckBox If I pass in false or 0 it seems okay but if I call SetBooleanValue to set the checkbox to checked by passing true the checkbox does not appear. I believe the checkbox is checked because I need to click on it twice to get the checkbox to appear. In Illustrator I can check and uncheck the checkbox manually fine. When I try and use GetBooleanValue to get my value of the checked item it always returns 128.
The behavior is the same under AI 3 or AI 4. I am using a DLOG resource in a adm.rsrc file that I have added to my project. Any help would be appreciated.
/// setting value
ADMBoolean checkBoxValue = lBoolValue; // 0 or 1
sADMItem->SetBooleanValue(sADMDialog->GetItem(dialog, kStoreTextItem) , checkBoxValue);
/// gettting value
ADMBoolean bShouldStoreText = sADMItem->GetBooleanValue(sADMDialog->GetItem(thisDialog, kStoreTextItem));
/// bShouldStoreText always returns 128
Grant Hickey
Why is it so hard to specify ADM item in MAC resource file?
I want to create a check box
resource 'CNTL' (someItemId, purgeable) {
{04, 14, 18, 14}, // top, left, bottom, right
visible,
ItemID, // ProcID
0,
The ItemID specifies the checkbox, but where do you find all these IDs?
The only place I can find is in the samples.
No documentation for this type of stuff anywhere!
I don't know how you guys tolerated this rubbish all these years.
Please help!!!!!!
Similar Messages
-
[Mac/CC 2014] modal dialogs can't be displayed
Hi everybody,
I have ported a plugin from CS6 to CC2014, which works fine for almost everything, except one. Modal dialogs seems not to work anymore. For example, this code:
CAlert::InformationAlert(PMString("Hey, display me!"));
makes InDesign freezing. More precisely, InDesign displays a while rectangle, which seems to be the modal dialog. But there is nothing more, juste this white rectangle. I can move it, but can't interact with it. As it is a modal dialog, the application refuses all further interaction, and I can't close that modal.
I have noticed this behavior was the same with, for example, a Yes/No modal dialog. I suppose this happens on every modal dialog types.
Is there anything that can cause a modal dialog not to be able to display correctly?
Some pieces of informations on versions :
OS : Mac OS 10.9.4
InDesign : 10.1.0.71
Thanks to anybody providing any piece of advice.
RémiMust have opened my eyes after waking up...
I think I guessed what happens. This modal dialog is called from a model plugin, which works in CS6. I guess Adobe has removed support on anything that is UI-related in model plugin. But instead of generating an error, it makes some mess. I'll try to move the piece of code surrounding the modal dialog call to my UI plugin and see what happens. -
Modal dialog bug in Illustrator CS3, CS4 (Mac)
Using the latest point version of Illustrator CS3 and a newly installed copy of Illustrator CS4, I have noticed a consistent bug on at least two different Macs (10.5.5). This bug pops up when you have a text item with optical kerning, and you try to manually adjust the kerning between characters. The value in the kerning field of the Character Panel has parenthesis around the numbers to show that it is a calculated value. If you change the numbers, but accidentally leave the parentheses, a modal dialog pops up saying, "Invalid numeric value." It is not possible to dismiss this dialog, and it is necessary to force quit the program.
When the text is Auto-kerned, and one makes the same mistake, the parentheses are automatically removed for you.
Using Illustrator CS3 in Windows, the "Invalid numeric value" dialog pops up under the above scenario; however, one is able to dismiss this dialog and resume working.I wasn't quite sure where to submit bug reports, which is why I posted here. However, I finally did find the bug report form on the Feedback tab of Adobe's Contact page. So I just reported this bug.
-
Open Modal Dialog in Photoshop (Mac)
I can't seem to open a modal dialog in Photoshop on the Mac with the CS SDK. The code works fine in InDesign. In Photoshop, the modality is there (the application responds to mouse clicks with a bell) but the window is not visible. Here is my mx:WindowedApplication:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
import com.adobe.csxs.types.CSXSWindowType;
import mx.core.Window;
protected function onClick(event:MouseEvent):void
var w:Window = new TestDialog();
if (w) {
w.type = CSXSWindowType.MODAL_DIALOG;
w.resizable = false;
w.open();
]]>
</mx:Script>
<mx:Button x="10" y="10" label="Open Popup" click="onClick(event)"/>
</mx:WindowedApplication>
The Window itself is more or less copied from the "MakeSideHeads" sample project:
<?xml version="1.0" encoding="utf-8"?>
<mx:Window xmlns:mx="http://www.adobe.com/2006/mxml"
title="Test"
titleAlignment="center"
layout="absolute"
width="300"
height="100"
showStatusBar="false">
<mx:Script>
<![CDATA[
private function myCloseWindow():void{
this.close();
]]>
</mx:Script>
<mx:Canvas width="100%" height="100%" id="TestPanel" backgroundColor="#D2D2D2">
<mx:VBox verticalAlign="middle" horizontalAlign="center" height="100%" width="100%">
<mx:HBox height ="90%" width="100%">
<mx:Text width="100%" height="100%" text="Some Text"/>
</mx:HBox>
<mx:HBox height = "10%" horizontalAlign="center">
<mx:Button id="CloseButton" label="Close" click="myCloseWindow()" />
</mx:HBox>
</mx:VBox>
</mx:Canvas>
</mx:Window>
This seems like quite a significant bug. Or am I missing something?Hello,
I've tested this one and it works.
main.mxml
<?xml version="1.0" encoding="utf-8"?>
<csxs:CSXSWindowedApplication xmlns:csxs="com.adobe.csxs.core.*"
xmlns:mx="http://www.adobe.com/2006/mxml"
historyManagementEnabled="false">
<mx:Script>
<![CDATA[
import com.adobe.csxs.types.CSXSWindowType;
import mx.core.Window;
import ModalDialog;
public function showModal():void
var window:Window = new ModalDialog;
window.type = CSXSWindowType.MODAL_DIALOG;
window.resizable = false;
window.open();
]]>
</mx:Script>
<mx:Button label="Display Modal Dialog" click="showModal()"/>
</csxs:CSXSWindowedApplication>
The following is the ModalDialog.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Window
xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"
width="300"
height="200"
creationComplete="onCreationComplete()"
title="Modal Dialog"
>
<mx:Script>
<![CDATA[
private function onCreationComplete():void
//Center the window on the screen
var screenBounds:Rectangle = Screen.mainScreen.bounds;
nativeWindow.x = (screenBounds.width - nativeWindow.width) / 2;
nativeWindow.y = (screenBounds.height - nativeWindow.height) / 2;
]]>
</mx:Script>
<mx:VBox verticalAlign="middle" textAlign="center" horizontalAlign="center">
<mx:HBox horizontalAlign="center">
<mx:Label text = "This is an example of a modal dialog box."/>
</mx:HBox>
<mx:HBox horizontalAlign="center">
<mx:Button label = "Close" click="close()"/>
</mx:HBox>
</mx:VBox>
</mx:Window> -
Is there a fix for modal dialogs opening behind palettes -cs6 -osx 10.6.8
Is there a fix for modal dialogs open behind palettes in
Photoshop cs6 13.0 (createive cloud update) + OSX 10.6.8 Snow Leopard on MacBook Pro?
( I am using 2 monitors where the second monitor is set to be the menu display. cs4 does not exhibit this bug. )
Toggling the Application Frame off improves the hiding 'feature' but this does not include the desired continuous floating in front of palettes in all circumstances.
An example is Blending Options, then chose Stroke, then chose the Color Picker. After clicking OK, the Blending Options dialog now sits behind the palettes. One trick is to click on another app, then back to cs6 to force a window redraw.
It sure would help me if this could be solved. I am preparing educational videos and this display bug makes things very troublesome.
Thanks for any help. If I find a solution, I will post to this thread so everyone can benefit.The setting for the graphics check box Does Not make a difference. If I have a new document window open, then add a layer, then open the blending options > drop shadow > edit the color > the chooser dialog opens, and immediately both dialog windows drop behind the palettes AND any document windows.
The same behavior for the Preferences dialog > guides > color.
The quick workaround is to click another app, then back to CS6. A real pain, of course.
It is only a factor when opening a second (child) dialog box.
Other CS6 apps do work correctly (eg. FW AE)
I have yet to get a handle on this. Mac OSX 10.6.8 CS6 13.0 x64
Thanks for your replies, and the long reply time for me was a vaction away from the office. -
Hi,
I have an ALV on suppose screen 3000, I have created a button in the tool bar to call another ALV, but my question is, can we display ALV in modal dialog box screen(because the requirement is to display ALV as a popup)
So when i changed the screen type to normal screen, my alv is coming,,but when i change the screen type to modal dialog box, then no ALV is being displayed in the output. Only blank screen is displayed.
Can you please help me.
Thanks.Hello
The problem is that you have to take into account that the ALV in the popup (or modal dialogbox) is displayed on a different screen level:
level 0 = main screen
level 1 = 1st popup
level 2 = 2nd popup
We have up to 9 screen level available.
The following sample report ZUS_SDN_ALV_IN_POPUP is a variant of my sample report ZUS_SDN_TWO_ALV_GRIDS.
Depending on whether you mark P_POPUP or not the second ALV grid is additionally displayed on a popup.
*& Report ZUS_SDN_ALV_IN_POPUP
*& Thread: ALV in modal dialog box
*& https:||<a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="762642"></a>
*& Screen '0100' contains no elements.
*& ok_code -> assigned to GD_OKCODE
*& Flow logic:
* PROCESS BEFORE OUTPUT.
* MODULE STATUS_0100.
* PROCESS AFTER INPUT.
* MODULE USER_COMMAND_0100.
REPORT zus_sdn_alv_in_popup.
TYPE-POOLS: abap.
DATA:
gd_okcode TYPE ui_func,
gd_repid TYPE syst-repid,
" containers and ALV grids for main screen
go_docking TYPE REF TO cl_gui_docking_container,
go_splitter TYPE REF TO cl_gui_splitter_container,
go_cell_top TYPE REF TO cl_gui_container,
go_cell_bottom TYPE REF TO cl_gui_container,
go_grid1 TYPE REF TO cl_gui_alv_grid,
go_grid2 TYPE REF TO cl_gui_alv_grid,
" container and ALV grid for popup
go_docking3 TYPE REF TO cl_gui_docking_container,
go_grid3 TYPE REF TO cl_gui_alv_grid,
gs_layout TYPE lvc_s_layo.
DATA:
gt_knb1 TYPE STANDARD TABLE OF knb1,
gt_knvv TYPE STANDARD TABLE OF knvv.
PARAMETERS:
p_popup AS CHECKBOX DEFAULT ' '.
* CLASS lcl_eventhandler DEFINITION
CLASS lcl_eventhandler DEFINITION.
PUBLIC SECTION.
CLASS-METHODS:
handle_double_click FOR EVENT double_click OF cl_gui_alv_grid
IMPORTING
e_row
e_column
es_row_no
sender.
ENDCLASS. "lcl_eventhandler DEFINITION
* CLASS lcl_eventhandler IMPLEMENTATION
CLASS lcl_eventhandler IMPLEMENTATION.
METHOD handle_double_click.
* define local data
DATA:
ls_knb1 TYPE knb1.
CHECK ( sender = go_grid1 ).
READ TABLE gt_knb1 INTO ls_knb1 INDEX e_row-index.
CHECK ( ls_knb1-kunnr IS NOT INITIAL ).
IF ( p_popup = abap_true ).
CALL METHOD cl_gui_cfw=>set_new_ok_code
EXPORTING
new_code = 'POPUP'
* IMPORTING
* rc =
ELSE.
* Triggers PAI of the dynpro with the specified ok-code
* * CALL METHOD cl_gui_cfw=>set_new_ok_code( 'DETAIL' ). " not on 4.6c
CALL METHOD cl_gui_cfw=>set_new_ok_code
EXPORTING
new_code = 'DETAIL'
* IMPORTING
* rc =
ENDIF.
ENDMETHOD. "handle_double_click
ENDCLASS. "lcl_eventhandler IMPLEMENTATION
START-OF-SELECTION.
" Select data
SELECT * FROM knb1 INTO TABLE gt_knb1
WHERE bukrs = '1000'.
PERFORM init_controls.
* Display data
gs_layout-grid_title = 'Customers'.
CALL METHOD go_grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'KNB1'
is_layout = gs_layout
CHANGING
it_outtab = gt_knb1
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
gs_layout-grid_title = 'Customers Details (Sales Areas)'.
CALL METHOD go_grid2->set_table_for_first_display
EXPORTING
i_structure_name = 'KNVV'
is_layout = gs_layout
CHANGING
it_outtab = gt_knvv " empty !!!
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
gs_layout-grid_title = 'Customers Details (Sales Areas)'.
CALL METHOD go_grid3->set_table_for_first_display
EXPORTING
i_structure_name = 'KNVV'
is_layout = gs_layout
CHANGING
it_outtab = gt_knvv " empty !!!
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Link the docking container to the target dynpro
gd_repid = syst-repid.
CALL METHOD go_docking->link
EXPORTING
repid = gd_repid
dynnr = '0100'
* CONTAINER =
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Link the docking container to the popup
gd_repid = syst-repid.
CALL METHOD go_docking3->link
EXPORTING
repid = gd_repid
dynnr = '0200'
* CONTAINER =
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* NOTE: dynpro does not contain any elements
CALL SCREEN '0100'.
* Flow logic of dynpro (does not contain any dynpro elements):
*PROCESS BEFORE OUTPUT.
* MODULE STATUS_0100.
*PROCESS AFTER INPUT.
* MODULE USER_COMMAND_0100.
END-OF-SELECTION.
*& Form INIT_CONTROLS
* text
* --> p1 text
* <-- p2 text
FORM init_controls .
* Create docking container
CREATE OBJECT go_docking
EXPORTING
parent = cl_gui_container=>screen0 " main screen -> level 0 !!!
ratio = 90
EXCEPTIONS
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Create splitter container
CREATE OBJECT go_splitter
EXPORTING
parent = go_docking
rows = 2
columns = 1
* NO_AUTODEF_PROGID_DYNNR =
* NAME =
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Get cell container
CALL METHOD go_splitter->get_container
EXPORTING
row = 1
column = 1
RECEIVING
container = go_cell_top.
CALL METHOD go_splitter->get_container
EXPORTING
row = 2
column = 1
RECEIVING
container = go_cell_bottom.
* Create ALV grids
CREATE OBJECT go_grid1
EXPORTING
i_parent = go_cell_top
EXCEPTIONS
OTHERS = 5.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Set event handler
SET HANDLER: lcl_eventhandler=>handle_double_click FOR go_grid1.
CREATE OBJECT go_grid2
EXPORTING
i_parent = go_cell_bottom
EXCEPTIONS
OTHERS = 5.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
" Create container and grid for popup.
* Create docking container
CREATE OBJECT go_docking3
EXPORTING
parent = cl_gui_container=>screen1 " !!! popup !!!
ratio = 90
EXCEPTIONS
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
" NOTE: Starting from a main dynpro (screen level 0) the first popup
" (or modal dialogbox) is on level 1 !!!
" Using cl_gui_container=>screen0 fails to display ALV grid.
CREATE OBJECT go_grid3
EXPORTING
i_parent = go_docking3
EXCEPTIONS
OTHERS = 5.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " INIT_CONTROLS
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'STATUS_0100'. " contains push button "DETAIL"
* SET TITLEBAR 'xxx'.
* Refresh display of detail ALV list
CALL METHOD go_grid2->refresh_table_display
* EXPORTING
* IS_STABLE =
* I_SOFT_REFRESH =
EXCEPTIONS
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
CASE syst-dynnr.
WHEN '0100'.
CASE gd_okcode.
WHEN 'BACK' OR
'END' OR
'CANC'.
SET SCREEN 0. LEAVE SCREEN.
* User has pushed button "Display Details"
WHEN 'DETAIL'.
PERFORM entry_show_details.
WHEN 'POPUP'.
PERFORM entry_show_details.
go_grid3->refresh_table_display( ). " required
CALL SCREEN '0200' STARTING AT 5 5
ENDING AT 150 30.
WHEN OTHERS.
ENDCASE.
WHEN '0200'.
set screen 100. leave screen.
ENDCASE.
CLEAR: gd_okcode.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form ENTRY_SHOW_DETAILS
* text
* --> p1 text
* <-- p2 text
FORM entry_show_details .
* define local data
DATA:
ld_row TYPE i,
ls_knb1 TYPE knb1.
CALL METHOD go_grid1->get_current_cell
IMPORTING
e_row = ld_row.
READ TABLE gt_knb1 INTO ls_knb1 INDEX ld_row.
CHECK ( syst-subrc = 0 ).
SELECT * FROM knvv INTO TABLE gt_knvv
WHERE kunnr = ls_knb1-kunnr.
ENDFORM. " ENTRY_SHOW_DETAILS
Regards
Uwe -
Modal dialog issue - very urgent
Hi everyone,
i'm working with indesign application under asp.net. I'm using Interop.InDesign.dll. I'm able to open Indesign, but when i try to change UserInteractionLevel, then application returns error "Cannot handle the request because a modal dialog or alert is active." I can't see what modal dialog is opened because, i can't see Indesign window. It is runing in asp.net context.
When i'm opening manually Indesign then none of the modal dialogs is active.
My code:
Type indAppType = Type.GetTypeFromProgID("InDesign.Application");
objInDesign = (InDesign.Application)Activator.CreateInstance(indAppType, true);
objInDesign.ScriptPreferences.UserInteractionLevel = idUserInteractionLevels.idNeverInteract;
Do you have any solutuion for it ?
Thanks.
RegardsI have similar issues.
Initially this was caused by the splash dialog that appears the first time a user launches InDesign. Logging in with the credientals used to launch InDesign, and checking the "Dont show again" checkbox cleared it up for me.
Later, I ran into the problem again when InDesign was trying to recover some autosaved files.
This was cleared up by deleting the recovered file information from the accounts AppData folder.
I'm now getting this error again, but so far I dont know why. I have no Idea what modal dialog InDesign is trying to display. How can I tell?
I've got to say, I'm very disapointed with this behavior.
If a programmer sets ScriptPreferences.UserInteractionLevel to InDesign.idUserInteractionLevels.idNeverInteract; this should inform InDesign that its launch is part of an automated process; there is no user available to press anything, and there is likely not a desktop to display anything.
It is far more important for InDesign to respect the ScriptPreferences.UserInteractionLevel than to try and recover documents or display a welcome dialog.
But since we are stuck with this exception, I have the following questions:
Is there a way to programmatically dismiss the splash "Welcome" dialog via script command?
Is there a way to programmatically respond to the dialog that is displayed when InDesign has recovered documents?
Is there a way to programmatically determine what modal dialog is causing the exception? (app.Dialogs is empty)
Thanks! -
Screen sequence processing when using modal dialog box
I have been struggling with a dialog program which I have written. I have a screen which has 2 radiobuttons and a check box (screen 100). If the checkbox is marked, a modal dialog screen pops up (screen 150). If I complete both input fields on screen 150, I can go through to screen 200, then back out of screen 200 to screen 100, and then I can back out 100 to screen 0.
The problem I have is the validation I have put in screen 150 if one or both input fields have no values or if I want to exit screen 150. If I exit screen 150, in order to get back to screen 100 in the main screen I need to do CALL SCREEN 100 as if I use SET SCREEN 100, 100 then appears in my modal dialog box screen.
If I try to back out of screen 100 to screen 0, the program then brings up screen 150 in the PAI part of the module and then go to screen 0 when I close screen 150 even though I have coded SET SCREEN 0. LEAVE SCREEN. in the user command module of screen 100. Here is my code:
<u><b>screen 100</b></u>
PROCESS BEFORE OUTPUT.
MODULE status_0100.
PROCESS AFTER INPUT.
MODULE user_command_0100.
<b>
<u>Modules for 100</u></b>
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'ZL_PWB_GR1'.
SET TITLEBAR 'ZL_PWB_GR1'.
CLEAR: w_hse_stock, w_new_product, wa_sto, w_reverse,
mara-matnr, mkpf-mblnr.
PERFORM release_lock.
REFRESH CONTROL 'TC_GR' FROM SCREEN 0200.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT .
CASE ok_code.
WHEN 'ENTER'.
IF w_reverse = space.
CALL SCREEN 0200.
ELSE.
CALL SCREEN 0150 STARTING AT 30 2
ENDING AT 75 5.
ENDIF.
WHEN 'BACK' OR 'EXIT' OR 'CANC'.
w_pai = c_yes.
SET SCREEN 0.
LEAVE SCREEN.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
<u><b>screen 150</b></u>
PROCESS BEFORE OUTPUT.
MODULE status_0150.
PROCESS AFTER INPUT.
MODULE exit_command_0150 AT EXIT-COMMAND.
FIELD mara-matnr MODULE check_matnr.
FIELD mkpf-mblnr MODULE check_art_doc.
<u><b>Modules for 150</b></u>
MODULE user_command_0150.
*& Module STATUS_0150 OUTPUT
* text
MODULE status_0150 OUTPUT.
SET PF-STATUS 'GR_REV'.
SET TITLEBAR 'GR_REV'.
ENDMODULE. " STATUS_0150 OUTPUT
*& Module exit_COMMAND_0150 INPUT
* text
MODULE exit_command_0150 INPUT.
IF sy-ucomm = 'EXIT'.
CALL SCREEN 100.
ENDIF.
ENDMODULE. " exit_COMMAND_0150 INPUT
*& Module check_matnr INPUT
* Check if issues has been filled and if issue is a valid article no.
MODULE check_matnr INPUT.
DATA: l_matnr TYPE matnr.
IF mara-matnr IS INITIAL.
MESSAGE i010(ad) WITH 'Issue no. required'.
EXIT.
ELSE.
SELECT SINGLE matnr FROM mara INTO l_matnr
WHERE matnr = mara-matnr.
IF sy-subrc NE 0.
CLEAR l_matnr.
MESSAGE i010(ad) WITH 'Issue does not exist'.
ENDIF.
ENDIF.
ENDMODULE. " check_matnr INPUT
*& Module check_art_doc INPUT
* text
MODULE check_art_doc INPUT.
IF mkpf-mblnr IS INITIAL.
MESSAGE i010(ad) WITH 'Article document no. required'.
EXIT.
ELSE.
PERFORM get_art_doc USING mara-matnr
mkpf-mblnr.
IF sy-subrc NE 0.
MESSAGE i010(ad) WITH 'No article document exists for this issue'.
ENDIF.
ENDIF.
ENDMODULE. " check_art_doc INPUT
*& Module USER_COMMAND_0150 INPUT
* text
MODULE user_command_0150 INPUT.
CASE sy-ucomm.
WHEN 'ENTE'.
IF mara-matnr NE space AND mkpf-mblnr NE space.
CALL SCREEN 200.
ELSE.
* MESSAGE i010(ad) WITH 'Please fill in both fields'.
SET SCREEN 150.
ENDIF.
ENDCASE.
ENDMODULE. " USER_COMMAND_0150 INPUT
Any suggestions or pointers would be greatly appreciated as I am going round in circles.
Thanks
LarissaHave got around this by removing the references to SET SCREEN 150. This way, I can get around the screen sequencing. It just means that I cannot keep my screen 150 in view if a validation message occurs but for now it will do for what I need.
Thank you for your help anyway.
Larissa -
JavaHelp, Frames and Modal Dialogs...recommendations
Seen a few posts on this, but no answers.
I've got help buttons scattered throughout my application for users to get context sensitive help.
Here's the behavior I'm seeing:
Scenario 1:
- Initiate JavaHelp from a Frame
- Bring up a modal dialog
- JavaHelp is blocked
- Click on a help button in my dialog
- A new JavaHelp window appears
- Close the dialog
- The new JavaHelp window disappears
- The original JavaHelp window is now blank
- When I try to destroy the original JavaHelp window, a NullPointerException is thrown from the windowClosing method
Scenario 2:
- Initiate JavaHelp from a modal dialog
- Close the dialog
- JavaHelp disappears
I really want JavaHelp to work like help in other applications:
- I want one window to come up and work regardless of dialogs opening and closing
- I want the user to use the JavaHelp while performing a task
Is there a solution to this?Is SE 6 the only solution?
Anyone know what the version of Java currently shipping with Mac OS X will support? -
Modal dialog or alert is active when opening a doc.
lately whenever I open an indesign CS4 existing document a tiny alert window pops up that is too small to read what it says. when trying to reopen the doc the message appears "Cannot handle the request because a modal dialog or alert is active"
I am not doing anything besides opening a document. and the only way to get rid of the tiny alert window and open the doc is to hit return. any idea whats happening and how to stop this?There are no startup scripts, just the out of the box program.
below is the error message. thanks
Process: QuarkXPress [7814]
Path: /Applications/QuarkXPress 7.01/QuarkXPress.app/Contents/MacOS/QuarkXPress
Identifier: com.quark.QuarkXPress
Version: 7.5 (7.5)
Code Type: X86 (Native)
Parent Process: launchd [105]
Date/Time: 2011-07-05 10:23:10.670 -0400
OS Version: Mac OS X 10.6.8 (10K540)
Report Version: 6
Interval Since Last Report: 225024 sec
Crashes Since Last Report: 1
Per-App Interval Since Last Report: 7 sec
Per-App Crashes Since Last Report: 1
Anonymous UUID: FE72441B-8ADF-4AF6-8D84-1357BEDC422D
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000000003fffede8
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 com.quark.QuarkXPress 0x009fa90b IORegistryReaderX::itoa(long long, char*) + 85
1 com.quark.QuarkXPress 0x009fac69 IORegistryReaderX::AppendToString(void const*, std::string&) + 201
2 com.quark.QuarkXPress 0x009faf2d IORegistryReaderX::GetHwParameter(char const*, __CFString const*, std::string&) + 137
3 com.quark.QuarkXPress 0x009c9eeb HardwareDetailsMacX::GetScsiIdeIdentifier(std::string&) + 53
4 com.quark.QuarkXPress 0x0098212b HardwareDetailsBridge::GetScsiIdeIdentifier(std::string&) + 27
5 com.quark.QuarkXPress 0x0097cbeb NodelockImpl::GetScsiIdeIdentifier(std::string&) + 27
6 com.quark.QuarkXPress 0x009819f0 NodelockWrapper::GetScsiIdeIdentifier(std::string&) + 24
7 com.quark.QuarkXPress 0x0097bc65 HardwareHash::GetScsiIdeIdentifierHash(std::string&) + 37
8 com.quark.QuarkXPress 0x0097becd HardwareHash::GenerateSystemIdentifier(SystemIdentifier&) + 511
9 com.quark.QuarkXPress 0x00932ed6 Activation::IsActivated(unsigned long*) + 464
10 com.quark.QuarkXPress 0x0019fe53 ActivationManager::ActivateInit() + 163
11 com.quark.QuarkXPress 0x0049f5d9 initialize() + 11017
12 com.quark.QuarkXPress 0x0018bb1a main + 144
13 com.quark.QuarkXPress 0x00002b4e _start + 216
14 com.quark.QuarkXPress 0x00002a75 start + 41
Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x91224382 kevent + 10
1 libSystem.B.dylib 0x91224a9c _dispatch_mgr_invoke + 215
2 libSystem.B.dylib 0x91223f59 _dispatch_queue_invoke + 163
3 libSystem.B.dylib 0x91223cfe _dispatch_worker_thread2 + 240
4 libSystem.B.dylib 0x91223781 _pthread_wqthread + 390
5 libSystem.B.dylib 0x912235c6 start_wqthread + 30
Thread 2:
0 libSystem.B.dylib 0x91223412 __workq_kernreturn + 10
1 libSystem.B.dylib 0x912239a8 _pthread_wqthread + 941
2 libSystem.B.dylib 0x912235c6 start_wqthread + 30
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x80000000 ebx: 0x009fa8c4 ecx: 0x91253b93 edx: 0xbfffede8
edi: 0xc82a14ff esi: 0xfe896682 ebp: 0xbfffedb8 esp: 0xbfffed40
ss: 0x00000023 efl: 0x00010286 eip: 0x009fa90b cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x3fffede8
Binary Images:
0x1000 - 0x14fbfcf +com.quark.QuarkXPress 7.5 (7.5) <xxxxxxxxx-xxxxxxx> /Applications/QuarkXPress 7.01/QuarkXPress.app/Contents/MacOS/QuarkXPress
0x33a1000 - 0x33b0ff8 +libXUnicode.XC.r.dylib ??? (???) /Applications/QuarkXPress 7.01/libXUnicode.XC.r.dylib
0x33c8000 - 0x33d706f +libQXString.XC.r.dylib ??? (???) /Applications/QuarkXPress 7.01/libQXString.XC.r.dylib
0x33ee000 - 0x36c9fff +Xalan-c-xc ??? (???) /Library/Frameworks/Xalan-c-xc.framework/Versions/1.5/Xalan-c-xc
0x3c07000 - 0x3e06fe6 +Xerces-c-xc ??? (???) /Library/Frameworks/Xerces-c-xc.framework/Versions/2.1/Xerces-c-xc
0x3f9f000 - 0x3fcfff7 +libTrueTypeToType1.XC.r.dylib ??? (???) <xxxxxxxxxxxxx> /Applications/QuarkXPress 7.01/libTrueTypeToType1.XC.r.dylib
0x43ec000 - 0x458aff3 +libOmniCore.XC.dylib ??? (???) <xxxxxxxxxx> /Applications/QuarkXPress 7.01/libOmniCore.XC.dylib
0x4802000 - 0x5122fff +libicudata.dylib.32.0 32.0.0 (compatibility 32.0.0) /Applications/QuarkXPress 7.01/libicudata.dylib.32.0
0x5125000 - 0x51e2fc3 +libicui18n.dylib.32.0 32.0.0 (compatibility 32.0.0) /Applications/QuarkXPress 7.01/libicui18n.dylib.32.0
0x5277000 - 0x5306fef +libicuuc.dylib.32.0 32.0.0 (compatibility 32.0.0) /Applications/QuarkXPress 7.01/libicuuc.dylib.32.0
0x6fcc000 - 0x6fdafe7 libSimplifiedChineseConverter.dylib 49.0.0 (compatibility 1.0.0) <xxxxxxxxxx> /System/Library/CoreServices/Encodings/libSimplifiedChineseConverter.dylib
0x185b6000 - 0x185b6ff7 libmx.A.dylib 315.0.0 (compatibility 1.0.0) <xxxxxxxxxx> /usr/lib/libmx.A.dylib
0x186e2000 - 0x186f4ff7 libTraditionalChineseConverter.dylib 49.0.0 (compatibility 1.0.0) <xxxxxxxx> /System/Library/CoreServices/Encodings/libTraditionalChineseConverter.dylib
0x187a1000 - 0x187aeff7 +net.telestream.license 1.0.8.2-GC (1.0.8.2-GC) <xxxxxxxxxxxxx> /Library/Frameworks/TSLicense.framework/Versions/A/TSLicense
0x187b7000 - 0x187bcfff com.apple.AppleMPEG2Codec 1.0.2 (220.1) <xxxxxxxxxxx> /Library/QuickTime/AppleMPEG2Codec.component/Contents/MacOS/AppleMPEG2Codec
0x1c296000 - 0x1c2ebfef com.apple.AppleProResDecoder 2.0 (223) <xxxxxxxxxxxxxx> /System/Library/QuickTime/AppleProResDecoder.component/Contents/MacOS/AppleProResDecoder
0x1c4c2000 - 0x1c4fefe3 com.apple.QuickTimeFireWireDV.component 7.6.6 (1783) <xxxxxxxxxxxxxxxx> /System/Library/QuickTime/QuickTimeFireWireDV.component/Contents/MacOS/QuickTimeFireWireD V
0x1c50a000 - 0x1c525fef com.apple.AppleIntermediateCodec 1.3.2 (153) <xxxxxxxxxxxxx> /Library/QuickTime/AppleIntermediateCodec.component/Contents/MacOS/AppleIntermediateCodec
0x1c52b000 - 0x1c544fe7 com.apple.applepixletvideo 1.2.19 (1.2d19) <xxxxxxxxxxxx> /System/Library/QuickTime/ApplePixletVideo.component/Contents/MacOS/ApplePixletVideo
0x219a3000 - 0x21b95ff2 +net.telestream.wmv.import 2.3.8.1 (2.3.8.1) <2xxxxxxxxxxx> /Library/QuickTime/Flip4Mac WMV Import.component/Contents/MacOS/Flip4Mac WMV Import
0x21bca000 - 0x21c7ffe7 libcrypto.0.9.7.dylib 0.9.7 (compatibility 0.9.7) <xxxxxxxxxxxxxx> /usr/lib/libcrypto.0.9.7.dylib
0x21cc5000 - 0x21e86fe2 +net.telestream.wmv.advanced 2.3.8.1 (2.3.8.1) <xxxxxxxxxxxxxxxx> /Library/QuickTime/Flip4Mac WMV Advanced.component/Contents/MacOS/Flip4Mac WMV Advanced
0x21eca000 - 0x21f44fef com.apple.AppleVAH264HW.component 2.0 (1.0) <xxxxxxxxxxxxxxxxxxxx> /System/Library/QuickTime/AppleVAH264HW.component/Contents/MacOS/AppleVAH264HW
0x8fe00000 - 0x8fe4162b dyld 132.1 (???) <xxxxxxxxxxxxxxxxx> /usr/lib/dyld
0x90003000 - 0x90130ffb com.apple.MediaToolbox 0.484.52 (484.52) <xxxxxxxxxxxxxxx> /System/Library/PrivateFrameworks/MediaToolbox.framework/Versions/A/MediaToolbox
0x90193000 - 0x9026dfff com.apple.DesktopServices 1.5.11 (1.5.11) <xxxxxxxxxxxxxx> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopService sPriv
0x9061a000 - 0x90624ffb com.apple.speech.recognition.framework 3.11.1 (3.11.1) <xxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.frame work/Versions/A/SpeechRecognition
0x90625000 - 0x9062ffe7 com.apple.audio.SoundManager 3.9.3 (3.9.3) <xxxxxxxxxxxx> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/V ersions/A/CarbonSound
0x90a82000 - 0x90dedff7 com.apple.QuartzCore 1.6.3 (227.37) <xxxxxxxxxxxx> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x90dee000 - 0x90e80fe7 com.apple.print.framework.PrintCore 6.3 (312.7) <xxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore. framework/Versions/A/PrintCore
0x90f22000 - 0x90f29ff3 com.apple.print.framework.Print 6.1 (237.1) <xxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Version s/A/Print
0x90f2a000 - 0x91067fe7 com.apple.audio.toolbox.AudioToolbox 1.6.7 (1.6.7) <xxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x910a1000 - 0x910e3ff7 libvDSP.dylib 268.0.1 (compatibility 1.0.0) <xxxxxxxxxxxxxxxx> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Ve rsions/A/libvDSP.dylib
0x910f2000 - 0x910f9ff7 com.apple.agl 3.0.12 (AGL-3.0.12) <xxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x910fa000 - 0x911fcfe7 libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <xxxxxxxxxxxxxxxxx> /usr/lib/libcrypto.0.9.8.dylib
0x911fd000 - 0x913a4ff7 libSystem.B.dylib 125.2.11 (compatibility 1.0.0) <xxxxxxxxxxxxxxxxxxxxxxxxx> /usr/lib/libSystem.B.dylib
0x913a5000 - 0x913a5ff7 com.apple.Accelerate.vecLib 3.6 (vecLib 3.6) <xxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Ve rsions/A/vecLib
0x913a6000 - 0x913bbfff com.apple.ImageCapture 6.1 (6.1) <xxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/ Versions/A/ImageCapture
0x913cf000 - 0x913dcff7 com.apple.NetFS 3.2.2 (3.2.2) <xxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x91416000 - 0x9141aff7 libGIF.dylib ??? (???) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.fr amework/Versions/A/Resources/libGIF.dylib
0x9141b000 - 0x9147cfe7 com.apple.CoreText 151.10 (???) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.f ramework/Versions/A/CoreText
0x9147d000 - 0x9148bff7 com.apple.opengl 1.6.13 (1.6.13) <xxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x9148c000 - 0x9148cff7 liblangid.dylib ??? (???) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /usr/lib/liblangid.dylib
0x91544000 - 0x915f2ff3 com.apple.ink.framework 1.3.3 (107) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/ A/Ink
0x915f3000 - 0x915f6ff7 libCGXType.A.dylib 545.0.0 (compatibility 64.0.0) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphi cs.framework/Versions/A/Resources/libCGXType.A.dylib
0x915f7000 - 0x91634ff7 com.apple.CoreMedia 0.484.52 (484.52) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/PrivateFrameworks/CoreMedia.framework/Versions/A/CoreMedia
0x916d2000 - 0x91938ff7 com.apple.security 6.1.2 (55002) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x919a8000 - 0x919aefe7 com.apple.CommerceCore 1.0 (9.1) <xxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCor e.framework/Versions/A/CommerceCore
0x919af000 - 0x91e6aff7 com.apple.VideoToolbox 0.484.52 (484.52) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/PrivateFrameworks/VideoToolbox.framework/Versions/A/VideoToolbox
0x91e97000 - 0x91fc5fe7 com.apple.CoreData 102.1 (251) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x91fc6000 - 0x920a6fe7 com.apple.vImage 4.1 (4.1) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Ve rsions/A/vImage
0x92261000 - 0x922a4ff7 com.apple.NavigationServices 3.5.4 (182) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.fram ework/Versions/A/NavigationServices
0x92428000 - 0x924e0feb libFontParser.dylib ??? (???) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framew ork/Versions/A/Resources/libFontParser.dylib
0x9255b000 - 0x9255eff7 libCoreVMClient.dylib ??? (???) <xxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
0x9255f000 - 0x9255fff7 com.apple.vecLib 3.6 (vecLib 3.6) <xxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x92597000 - 0x9259afe7 libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <xxxxxxxxxxxxxxxxxxxxxxxxxxx> /usr/lib/system/libmathCommon.A.dylib
0x9259b000 - 0x9259dff7 com.apple.securityhi 4.0 (36638) <xxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Ve rsions/A/SecurityHI
0x9279e000 - 0x92839fe7 com.apple.ApplicationServices.ATS 275.16 (???) <xxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framew ork/Versions/A/ATS
0x9283a000 - 0x9292eff7 libiconv.2.dylib 7.0.0 (compatibility 7.0.0) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /usr/lib/libiconv.2.dylib
0x9292f000 - 0x929affeb com.apple.SearchKit 1.3.0 (1.3.0) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framewo rk/Versions/A/SearchKit
0x929b0000 - 0x92b32fe7 libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /usr/lib/libicucore.A.dylib
0x92b33000 - 0x92b3eff7 libCSync.A.dylib 545.0.0 (compatibility 64.0.0) <xxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphi cs.framework/Versions/A/Resources/libCSync.A.dylib
0x92b4d000 - 0x92c4efe7 libxml2.2.dylib 10.3.0 (compatibility 10.0.0) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /usr/lib/libxml2.2.dylib
0x92cff000 - 0x92dcafef com.apple.CoreServices.OSServices 359 (359) <xxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framew ork/Versions/A/OSServices
0x92e3b000 - 0x92e3bff7 com.apple.Accelerate 1.6 (Accelerate 1.6) <xxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x92e3c000 - 0x92e50ffb com.apple.speech.synthesis.framework 3.10.35 (3.10.35) <xxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynt hesis.framework/Versions/A/SpeechSynthesis
0x92f7d000 - 0x935f8ff7 com.apple.CoreAUC 6.11.03 (6.11.03) <xxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC
0x936f6000 - 0x93716fe7 libresolv.9.dylib 41.0.0 (compatibility 1.0.0) <xxxxxxxxxxxxxxxxxxxxxxxxxxxx> /usr/lib/libresolv.9.dylib
0x93717000 - 0x93717ff7 com.apple.ApplicationServices 38 (38) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x93718000 - 0x93723ff7 libGL.dylib ??? (???) <xxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x93724000 - 0x937c1fe3 com.apple.LaunchServices 362.3 (362.3) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.fr amework/Versions/A/LaunchServices
0x937c2000 - 0x937d2ff7 libsasl2.2.dylib 3.15.0 (compatibility 3.0.0) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /usr/lib/libsasl2.2.dylib
0x9382e000 - 0x938c6fe7 edu.mit.Kerberos 6.5.11 (6.5.11) <xxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x93910000 - 0x93951ff7 libRIP.A.dylib 545.0.0 (compatibility 64.0.0) <xxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphi cs.framework/Versions/A/Resources/libRIP.A.dylib
0x93952000 - 0x93954ff7 com.apple.QuickTimeH264.component 7.6.6 (1783) /System/Library/QuickTime/QuickTimeH264.component/Contents/MacOS/QuickTimeH264
0x93974000 - 0x93c98fef com.apple.HIToolbox 1.6.5 (???) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Ver sions/A/HIToolbox
0x93c99000 - 0x93caaff7 com.apple.LangAnalysis 1.6.6 (1.6.6) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalys is.framework/Versions/A/LangAnalysis
0x93edd000 - 0x93fe9ff7 libGLProgrammability.dylib ??? (???) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dyl ib
0x94148000 - 0x94167ff7 com.apple.CoreVideo 1.6.2 (45.6) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x941e6000 - 0x9424afff com.apple.htmlrendering 72 (1.1.4) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework /Versions/A/HTMLRendering
0x9424b000 - 0x9427cff7 libGLImage.dylib ??? (???) <xxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x9427d000 - 0x942b8feb libFontRegistry.dylib ??? (???) <xxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framew ork/Versions/A/Resources/libFontRegistry.dylib
0x942b9000 - 0x942bbff7 libRadiance.dylib ??? (???) <xxx-xxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.fr amework/Versions/A/Resources/libRadiance.dylib
0x9433a000 - 0x94397ff7 com.apple.framework.IOKit 2.0 (???) <xxxxxxxxxxxxxxxxx> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x943bc000 - 0x943c1ff7 com.apple.OpenDirectory 10.6 (10.6) <xxxxxxxxxxxxxxxxx> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x943c2000 - 0x946e2ff3 com.apple.CoreServices.CarbonCore 861.39 (861.39) <xxxxxxxxxxxxxxxx> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framew ork/Versions/A/CarbonCore
0x946e3000 - 0x946e3ff7 com.apple.Cocoa 6.6 (???) <xxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x9484d000 - 0x94865ff7 com.apple.CFOpenDirectory 10.6 (10.6) <xxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory. framework/Versions/A/CFOpenDirectory
0x94866000 - 0x948a9ff7 libGLU.dylib ??? (???) <xxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x948aa000 - 0x948ceff7 libJPEG.dylib ??? (???) <xxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.fr amework/Versions/A/Resources/libJPEG.dylib
0x948ef000 - 0x9499cfe7 libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <xxxxxxxxxxxxxxxxxxx> /usr/lib/libobjc.A.dylib
0x949b6000 - 0x94a31fff com.apple.AppleVAFramework 4.10.26 (4.10.26) <xxxxxxxxxxxxxxxxxxxxxx> /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA
0x94a32000 - 0x94a36ff7 IOSurface ??? (???) <xxxxxxxxxxxxx> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x94ae8000 - 0x94c63fe7 com.apple.CoreFoundation 6.6.5 (550.43) <xxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x94d7c000 - 0x94debff7 libvMisc.dylib 268.0.1 (compatibility 1.0.0) <xxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Ve rsions/A/libvMisc.dylib
0x94dec000 - 0x94e0dfe7 com.apple.opencl 12.3.6 (12.3.6) <xxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x94e0e000 - 0x94e0fff7 com.apple.TrustEvaluationAgent 1.1 (1) <xxxxxxxxxxxxxxxxxxxxxx> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluati onAgent
0x94e10000 - 0x9510afef com.apple.QuickTime 7.6.6 (1783) <xxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x9510b000 - 0x95117ff7 libkxld.dylib ??? (???) <xxxxxxxxxxxxxxxxxxxxxxxx> /usr/lib/system/libkxld.dylib
0x95118000 - 0x959fbff7 com.apple.AppKit 6.6.8 (1038.36) <xxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x95a15000 - 0x95bd7feb com.apple.ImageIO.framework 3.0.4 (3.0.4) <xxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.fr amework/Versions/A/ImageIO
0x95cfc000 - 0x95d2fff7 com.apple.AE 496.5 (496.5) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Vers ions/A/AE
0x95f8c000 - 0x95fa8fe3 com.apple.openscripting 1.3.1 (???) <xxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework /Versions/A/OpenScripting
0x95fb1000 - 0x95ff7ff7 libauto.dylib ??? (???) <xxxxxxxxxxxxxxxxxxxxxxxxxxx> /usr/lib/libauto.dylib
0x96023000 - 0x9603eff7 libPng.dylib ??? (???) <xxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.fr amework/Versions/A/Resources/libPng.dylib
0x96052000 - 0x9609ffeb com.apple.DirectoryService.PasswordServerFramework 6.1 (6.1) <xxxxxxxxxxxxxxxxxxxxxxx> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer
0x96203000 - 0x96203ff7 com.apple.CoreServices 44 (44) <xxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x96204000 - 0x9622affb com.apple.DictionaryServices 1.1.2 (1.1.2) <xxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryService s.framework/Versions/A/DictionaryServices
0x9622b000 - 0x9623ffe7 libbsm.0.dylib ??? (???) <xxxxxxxxxxxxxxxxxxxxxx> /usr/lib/libbsm.0.dylib
0x96450000 - 0x96885ff7 libLAPACK.dylib 219.0.0 (compatibility 1.0.0) <xxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Ve rsions/A/libLAPACK.dylib
0x96886000 - 0x96c9cff7 libBLAS.dylib 219.0.0 (compatibility 1.0.0) <xxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Ve rsions/A/libBLAS.dylib
0x96c9d000 - 0x96ce1ff3 com.apple.coreui 2 (114) <xxxxxxxxxxxxxxxxxxx> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x96d15000 - 0x96d68ff7 com.apple.HIServices 1.8.3 (???) <xxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices .framework/Versions/A/HIServices
0x96d6c000 - 0x96db5fe7 libTIFF.dylib ??? (???) <xxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.fr amework/Versions/A/Resources/libTIFF.dylib
0x96db6000 - 0x96ddeff7 libxslt.1.dylib 3.24.0 (compatibility 3.0.0) <xxxxxxxxxxxxxxxxxxxxxx> /usr/lib/libxslt.1.dylib
0x96ddf000 - 0x96ebdfef com.apple.QuickTimeMPEG4.component 7.6.6 (1783) <xxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/QuickTime/QuickTimeMPEG4.component/Contents/MacOS/QuickTimeMPEG4
0x96ef8000 - 0x96fb4fff com.apple.ColorSync 4.6.6 (4.6.6) <xxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync. framework/Versions/A/ColorSync
0x96fb5000 - 0x977a4557 com.apple.CoreGraphics 1.545.0 (???) <xxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphi cs.framework/Versions/A/CoreGraphics
0x977f7000 - 0x97a68fef com.apple.Foundation 6.6.7 (751.62) <xxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x97ae3000 - 0x97b8bffb com.apple.QD 3.36 (???) <xxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framewo rk/Versions/A/QD
0x97b8c000 - 0x97b8dff7 com.apple.audio.units.AudioUnit 1.6.7 (1.6.7) <xxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x97be7000 - 0x97c24ff7 com.apple.SystemConfiguration 1.10.8 (1.10.2) <xxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x97c25000 - 0x97c29ff7 libGFXShared.dylib ??? (???) <xxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
0x9867e000 - 0x9885cfe3 libType1Scaler.dylib ??? (???) <xxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framew ork/Versions/A/Resources/libType1Scaler.dylib
0x9885d000 - 0x997afff7 com.apple.QuickTimeComponents.component 7.6.6 (1783) /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTimeComponent s
0x997b0000 - 0x997d2fef com.apple.DirectoryService.Framework 3.6 (621.11) <xxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService
0x997d3000 - 0x997d3ff7 com.apple.Carbon 150 (152) <xxxxxxxxxxxxxxxx> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x997d4000 - 0x997e2fe7 libz.1.dylib 1.2.3 (compatibility 1.0.0) <xxxxxxxxxxxxxxxxxxxxxxx> /usr/lib/libz.1.dylib
0x99b1d000 - 0x99b9fffb SecurityFoundation ??? (???) <xxxxxxxxxxxxxxxxx> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
0x99ba0000 - 0x99be4fe7 com.apple.Metadata 10.6.3 (507.15) <xxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framewor k/Versions/A/Metadata
0x99be5000 - 0x99bf7ff7 com.apple.CoreMediaAuthoring 0.706 (706) <xxxxxxxxxxxxxxxxxxxxxx> /System/Library/PrivateFrameworks/CoreMediaAuthoring.framework/Versions/A/CoreMediaAuthor ing
0x99c08000 - 0x99c42ff7 libcups.2.dylib 2.8.0 (compatibility 2.0.0) <xxxxxxxxxxxxxxxxxxxxx> /usr/lib/libcups.2.dylib
0x99cd1000 - 0x99d3bfe7 libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <xxxxxxxxxxxxxxxxxxxxxxxxx> /usr/lib/libstdc++.6.dylib
0x99d3c000 - 0x99df5fe7 libsqlite3.dylib 9.6.0 (compatibility 9.0.0) <xxxxxxxxxxxxxxxx> /usr/lib/libsqlite3.dylib
0x99e2b000 - 0x99e5efff libTrueTypeScaler.dylib ??? (???) <xxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framew ork/Versions/A/Resources/libTrueTypeScaler.dylib
0x99e5f000 - 0x99ed9fff com.apple.audio.CoreAudio 3.2.6 (3.2.6) <xxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x99eda000 - 0x99ee0fff com.apple.CommonPanels 1.2.4 (91) <xxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/ Versions/A/CommonPanels
0x99ee1000 - 0x99f31ff7 com.apple.framework.familycontrols 2.0.2 (2020) <xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
0x99f32000 - 0x99f35ffb com.apple.help 1.3.2 (41.1) <xxxxxxxxxxxxxxxxxxxxxx> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions /A/Help
0x99f41000 - 0x99f4aff7 com.apple.DiskArbitration 2.3.1 (2.3.1) <xxxxxxxxxxxxxxxxx> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x99f8f000 - 0x99fa1ff7 com.apple.MultitouchSupport.framework 207.11 (207.11) <xxxxxxxxxxxxxxxxxxxxxxxxx> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSuppor t
0x99fa2000 - 0x9a04efe7 com.apple.CFNetwork 454.12.4 (454.12.4) <xxxxxxxxxxxxxxx> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framewo rk/Versions/A/CFNetwork
0xba300000 - 0xba301fe7 libCyrillicConverter.dylib 49.0.0 (compatibility 1.0.0) <xxxxxxxxxxxxxxxx> /System/Library/CoreServices/Encodings/libCyrillicConverter.dylib
0xba500000 - 0xba501ff7 libGreekConverter.dylib 49.0.0 (compatibility 1.0.0) <xxxxxxxxxxxxxxxxx> /System/Library/CoreServices/Encodings/libGreekConverter.dylib
0xba900000 - 0xba916ff7 libJapaneseConverter.dylib 49.0.0 (compatibility 1.0.0) <xxxxxxxxxxxxxxx> /System/Library/CoreServices/Encodings/libJapaneseConverter.dylib
0xbab00000 - 0xbab21fe7 libKoreanConverter.dylib 49.0.0 (compatibility 1.0.0) <xxxxxxxxxxxxxx> /System/Library/CoreServices/Encodings/libKoreanConverter.dylib
0xbb500000 - 0xbb500ff7 libThaiConverter.dylib 49.0.0 (compatibility 1.0.0) <xxxxxxxxxxxxxxxxxxxx> /System/Library/CoreServices/Encodings/libThaiConverter.dylib
0xffff0000 - 0xffff1fff libSystem.B.dylib ??? (???) <xxxxxxxxxxxxxxxxxxxxxx> /usr/lib/libSystem.B.dylib
Model: iMac12,2, BootROM IM121.0047.B0A, 4 processors, Intel Core i7, 3.4 GHz, 8 GB, SMC 1.72f1
Graphics: AMD Radeon HD 6970M, AMD Radeon HD 6970M, PCIe, 1024 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.35.3
Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: xxxxxxxxxxxxxx, 931.51 GB
Serial ATA Device: OPTIARC DVD RW AD-5680H, 4.2 GB
USB Device: FaceTime HD Camera (Built-in), 0x05ac (Apple Inc.), 0x850b, 0xfa200000 / 3
USB Device: Hub, 0x0424 (SMSC), 0x2514, 0xfa100000 / 2
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x8215, 0xfa111000 / 5
USB Device: Hub, 0x0424 (SMSC), 0x2514, 0xfd100000 / 2
USB Device: Apple Optical USB Mouse, 0x05ac (Apple Inc.), 0x0304, 0xfd140000 / 5
USB Device: Internal Memory Card Reader, 0x05ac (Apple Inc.), 0x8403, 0xfd110000 / 4
USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8242, 0xfd120000 / 3
FireWire Device: unknown_device, Unknown
FireWire Device: OXFORD IDE Device 1, G-Tech G-DRIVE, Up to 400 Mb/sec -
I'm working with files that have their assets managed via a DAM that wants the user to log in whenever a file is opened. This log-in window doesn't respect the "script preferences/never interact" direction and pops up with every new file opened in a batch process, requiring the user to dismiss each one so it can go on process each file.
I can see how to check by script whether there's a modal dialog active by checking the modal state, but if that's showing as "true" is there a way via script to target the dialog and dismiss it?
Failing this, I'll have to enforce that users either log into this system or disable the plug-ins, but I was hoping to get something that would require no action on their part other than running the script.
InDesign CS5.5, Mac OX 10.6.8, working on an AppleScript, but I'd also be happy to hear any JavaScript ideas!
Thanks,
MaryHey, Trevor, thanks for the ideas. I'm not quite "there" yet, but I think I'm a little closer. The following works, to a point:
tell application "System Events"
tell process "InDesign"
tell window "User Authentication"
click button 1
-- click button "Cancel"
-- tell button 1 to perform action "AXPress"
end tell
end tell
end tell
Any of those button statements does visibly click that button -- that is, I can see the "Cancel" button flash blue for a moment. But that's all it does. It doesn't actually cancel the dialog.
Since this was for a rush, one-off job, I went with the workaround of telling the user they had to log into the management system so the login screen would stop popping up. It's not elegant, but it gets the job done.
Thanks much for the assistance, I appreciate it.
Mary -
Can a dialog act as parent to two modal dialogs?
i have a dialog that has to act as parent to two modal dialogs that are displayed by different threads. Is there any possible way for both dialogs to be displayed at the same time?
I just found this which looks like it does what I would like. I'll happily pay the $25 if there isn't a free solution and it does what I want.
http://rogueamoeba.com/airfoil/mac/ -
GUI hangs after it fail to pop up a modal dialog
Hi everyone! I have a swing application that will pop up a log off confirm dialog (modal) when the user click on the "log off" button. It works fine for about 8 hours. Then when I click on the "log off" button, the dialog never pop up and the GUI is freezed, which means it does not react to user mouse click anymore, like a hidden modal dialog is in front. But actually there is no hidden dialog.
At the same time, my windows XP freeze also. I cannot even open a folder. Then I kill the winrunner, and the XP is able to open a folder, but my GUI is still freeze. No exception behind and all threads are running. I can use some test script to control the GUI, but somehow it just never react to user click.
Does anyone encounter the same problem and know the possible reason?
Thanks!Hi motes_19:
I have noteiced this as well in an application that I have created...however, my app doesn't freeze and the OS still runs (Win 2000). I suspect that your problem might be that you aren using the SwingUtilities.invokedLater() or SwingUtilities.invokeAndWait() methods to update your GUI. I am using them and still having some intermitten problems. Hope this helps you...if you have a solution for me, let me know.
EH -
How to remove the default icons from the toolbar of modal dialog box screen
Hello Friends,
Iam calling a screen from function module using CALL SCREEN statement.
The screen is of type Modal Dialog Box. I created some input fields and buttons in the screen. When the screen is displayed, I can see the tool bar at the bottom along with the input fields and buttons in the screen.
These icons are Continue(Enter), Check, Cancel. How can I supress this??
I mean in my screeen I want only my input fields and buttons but not the default toolbar. How to do that?
Regards,
RajuHi Raju,
Try this...
First try to capture the F-codes of ur button apppearing on the dialog box and then exclude it from the PF-status by passing it to itab.
types: begin of tab_type,
fcode like rsmpe-func,
end of tab_type.
data: tab type standard table of tab_type with
non-unique default key initial size 10,
wa_tab type tab_type.
clear tab.
move 'DELE' to wa_tab-fcode.
append wa_tab to tab.
move 'PRIN' to wa_tab-fcode.
append wa_tab to tab.
set pf-status 'STA3' excluding tab.
Cheers,
Simha.
Reward all the helpful answers.. -
Skillbuilders modal dialog - condition for parent page dialog
Hi
When using this awesome plugin, I have a dynamic action on my calling page that deals with the selection from the dialog.
It uses
Select type:DOM Object
DOM Object: document
Condition: javascript expression
($v('P110_PROD_SEARCH') == 'BLAH')
where the js expression is making sure I run the correct dynamic action, particularly when I have a few buttons on the page invoking different variations of the modal dialog.
My first action is some javascript that interrogates the value of
this.data.modalPageCloseValue
this helps me make decisions in later actions on whether to run some pl/sql, for instance
In light of a recent question of mine regarding a potential APEX bug (Display item with HTML affected by dynamic action and since we can't put conditions on actions - I was wondering if I could incorporate something into my dynamic action condition to stop the entire dynamic action from executing if modalPageCloseValue is null - but it seems to be out of scope?
ScottScott,
You're current condition is:
$v('P110_PROD_SEARCH') == 'BLAH'Just change that to:
$v('P110_PROD_SEARCH') == 'BLAH' && this.data.modalPageCloseValueRegards,
Dan
blog: http://DanielMcghan.us/
work: http://SkillBuilders.com/APEX/
twitter: https://twitter.com/dmcghan
Maybe you are looking for
-
HT1386 can't sync my music to my iphone 5 using itunes 1 on windows 8
need some help on syncing music to my iphone 5 using itunes 1 on windows 8
-
Hi! do you know about any plans to include HDMI or at least DVI output on X200 Series laptops, instead of really old school VGA? I think even managers and IT guys (who are the target group of this laptop) might benefit from it. If not, is there any w
-
Hi, I've been trying to connect to a MySQL database from Java. I have no problems from PHP so the db is fine, but suspect this is a driver issue. I was using the Netbeans IDE but have now switched to a basic texteditor and command line to try underst
-
N9 French virtual keyboard bug - unable to enter à...
On my Nokia N9, with the French virtual keyboards set, I am unable to enter essential characters such as " à " (a grave), " é " (e acute), " è " (e grave), etc. Is there a way to enter these characters? Or a solution to this bug? The only accented ch
-
I have some .mov's of a film I made and I'm burning them to dvds. When I import my highest quality mov into idvd and preview it, there are straight white lines at the top and bottom of the letterbox area, one on the very top and one on the very botto