View Single Post
  #4  
Unread 08-04-2010, 11:52 AM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Okay in response to myself, I think I answered my own question. Seems when trying to explain what you're doing helps yourself figure out the solution

Basically I just had to get creative with it. I knew I had to do it in 2 steps, but my brain wasn't quite grasping the method at first.

Setup separate objects with the string broken up.

code1's object: sTestObj=('Parent.
code2's object: .text')

Then do this:
sString=('Long Item Name')
Parent.DoCommand.onpress=(code1 ## sString ## code2)
Parent.DoCommand.press=true

However the problem I don't think I can solve.... Items with apostrophes in their names
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>

Last edited by Drumstix42 : 08-04-2010 at 12:20 PM.
Reply With Quote