Reply To: APPLICATION_​​​QUERY slows down moveable hotspots

Home Forums Problems and solutions in GDL Informations from the environment APPLICATION_​QUERY slows down moveable hotspots Reply To: APPLICATION_​​QUERY slows down moveable hotspots

#18673
Joachim Sühlo
Participant

The script part I use is:

! ———————————————————————- !
! ————— C u s t o m p i c t u r e f i l e r e q u e s t
! ———————————————————————- !

IF GLOB_FEEDBACK_MODE = 0 THEN

dim stCustomPicFiles[]
bCustomPicFileExist = APPLICATION_QUERY (“LIBRARY_MANAGER”, “USER_IMAGE_FILES”, stCustomPicFiles)

p_num = VARDIM1(stCustomPicFiles)

DIM stCustomPicFiles_with_prefix[]
si = 1
int_num_prefix = STRLEN(str_prefix)

IF (str_prefix # ” ” AND str_prefix # “”) THEN
FOR i = 1 TO p_num
IF STRSUB(stCustomPicFiles[i], 1, int_num_prefix) = str_prefix THEN
stCustomPicFiles_with_prefix[si] = stCustomPicFiles[i]
si = si + 1
ENDIF
NEXT i
ELSE
stCustomPicFiles_with_prefix = stCustomPicFiles
ENDIF

p_num = VARDIM1(stCustomPicFiles_with_prefix)

ENDIF

GDL Object Developer
b-prisma
MAC OSx 10.12