Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Replacing text in multiple macros
#1
Hello,, I have a folder with alot of macros in it and alot have the same wait times can the RePlace dialog change everything in a folder or do i have to change each macro seprately?
if it is possible to use the replace dialog to change all the wait times in a folder how would it be done..it would save me alot of time Smile
#2
You have to change each macro separately. Use Find dialog to make it easier.
#3
Ok thanks Gin.......Would be nice to have the option to change alot of macros in folder all at once though....should put this in the WISH LIST Smile
#4
Replacing text in multiple macros can be automated using macro.

Macro QM_ReplaceTextInAllItems
Code:
Copy      Help
spe 10
int hwnd=win("Find" "#32770" "QM")
int hlb=id(1128 hwnd)
int hb=id(1132 hwnd)
act hlb
key H
rep LB_GetCount(hlb)
,key+ C
,but hb
,key- C
,act hlb
,key DV

Toolbar tb_QM_Find
Trigger: !a"Find" "#32770" /QM
(paste the trigger in the Trigger field in the QM main toolbar)
Code:
Copy      Help
;/mov0 185 0 /siz0 97 20 /set0 0x427 0xFCFF
Replace In All :mac "QM_ReplaceTextInAllItems"

This toolbar will appear over the title bar of the Find dialog. It will have "Replace In All" button. When you type text to find, items containing that text are listed in the right. Click "Replace In All" and it will replace text in all items listed in the right.
#5
Gintaras Your the best thankyou for taking the time to help thats gonna save me alot of time Smile


Forum Jump:


Users browsing this thread: 1 Guest(s)