2 Replies - 2395 Views - Last Post: 12 October 2012 - 12:27 PM

#1 Zero Cool  Icon User is offline

  • D.I.C Head

Reputation: 26
  • View blog
  • Posts: 100
  • Joined: 18-June 12

Can anyone tell me what language this is?

Posted 11 October 2012 - 07:39 AM

Maybe this should be caffeine lounge? Anyways, started a new job this week and they've got an IBM Power System server client (actually its the old RS/6000, which became the power series).

I'm trying to whip up some macros and I was able to get a little code piece by recording a macro and viewing what the edit macro menu returned to me. Does anyone know whst language this is or where I can find some info/manual/book/tutorial on the commands this thing will take rather than have to find them all via testing and checking macros?

Here's the code sample I found:

wait timeout 3
	case " " 
		send "'2'"
	timeout
		send "'2'"
end wait
wait timeout 3
	case " " 
		send "'2'"
	timeout
		send "'2'"
end wait
wait timeout 3
	case " 22" 
		send "^m"
	timeout
		send "^m"
end wait




Also, anyone who is familiar with RS/6000 or similar versions, any info you have floating around in your brain, I would certainly love if you'd share with me. I get a feeling a lot of my day to day activities are going to involve playing with this little green screen.


Here are some dancing tazmanian devils for your time:


:taz: :taz: :taz: :taz: :taz: :taz:

Oh, by the way, this was just a macro to enter the input of "22" and then a return.

Is This A Good Question/Topic? 0
  • +

Replies To: Can anyone tell me what language this is?

#2 wordswords  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 76
  • View blog
  • Posts: 272
  • Joined: 17-December 11

Re: Can anyone tell me what language this is?

Posted 11 October 2012 - 02:07 PM

View PostZero Cool, on 11 October 2012 - 02:39 PM, said:

wait timeout 3
	case " " 
		send "'2'"
	timeout
		send "'2'"
end wait
wait timeout 3
	case " " 
		send "'2'"
	timeout
		send "'2'"
end wait
wait timeout 3
	case " 22" 
		send "^m"
	timeout
		send "^m"
end wait




Is it Expect? It looks like it. See this link for an example of Expect code, and for more info:

http://oreilly.com/c...apter/ch03.html
Was This Post Helpful? 1
  • +
  • -

#3 Zero Cool  Icon User is offline

  • D.I.C Head

Reputation: 26
  • View blog
  • Posts: 100
  • Joined: 18-June 12

Re: Can anyone tell me what language this is?

Posted 12 October 2012 - 12:27 PM

View Postwordswords, on 11 October 2012 - 09:07 PM, said:

View PostZero Cool, on 11 October 2012 - 02:39 PM, said:

wait timeout 3
	case " " 
		send "'2'"
	timeout
		send "'2'"
end wait
wait timeout 3
	case " " 
		send "'2'"
	timeout
		send "'2'"
end wait
wait timeout 3
	case " 22" 
		send "^m"
	timeout
		send "^m"
end wait




Is it Expect? It looks like it. See this link for an example of Expect code, and for more info:

http://oreilly.com/c...apter/ch03.html


Thanks! Looks like I have another book to pick up for my O'Reily infested programming library :hehe:
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1