>-----Original Message----- >From: John Morse >To: Gardner, Paul G. >Sent: 2/25/2005 8:23 PM >Subject: [power-pro] Re: Compare Snippets bar
>Is [3] correct? I'm having trouble setting this part up. John, It might not be. Taking Alex's advice, I've removed all the esc calls and performed some additional cleanup. The result (which is much easier to read) is pasted below (watch for serious word wrap). Note -> LParam2 and RParam2 for [3] has this between the first_compare and second_compare files -> ++" "++ <- Note the space. This isn't obvious due to the line breaks. Beyond Compare wants spaces between it's command line parameters. Paul [CompareBar:Properties] Format1 = IconSize: 16 Position: RightCaption VOffset: -25 Format2 = MaxText: 531 Format3 = TopMost Border Tooltips AllVDesks 3DFrame Format4 = TextCenter BarSize [1] Label = *Info "Snippet File" expr(ifelse(file.validpath(pprofolder++?"Temp\first_compare.txt"), "", "Not " ))"Present" Tooltip = Indicates if first snippet file is ready/Right Click will delete snippet file LCmd1 = (none) MCmd1 = (none) RCmd1 = *file RParam1 = Delete C:\Program Files\PowerPro\Temp\*_compare.txt [2] Label = Get First Snippet Tooltip = Left click copies clipboard to snippet file/Right click will copy selected text to clipboard and then to snippet file LCmd1 = clip.tofile(pprofolder++?"Temp\first_compare.txt") MCmd1 = (none) RCmd1 = clip.copythentofile(pprofolder++?"Temp\first_compare.txt") [3] Label = Compare Clipboard against Snippet Tooltip = Left Click compares clipboard against snippet file/Right click will copy selected text to clipboard and compare against snippet file LCmd1 = clip.tofile(pprofolder++?"Temp\second_compare.txt") LCmd2 = do(?"C:\Program LParam2 = Files\Beyond Compare 2\BC2.exe", ?'"'++pprofolder++?'Temp\first_compare.txt"'++" "++?'"'++pprofolder++?'Temp\second_compare.txt"') MCmd1 = (none) RCmd1 = clip.copythentofile(pprofolder++?"Temp\second_compare.txt") RCmd2 = do(?"C:\Program RParam2 = Files\Beyond Compare 2\BC2.exe", ?'"'++pprofolder++?'Temp\first_compare.txt"'++" "++?'"'++pprofolder++?'Temp\second_compare.txt"') [4] Label = Close LCmd1 = *Bar LParam1 = Close CompareBar MCmd1 = (none) RCmd1 = (none) Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
