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
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.14