If I have a bit of code inside Shoes.app block, like this
keypress do |k|
case k
…
when :alt_o
@contents = File.read(ask_open_file)
end
end
it runs the file (if it is a shoes app). Otherwise, it seems to do
nothing and returns nil.
If you run it outside of the Shoes.app block, pas in the manual
example] it works ok.
Does Shoes.app set the context for ask_open_file to be able to run new
apps? How can I change this?
Thanks,
Ed
Ed Howland