Jump to content
Macro Express Forums

Avarion

Members
  • Posts

    28
  • Joined

  • Last visited

Everything posted by Avarion

  1. Thank you all. Its working. Now some finetuning for the different datasources and the database will be ready in notime
  2. Oh, one more question. The sometext contains linebreaks. How can i remove em? I think mit replace text in variable but how can i search for a cr/nl?
  3. Thank you all. Now I have to understand how this script works then I'll go for modifying it.
  4. in the sometextarea is a long description. But i dont want only the spaces removed but reformated it for an csv-file for databaseimport.
  5. Hi, i want to make a makro wich gets text from clipboard, reformates its content and append it to a file. I am not familiar with textprocessing in Macro Express. The clipboard text is in such a format: Personname (Department) Income: XXXX Entrydate: XX.XX.XXXX Sex: XXX Age: XX Some text-Some text-Some text-Some text-Some text-Some text-Some text-Some text-Some text-Some text-Some text- Some text-Some text-Some text-Some text-Some text-Some text-Some text-Some text-Some text-Some text-Some text- The file should appear like this: PersonName#Department#XXXX#XX.XX.XXXX#XXX#XX#Some text-Some text-Some text-Some text-Some text-Some text-Some text-Some text-Some text-Some text-Some text... The formatinglogic isnt so hard but i dont find the right commands in ME to manipulate strings. Any ideas?
  6. I tried to simple wait a time then shutdown first a program then the computer <WAITTIME:00014400><WSHUT:Azureus><POWEROFF> The problem is: As soon i run this macro my pc shuts down. The macro ignores the waitcommand. Any idea?
  7. Hmm. Thank you. Perhaps I'll skip the waitsequence in the texttospeech-macro.
  8. Hmm. is it possible to start a second instance of macro express?
  9. Is it possible to start a macro, call from this macro another and continue the first before the second is finished? I'm using the text to speach macro and the text takes a while to complete. In this time I want the first macro to go on.
  10. Hmm. I translatet the variablemacro Variable Modify Integer: %N40% = %N1% + %D157% What is the Variable %D157%?
  11. I am sure I didnt understand anything I'll try to find out more. Hope the programhelp will help Thank you for fast response.
  12. Hi, again. I have a problem with loops. The point is: The macro contains a series of variables like N20-N30. Now I have a loop and inside the macro shall take the loopcounter N1 and add 20. Then take the number to get the matching variable and put the content in variable N40. Sample: N1=0 N20=4 N21=6 N22=342 N23=12 1. loop N1=1, N40=5 (N1+N20) 2. loop N1=2, N40=8 (N1+N21) 3. loop N1=3, N40=345 (N1+N22) 4. loop N1=4, N40=16 (N1+N23) I am not able to mix the variable name and variable content. I dont find any infos in the ME-help. Idea anyone ?
  13. Hmm, its working. Don't know why. Didn't changed anything. Thank you anyway
  14. Ok, thanks. I'll try to find that switch.
  15. Hello, I've tried to make a makro for a game. I've programmed it and then I aktivated it while in the game. Nothing happend, the mousecoursor stand still. Alt+Tab to Desktop, the macro is running, now the cursor moved correctly. Anyone an idea?
  16. It worked, it worked. Thank you all.
  17. Ah, ok. I need both. Thanks.
  18. I've read it and I am sure I understand not more than 2/3 of it. The removing of "Range: ", "Duration: " and so on is easy, i can handle it by myself. The one problem I can not solve is a missing ; at end of every spelldescription. I've found you comment about this point in the source but I don't know exactly how to add the semicolon.
  19. The problem is that I need the spellinformation in the last field. The database field are: Spellname, Book (in this Book are all HB for "Hauptbuch"), Spelllevel, Reversible true/false, Wildmagic true/false (is not in the Spelldescription only in the spellist. Have to make it with my own hands), School (Necromancy, Alteration, Evocation and so on), Range, Components, Materialcomponents (only if there is a M in Components. Described in the Spelldescription. I'll make it myself), Spellduration, Castingtime, Area of Effect, Savingthrow, Spelldescription As a matter of clearness i moved the materialcomponents from Spelldescription in a seperate field. Perhaps I should mark the components before running the macro. Would be easier to seperate the fields.
  20. Oh, it works really fine. Now it should cut off the field names like "Range:", "Components:" and so on. Can you store the macro in a *.mex file so i can open the sourcecode? I dont know how to open the mxe as source.
  21. Ok, here are two Files. The file called "Hauptbuch.txt" is the original data. The file "HB 2.txt" is handmade as I need it for the database. Hmm. It seems I am not able to add RAR-Files, so it is a bigger ZIP-file. Sorry. Edit: there are some changes in the HB 2 compared with my description, like I put the spellcomponents, normally a part of the spelldescription, in a seperate field and I added a field with the value 1 in it as a description from what book I took the data. Dont get confused. AD_D.zip
  22. oof. Hard stuff. I'll try to understand this on weekend. Thanks for your work. I'll tell you if I am able to understand it
×
×
  • Create New...