FlexPro
HistoryBase
Ingénierie
Formation
Téléchargements
Support FlexPro
Connaissance
Communauté
À propos de nous
Références
Emplois
Contact général
Liste des revendeurs
Support FlexPro
FR
DE
EN
Porte-plaquette
Produits et solutions
Support et téléchargements
Entreprise
Magazine
Contact
Langue
MyWeisang

Paramètres du compte.

Topic

Detect the activate folder on a Fpscript

Page d'accueil ' Communauté ' FPScript ' Détecter le dossier d'activation sur un Fpscript

Voir les messages de 3 - 1 à 3 (sur un total de 3)
  • Auteur
    Messages
  • #33198
    sylvain bressieux
    Participant

    Bonjour,
    J’ai un petit souci sur un Fpscript.
    Mon but est de détecter le dossier actif (dossier rouge dans la fenêtre « Folders » sur l’image ci dessous) et de récupérer la valeur de l’année sur le nom complet du dossier.
    C’est-à-dire « 2009 » du dossier « INES001_2009-01-06_08-15-16 »
    Or comme vous pouvez voir c’est le dossier sélectionné par la souris « Project Database : … » qui a été pris en compte et non le dossier actif !!!?
    Comment peut-on faire pour obtenir ce que je veux ?

    Merci d’avance pour votre réponse

    Traduction Google :

    Hello,
    I have a small problem on a Fpscript.
    My goal is to detect the activate folder (red folder in the “Folders” on the image below) and recover the value of the year on the full name of the file.
    That is to say “2009” file “INES001_2009-01-06_08-15-16 ‘

    But as you can see that the folder selected by the mouse “Project Database …” has been taken into account and not the activate folder!?
    How can we do to get what I want?

    Thank you in advance for your reply
    [img]uid6438_bug formula.bmp[/img]

    #33200
    sylvain bressieux
    Participant

    Bonjour,
    J’ai un petit souci sur un Fpscript.
    Mon but est de détecter le dossier actif (dossier rouge dans la fenêtre « Folders » sur l’image ci dessous) et de récupérer la valeur de l’année sur le nom complet du dossier.
    C’est-à-dire « 2009 » du dossier « INES001_2009-01-06_08-15-16 »
    Or comme vous pouvez voir c’est le dossier sélectionné par la souris « Project Database : … » qui a été pris en compte et non le dossier actif !!!?
    Comment peut-on faire pour obtenir ce que je veux ?

    Merci d’avance pour votre réponse

    Traduction Google :

    Hello,
    I have a small problem on a Fpscript.
    My goal is to detect the activate folder (red folder in the “Folders” on the image below) and recover the value of the year on the full name of the file.
    That is to say “2009” file “INES001_2009-01-06_08-15-16 ‘

    But as you can see that the folder selected by the mouse “Project Database …” has been taken into account and not the activate folder!?
    How can we do to get what I want?

    Thank you in advance for your reply
    [img]uid6438_bug formula.bmp[/img]

    #33199
    Bernhard Kantz
    Participant

    Please use the FPScript function [b]ActivatedFolder[/b] instead of [b]ActiveFolder[/b].
    ActiveFolder returns the active (selected) folder. ActivatedFolder returns the activated (red) folder.

    Example:
    [code]
    StringMid(ActivatedFolder.name, 8, 4)
    [/code]

    support@weisang.com

Voir les messages de 3 - 1 à 3 (sur un total de 3)
  • Vous devez être connecté pour répondre à ce sujet.