To write your macro easier: Create a text file in you SWG main directory. Name it something like mymacros.txt Now write this in this file (or copy/paste) P1: /ui action toolbarPane00 P2: /ui action toolbarPane01 P3: /ui action toolbarPane02 P4: /ui action toolbarPane03 P5: /ui action toolbarPane04 P6: /ui action toolbarPane05 F101: /ui action toolbarSlot00 F102: /ui action toolbarSlot01 F103: /ui action toolbarSlot02 F104: /ui action toolbarSlot03 F105: /ui action toolbarSlot04 F106: /ui action toolbarSlot05 F107: /ui action toolbarSlot06 F108: /ui action toolbarSlot07 F109: /ui action toolbarSlot08 F110: /ui action toolbarSlot09 F111: /ui action toolbarSlot10 F112: /ui action toolbarSlot11 F201: /ui action toolbarSlot12 F202: /ui action toolbarSlot13 F203: /ui action toolbarSlot14 F204: /ui action toolbarSlot15 F205: /ui action toolbarSlot16 F206: /ui action toolbarSlot17 F207: /ui action toolbarSlot18 F208: /ui action toolbarSlot19 F209: /ui action toolbarSlot20 F210: /ui action toolbarSlot21 F211: /ui action toolbarSlot22 F212: /ui action toolbarSlot23 First bloc is for navigate between Toolbar 1 to 6, second bloc to select F1 to F12 key of the First row, third bloc to select F1 to F12 from the second row. Now to use that to write your common macros you have to create a macro : /load mymacros.txt name it something like LoadAlias then at the start of each macro you make you use the line /macro LoadAlias so that the aliases from your text file are loaded an ready to be use and then to write a complex macro you jus have to replace all your /ui action toolbar(something) by the correspondant alias. The famous ticket boarding macro can be written this way : Name: Boarding /macro LoadAlias /P6 (assuming you put the macro in the 6th macro bar) /F101 (assuming you put your ticket in the first slot of the toolbar F1 case) /pause 20 /macro Boarding In this way, each 20 seconds the toolbar 6 is selected, the first button is clicked. You need to start the macro and put it somewhere on another toolbar or in another slot of this toolbar. This macro will replace this one : /ui action toolbarPane05 /ui action toolbarSlot00 /pause 20 /macro Boarding The purpose is to replace all /ui action toolbar by something more friendly to remember and less long to write. The 4th toolbar is P4, the F6 in the first row is F106 and the F6 in the second row is F206. No more math to do. Another usefull macro for those who have maskscent : Name: MaskingScent /macro LoadAlias /maskscent /maskscent /pause 240 /bip /pause 10 /macro MaskingScent in you mymacros.txt file you have create a line : bip: /alarmAddIn 00 00 Maskscent Imminent in this way, each 250 seconds you will renew your maskscent and you will get 10 second before the renew to stop any activity taht could hinder the maskscent. you can even create a first macro to call this one : Name: Mask /dump /maskscent /macro MaskingScent this macro will stop any other you have (notably a running MaskingScent) and will mask you and load the macro to MaskingScent previously created. Hope this will help some
|