FlexPro
HistoryBase
Engineering
Training
Downloads
FlexPro-Support
Wissen
Community
Über Uns
Referenzen
Jobs
Allgemeiner Kontakt
Händlerverzeichnis
FlexPro-Support
DE
EN
FR
Placeholder
Produkte und Lösungen
Support und Downloads
Unternehmen
Magazin
Kontakt
Sprache
MyWeisang

Account Einstellungen

Topic

Detect the activate folder on a Fpscript

Startseite ' Community ' FPScript ' Detect the activate folder on a Fpscript

Anzeigen von 3-Stellen - 1 bis 3 (von insgesamt 3)
  • Autor
    Beiträge
  • #33198
    sylvain bressieux
    Teilnehmer

    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
    Teilnehmer

    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
    Teilnehmer

    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

Anzeigen von 3-Stellen - 1 bis 3 (von insgesamt 3)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.