Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: Creating a simple Open File macro? #28062
    Display Error
    Participant

    I seee! So there’s no need to copy the text to clipboard, just use the actual selected text! The macro documentation makes more sense to me now :)
    Thanks a lot Yutaka, that works perfectly :)

    in reply to: How to insert directory name with Replace? #27217
    Display Error
    Participant

    Ahh, think I’m supposed to use macros… had a go at it but not really sure what I’m doing :/
    Gave up and used AutoHotkey with the Textfile & String Library

    #NoEnv
    #Persistent Force
    #SingleInstance Force
    #Include TF.ahk
    Loop, Files, E:\SAMPLES\TAL Sampler\Zampler RX\*.sfz, R	; recursively loop sfz files
    {
        file := A_LoopFileFullPath	; gets full directory
        SplitPath file,, dir				; splits out filename
        SplitPath dir, dir				; splits out last folder name
        F = !%A_LoopFileFullPath%	; enable file overwriting
        UpdatedRelativePath = sample=..\..\..\..\Audio\MULTISAMPLES\Zampler\%dir%\ 	; path with current folder
    
        TF_Replace(F,"sample=", UpdatedRelativePath)	; TF_Replace(Text, SearchText, Replacement="")
    }
    in reply to: How to insert directory name with Replace? #27203
    Display Error
    Participant

    Ahh, think I’m supposed to use macros… had a go at it but not really sure what I’m doing :/
    Gave up and used AutoHotkey with the Textfile & String Library

    #NoEnv
    #Persistent Force
    #SingleInstance Force
    #Include TF.ahk
    Loop, Files, E:\SAMPLES\TAL Sampler\Zampler RX\*.sfz, R	; recursively loop sfz files
    {
        file := A_LoopFileFullPath	; gets full directory
        SplitPath file,, dir				; splits out filename
        SplitPath dir, dir				; splits out last folder name
        F = !%A_LoopFileFullPath%	; enable file overwriting
        UpdatedRelativePath = sample=..\..\..\..\Audio\MULTISAMPLES\Zampler\%dir%\ 	; path with current folder
    
        TF_Replace(F,"sample=", UpdatedRelativePath)	; TF_Replace(Text, SearchText, Replacement="")
    }
    in reply to: Automatically determine XML documents #26920
    Display Error
    Participant

    The DetectXML.jsee only seems works on a freshly opened documents. But if you move the cursor below the first line and then re-open the document it can’t find “<?xml” since the cursor position is saved and past the 1st line. I was unable to get the “strFirstLine = document.GetLine( 1 );” to work as it spits out a “Expected (” error.

    Is there an alternate method for automagically detecting and switching to XML scheme?

    Display Error
    Participant

    Yes please! I too would like this feature.
    I’m currently using a .bat file which I’ve added to the External Tools menu (so I can hotkey it) for quick backups.

    @echo off
    set settings=C:\Settings\EmEditor\Registry_Export
    reg export "HKEY_CURRENT_USER\Software\EmSoft" "%settings%\EmEditor_Settings_CurrentUser.reg" /y
    reg export "HKEY_LOCAL_MACHINE\SOFTWARE\EmSoft" "%settings%\EmEditor_Settings_LocalMachine.reg" /y 
    in reply to: Outline node icons not showing in Win7 Classic #21775
    Display Error
    Participant

    Awesome, many thanks!

    in reply to: Open file in explorer #21736
    Display Error
    Participant

    Coincidentally I’ve just started switching over to XYplorer as my replacement for Window Explorer and stumbled across the same issue!
    Many thanks for including this in your future roadmap :)

Viewing 7 posts - 1 through 7 (of 7 total)