Skip to content
+1-888-319-3663

COMMUNITY FORUM

Auto run the save button script on the current extender window when checkbox action has occured

Arthur asked 2 years ago
Anyone got some dex code that allows me to click save on the extender window automatically on a field action?
 
 
Arthur replied 2 years ago

Found it thanks to https://winthropdc.wordpress.com/2015/09/01/how-to-dynamically-modify-extender-windows/
Just different names

if isopen(form EXT_Window_1) then
case ‘Extender Window ID’ of window ‘User Defined Window’ of form ‘EXT_Window_1’
in [“TFR_APPROVAL”]
run script ‘Save Button’ of window ‘User Defined Window’ of form ‘EXT_Window_1’;

else
end case;
end if;
if isopen(form EXT_Window_2) then
case ‘Extender Window ID’ of window ‘User Defined Window’ of form ‘EXT_Window_2’
in [“TFR_APPROVAL”]
run script ‘Save Button’ of window ‘User Defined Window’ of form ‘EXT_Window_2’;

else
end case;
end if;
if isopen(form EXT_Window_3) then
case ‘Extender Window ID’ of window ‘User Defined Window’ of form ‘EXT_Window_3’
in [“TFR_APPROVAL”]
run script ‘Save Button’ of window ‘User Defined Window’ of form ‘EXT_Window_3’;

else
end case;
end if;
if isopen(form EXT_Window_4) then
case ‘Extender Window ID’ of window ‘User Defined Window’ of form ‘EXT_Window_4’
in [“TFR_APPROVAL”]
run script ‘Save Button’ of window ‘User Defined Window’ of form ‘EXT_Window_4’;

else
end case;
end if;
if isopen(form EXT_Window_5) then
case ‘Extender Window ID’ of window ‘User Defined Window’ of form ‘EXT_Window_5’
in [“TFR_APPROVAL”]
run script ‘Save Button’ of window ‘User Defined Window’ of form ‘EXT_Window_5’;

else
end case;
end if;
if isopen(form EXT_Window_6) then
case ‘Extender Window ID’ of window ‘User Defined Window’ of form ‘EXT_Window_6’
in [“TFR_APPROVAL”]
run script ‘Save Button’ of window ‘User Defined Window’ of form ‘EXT_Window_6’;

else
end case;
end if;
if isopen(form EXT_Window_7) then
case ‘Extender Window ID’ of window ‘User Defined Window’ of form ‘EXT_Window_7’
in [“TFR_APPROVAL”]
run script ‘Save Button’ of window ‘User Defined Window’ of form ‘EXT_Window_7’;

else
end case;
end if;
if isopen(form EXT_Window_8) then
case ‘Extender Window ID’ of window ‘User Defined Window’ of form ‘EXT_Window_8’
in [“TFR_APPROVAL”]
run script ‘Save Button’ of window ‘User Defined Window’ of form ‘EXT_Window_8’;

else
end case;
end if;
if isopen(form EXT_Window_9) then
case ‘Extender Window ID’ of window ‘User Defined Window’ of form ‘EXT_Window_9’
in [“TFR_APPROVAL”]
run script ‘Save Button’ of window ‘User Defined Window’ of form ‘EXT_Window_9’;

else
end case;
end if;
if isopen(form EXT_Window_10) then
case ‘Extender Window ID’ of window ‘User Defined Window’ of form ‘EXT_Window_10’
in [“TFR_APPROVAL”]
run script ‘Save Button’ of window ‘User Defined Window’ of form ‘EXT_Window_10’;

else
end case;
end if;

Tracy hipps replied 2 years ago

I dont want to sound like a jerk but the above example does not work in my Extender Solution. The name of the form is wrong for some reason.

I ran this instead

run script ‘Save Button’ of window ‘User Defined Window’ of form <#FORM_NAME#>; I would not validate under the other convention.

Arthur replied 2 years ago

they changed the names between versions, yours might be called PT_UD_Window_1 instead of EXT_Window_1


If you would like to submit an answer or comment, please sign in to the eOne portal.