Forum Replies Created
- AuthorPosts
- Display ErrorParticipant
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 :)Display ErrorParticipantAhh, 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="") }
Display ErrorParticipantAhh, 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="") }
Display ErrorParticipantThe 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?
September 7, 2017 at 7:27 pm in reply to: Using a macro to export all settings into a registry / ini file(s) #22395Display ErrorParticipantYes 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
Display ErrorParticipantAwesome, many thanks!
Display ErrorParticipantCoincidentally 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 :) - AuthorPosts