Main menu

Search
Login
Signup
Links
<< Previous thread | Next thread >>   
Gestire file .xml

Author Post
Costa28
Thu 25 Apr 2013 - 11:24
online
Registered Member #56
Joined: Sun 21 Jan 2007 - 10:18
Posts: 64

Salve a tutti!!

Faccio una domandina a tutti coloro che, come me, sono rimasti a casa in questo giorno di festa.

Dato il file a.xml
<?xml version="1.0" encoding="UTF-8"?>
-<fab_config>
TempFolder="C:/Users/Administrator/AppData/Local/Temp/DVDFab" CPUCores="2" ShowProfileList="1" OptionRunBefore="0" NotifyOptionTrial="0" PreventStandby="1" DisableScreenSaveInProcess="1"

ecc ecc


quale funzione devo usare per trasformare TempFolder in %TEMP%\DVDFab?

Un esempio... grazie
Back to top
Danix
Thu 25 Apr 2013 - 14:26

online

Registered Member #1
Joined: Fri 29 Dec 2006 - 05:38
Location: Sassari
Posts: 12956
Prova con:

[Environment]
TempPath=%TEMP%\DVDFab
Directory=$Home$\$AppName$

[StringRegExpReplace=%Directory%\a.xml]
<<RE>>|0|/=(TempFolder=")[^"=<>\n\r]*(" )<<RE>>$1{%TempPath%}$2


Dove %Directory% è ovviamente il percorso in cui si trova a.xml

Ti propongo anche una modifica. Vedi tu, poi, quale dei due percorsi temporanei utilizzare:

[Environment]
TempPath=$Temp$
Directory=$Home$\$AppName$

[StringRegExpReplace=%Directory%\a.xml]
<<RE>>|0|/=(TempFolder=")[^"=<>\n\r]*(" )<<RE>>$1{%TempPath%}$2
Back to top
Website
Costa28
Thu 25 Apr 2013 - 17:15
online
Registered Member #56
Joined: Sun 21 Jan 2007 - 10:18
Posts: 64
Hola capo...

anche tu a casa in questo giorno di festa?

Meno male che il tempo non è stato bello....

Comunque grazie per il tuo interessamento.

Ora vedo...

[ Edited Thu 25 Apr 2013 - 17:17 ]
Back to top
Costa28
Fri 26 Apr 2013 - 13:59
online
Registered Member #56
Joined: Sun 21 Jan 2007 - 10:18
Posts: 64
Mmmmmm

Il manuale è veramente troppo stringato.

Potete segnalare qualche risorsa (magari ITA) per capire come gestire questa funzione?

Grazie
Back to top
Danix
Fri 26 Apr 2013 - 14:25

online

Registered Member #1
Joined: Fri 29 Dec 2006 - 05:38
Location: Sassari
Posts: 12956
Purtroppo il tempo è quello che è, ed il lavoro sul sito è tanto.
Hai verificato se funziona?
Back to top
Website
Costa28
Fri 26 Apr 2013 - 15:00
online
Registered Member #56
Joined: Sun 21 Jan 2007 - 10:18
Posts: 64
Danix wrote ...

Purtroppo il tempo è quello che è, ed il lavoro sul sito è tanto.


Comprendo.... ma oramai sono già diverse le utility che ho incontrato salvanti la propria configurazione su .xml


Danix wrote ...
Hai verificato se funziona?


No... perchè sarebbe inutile.
Visto che le parti da modificare sarebbero molte e, non conoscendo il metodo, preferisco passare.

<?xml version="1.0" encoding="utf-8"?>
<fab_config>
<common_setting Transferred="1" SubTransferred="1" Path="J:/PortableApps/Altre applicazioni/PORTABLEISTHEFUTURE!/DVDFab/DVDFab 9/Bin/DVDFab/DVDFab.exe" Version="9.0.3.6" Enable3DOn2D="1" HidePS3Files="1">
<Generic DVDFabAppPath="J:/PortableApps/Altre_nbsp;applicazioni/PORTABLEISTHEFUTURE!/DVDFab/DVDFab_nbsp;9/Bin/DVDFab/DVDFab.exe" MvcChangeBurnEngine="1" MvcOpenFolderWithVirtual="1" LastSourceDrive="0" LastSourceFolder="" LastTargetDrive="0" LastSrcCopyPath="" LastSrcRipperPath="" LastSrcConvertPath="" LastSrcCreatorPath="" LastCopyMode="1" LastWorkMode="1" LastTargetFolder="" SaveStatus="0" EnableLog="1" LogFolder="C:/Users/Claudio_nbsp;AS/Documents/DVDFab9/Log/" LogFilename="dvdfab_internal.log" EnableBurnLog="1" BurnLogFilename="dvdfab_burn_vso.log" EnableEventLog="1" EventLogFilename="dvdfab_process.log" SendReport="1" MultiInstance="0" LastUpdateTime="1366980454" AutoCheckDMA="1" DMAState="2" CheckOtherDecrypter="1" EnableAutoPlayEvent="0" EnableHideMenuIcon="1" AutoSubFolder="1" MinToTray="1" ShowCloseWaring="0" DisableScreenSaveInProcess="1" PreventStandby="1" NotifyOptionTrial="0" OptionRunBefore="0" ShowProfileList="1" CPUCores="2" TempFolder="C:/Users/Claudio_nbsp;AS/Documents/DVDFab9/Temp/" DefOutFolder="C:/Users/Claudio_nbsp;AS/Documents/DVDFab9/" SnapshotFolder="C:/Users/Claudio_nbsp;AS/Documents/DVDFab9/" AutoCheckNewVersion="1" AllowUpgradeBetaVersion="0" EmptyTempFolder="1" AskOveride="1" ShowWelcome="1" OpenDirectoryDone="0" UpgradeType="0" ShutOffType="0" ProductsReg="4095" ProductsEnable="4095" ActionWorkDone="0" PaneHead="0" PaneToDVDTaskLink="0" PaneToMobileTaskLink="17" PaneDVDToFileTaskLink="808464432" PaneToFileTaskLink="64" PaneToFileMobileTaskLink="52" PaneToBlurayMoblieTaskLink="1" PaneBlurayMobileTaskLink="36" PaneBlurayDvdTaskLink="13" PaneBluray3DTaskLink="69" PaneFileDvdTaskLink="14" PaneFileBlurayTaskLink="15" ShowOnlyRegistered="0" AutoSortTasklink="1" GPUAccelerateCode_qt="3" DevCUDACap_qt="0" EnableGPUAccelerate_qt="1031365995" H264DecodeType_qt="2" VC1DecodeType_qt="2" Mpeg2DecodeType_qt="0" EnableCudaEncoding_qt="0" H264DecodeTypeUser_qt="0" VC1DecodeTypeUser_qt="0" Mpeg2DecodeTypeUser_qt="0" EnableCudaEncodingUser_qt="0" EnableDirectTranscoder_qt="1" EnableDirectTranscoderUser_qt="0" DisableGPUSettings_qt="0" PreviewAutoPlay="0" PreviewAutoShow="1" PreviewEnableDXVA="0" PreviewDirectShow="1" PreviewFilterVideo="{00000000-0000-0000-0000-000000000000}" PreviewFilterAudio="{00000000-0000-0000-0000-000000000000}" AudioVolume="100" UpdateCheck="1" DVDFabDialogWidth="1200" DVDFabDialogHeight="800" DVDFabDialogMax="0" CurLanguageFile="J:/PortableApps/Altre_nbsp;applicazioni/PORTABLEISTHEFUTURE!/DVDFab/DVDFab_nbsp;9/Bin/DVDFab/QLanguage/DVDFabQt_ITA.qm" HybridDefaultLayer="0" HybridSelectMode="2" EnableHybridSupport="0" CustomizeColor="#EBEBEB" PlaySound="1" SuccessSound="C:/DVDFab_nbsp;9/succ.wav" FailedSound="C:/DVDFab_nbsp;9/error.wav" ProxyMethod="0" ProxyType="0" HttpHost="" HttpPort="" HttpUser="" HttpPass="" SocksHost="" SocksPort="" SocksUser="" SocksPass="" ShowGuide="0"/>
<Profile>
<Ripper MaxHistory="5">
<disk_ripper>
<item key="J:/PortableApps/Altre_nbsp;applicazioni/PORTABLEISTHEFUTURE!/DVDFab/DVDFab_nbsp;9/Bin/DVDFab/profiles5/audio.mp3.fabpf"/>
<item key="J:/PortableApps/Altre_nbsp;applicazioni/PORTABLEISTHEFUTURE!/DVDFab/DVDFab_nbsp;9/Bin/DVDFab/profiles5/mkv.h264.ac3.fabpf"/>
<item key="J:/PortableApps/Altre_nbsp;applicazioni/PORTABLEISTHEFUTURE!/DVDFab/DVDFab_nbsp;9/Bin/DVDFab/profiles5/mp4.h264.aac.fabpf"/>
<item key="J:/PortableApps/Altre_nbsp;applicazioni/PORTABLEISTHEFUTURE!/DVDFab/DVDFab_nbsp;9/Bin/DVDFab/profiles5/ipad.mp4.fabpf"/>
<item key="J:/PortableApps/Altre_nbsp;applicazioni/PORTABLEISTHEFUTURE!/DVDFab/DVDFab_nbsp;9/Bin/DVDFab/profiles5/iphone4.mp4.fabpf"/>
</disk_ripper>
<file_converter>
<item key="J:/PortableApps/Altre_nbsp;applicazioni/PORTABLEISTHEFUTURE!/DVDFab/DVDFab_nbsp;9/Bin/DVDFab/profiles5/audio.mp3.fabpf"/>
<item key="J:/PortableApps/Altre_nbsp;applicazioni/PORTABLEISTHEFUTURE!/DVDFab/DVDFab_nbsp;9/Bin/DVDFab/profiles5/mkv.h264.ac3.fabpf"/>
<item key="J:/PortableApps/Altre_nbsp;applicazioni/PORTABLEISTHEFUTURE!/DVDFab/DVDFab_nbsp;9/Bin/DVDFab/profiles5/mp4.h264.aac.fabpf"/>
<item key="J:/PortableApps/Altre_nbsp;applicazioni/PORTABLEISTHEFUTURE!/DVDFab/DVDFab_nbsp;9/Bin/DVDFab/profiles5/ipad.mp4.fabpf"/>
<item key="J:/PortableApps/Altre_nbsp;applicazioni/PORTABLEISTHEFUTURE!/DVDFab/DVDFab_nbsp;9/Bin/DVDFab/profiles5/iphone4.mp4.fabpf"/>
</file_converter>
</Ripper>
</Profile>
<DVD IOType="0" DoNotEjectSource="0" DVDBurnEngineType="0" AskBurnSpeed="0" BurnScaleSpeed="1" SetBookType="0" BurnDVDR="0" DVDRSize="4300" DVDR9Size="8100" DVDDoNotAutoEjectDisc="0" OverwriteDVDRWMedia="0" VerifyDVDBurnData="0" NeroCmdPath="" ImgBurnPath="" RemoveCSS="1" RemoveRC="1" RemoveRCE="1" Region="2" NotShowSetDVDRegion="0" RemoveAPS="1" RemoveUops="1" RemoveIFOUops="1" RemoveVOBUops="1" RemoveArccos="1" RemoveLayerBreak="1" PathPlayer="2" PathJump="0" ScanCell="300" ScanVOBU="30" ScanMultiButtonSet="1" SelectAudioTracks=";it" SelectAudioType="1" SelectBlurayAudioType="0" SelectAllAudio="1" SelectSubpicture=";it" PreSelectSubpic="1" SelectAllSubpicture="0" RemoveAACSBD="1" RemoveBDPlusBD="1" RemoveBDRemoveFirmwareWarning="1" RemoveRegionBD="1" RegionBD="2" NotShowSetBDRegion="0" RemoveBDLiveBD="1" RemoveJavaProtectionBD="1" RemoveUOPsBD="1" RemoveCCIBD="1" Enable3DOn2D="0" HidePS3Files="1" MediaSizeBD="23000" MediaSizeDLBD="46100" WriteSpeedBD="1" OverwriteBDRWMedia="0" VerifyBDBurnData="0" BDDoNotAutoEjectDisc="0" BDBurnEngineType="3" EnableReadBDCache="1" BDAutoIgnoredReadError="0" ReadTypeBD="1" BDSkipSectors="32" BDRetryTimes="1"/>
<DVDToDVD SplitCGP="DVDFab" SplitPutTitleDisc1="1" CustomizeCGP="Black_nbsp;Screen" OutputSizeType="1" DVDOutputType="3" DVDIDXML="0" CopyDVDVideo="0" CopyDVDAudio="0" CopyNonDVDFiles="0" RemoveDTS="0" NoMenu="0" Rewind="0" CheckPathJump="0" PathJumpType="0" RemoveAnnoyPGCs="0" OriginalIFO="0"/>
<DVDToMobile OneCDSizeMB="700" AutoCrop="1" AutoPanScanPercent="0" ForceSubpicture="0" CropMode="1" MobileOutputType="0" OutNamePatternDvd="_lt;Volume_gt;._lt;Title_gt;" OutNamePatternVideo="_lt;SourceFileName_gt;" OutNamePatternBluray="_lt;Volume_gt;._lt;Title_gt;" OutNamePatternSplit="." AlwaysDisplayForceSub="1" AlwaysRemoveHDAudio="0" RandomFileName="1" AVC_id="1" MP4_id="1" MemoryMode="0" FpsMode="1" AudioChannelMode="0" DVDAudioChannelDownmix="3" SubMode="2" TurboCPU="1"/>
<BluRayToBluRay BDOutputSizeType="3" BDOutputType="3" BDEnableFullScan="0" BDRemoveHDAudio="0" CreateMinISO="0" BDAVCHDCompatibility="1" BDEncodingSpeed="1"/>
<FileMover EnableFileMover="0"/>
<DVDDrives count="2">
<item_0 key="E:_nbsp;,E">
<key value="1"/>
</item_0>
<item_1 key="G:_nbsp;,G">
<key value="1"/>
</item_1>
</DVDDrives>
<SaveFile>
<item key="C:/Users/Claudio_nbsp;AS/Documents/DVDFab9/"/>
</SaveFile>
</common_setting>
<widget>
<widget_ViewSplitDVD_ header_0_width="75" header_0_visible="1" header_1_width="75" header_1_visible="1" header_2_width="75" header_2_visible="1" header_3_width="80" header_3_visible="1" header_4_width="75" header_4_visible="1" header_5_width="80" header_5_visible="1" header_6_width="165" header_6_visible="1" header_7_width="100" header_7_visible="1" header_8_width="321" header_8_visible="1"/>
<widget_ViewMergeDVDNext_ header_0_width="75" header_0_visible="1" header_1_width="75" header_1_visible="1" header_2_width="75" header_2_visible="1" header_3_width="100" header_3_visible="1" header_4_width="150" header_4_visible="1" header_5_width="100" header_5_visible="1" header_6_width="575" header_6_visible="1"/>
<widget_ViewRipper_ header_0_visible="1" header_0_width="75" header_1_visible="1" header_1_width="75" header_2_visible="1" header_2_width="110" header_3_visible="0" header_3_width="60" header_4_visible="0" header_4_width="60" header_5_visible="0" header_5_width="75" header_6_visible="1" header_6_width="165" header_7_visible="1" header_7_width="135"/>
<widget_ViewConvert_ header_0_visible="1" header_0_width="150" header_1_visible="1" header_1_width="75" header_2_visible="1" header_2_width="80" header_3_visible="1" header_3_width="60" header_4_visible="1" header_4_width="80" header_5_visible="1" header_5_width="165" header_6_visible="1" header_6_width="100" header_7_visible="1" header_7_width="35" header_8_visible="1" header_8_width="35"/>
</widget>
</fab_config>
Back to top

Moderators: Danix, Taf, Rcs, Energy, zandet2, ZioZione, Admin, LordJim60

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System