Ask a Question related to Ruby, Design and Development.
-
Dalibor Sramek #1
Winapp without console window
Hi.
Is there any way how to run a non-GUI Ruby script in Windows without the console
window shown in the taskbar? I need to install a script to a user who would get
distracted by the console window appearing in her taskbar.
Thanks
Dalibor Sramek
--
Dalibor Sramek [url]http://www.insula.cz/dali[/url] | In the eyes of cats,
[email]dalibor.sramek@insula.cz[/email] | all things belong to cats.
Dalibor Sramek Guest
-
insert a frame or window into adobe acrobat or reader window
Using Windows OS XP or Vista. Can you ad a frame or window into the main window to allow saving a document through another application? I have an... -
Child window property window.opener null after postback
I have an webform from which I open a child window to display a calendar. When a date is selected in the calendar window it attempts to set the... -
can a popup window return data to parent window?
Is it possible to do the following in php: I want to have a main form open. In the form I want a button that will open a popup window so the user... -
Discrepancy in color between Photoshop window and print window
Thanks to Beth and Jim for leading me to the solution. I right-clicked on the Windows desktop and selected properties - settings - advanced - colour... -
dlopen is failing on Window XP works great on Window 2000
Michael Davis <mdavis@sevasoftware.com> writes: Check the permission of the so file: $ ls -l... -
Thomas Adam #2
Re: Winapp without console window
What you could do is...
1. Write a .bat file called "runnme" which has:
start ruby c:\path\to\ruby_script.rb
2. Create a symlink (shortcut, sorry) to the user's desktop.
3. Set the properties of runme.bat to "run-minimised"
That way it would be hidden.
HTH,
-- Thomas Adam
--- Dalibor Sramek <dali@insula.cz> wrote: > Hi.=====>
> Is there any way how to run a non-GUI Ruby script in Windows without the
> console
> window shown in the taskbar? I need to install a script to a user who
> would get
> distracted by the console window appearing in her taskbar.
>
> Thanks
>
> Dalibor Sramek
>
> --
> Dalibor Sramek [url]http://www.insula.cz/dali[/url] | In the eyes of cats,
> [email]dalibor.sramek@insula.cz[/email] | all things belong to cats.
>
>
Thomas Adam
"The Linux Weekend Mechanic" -- [url]www.linuxgazette.com[/url]
__________________________________________________ ______________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger [url]http://mail.messenger.yahoo.co.uk[/url]
Thomas Adam Guest
-
Oliver Dain #3
Re: Winapp without console window
On Fri=2C 5 Sep 2003 22=3A30=3A18 +0900 Dalibor Sramek =3Cdali=40insula=2Ecz=3E wrote=3A
=3E Hi=2E
=3E
=3E Is there any way how to run a non-GUI Ruby script in Windows without the
console
=3E window shown in the taskbar=3F I need to install a script to a user who would
get
=3E distracted by the console window appearing in her taskbar=2E
=3E
=3E Thanks
=3E
=3E Dalibor Sramek
=3E
=3E --
=3E Dalibor Sramek http=3A=2F=2Fwww=2Einsula=2Ecz=2Fdali | In the eyes of cats=2C
=3E dalibor=2Esramek=40insula=2Ecz | all things belong to cats=2E
=3E
=3E
Isn't that what rubyw is for=3F I think if you run =22rubyw=2Eexe yourscript=2Erb=22
it'll run without a console=2E Not sure how you're starting your app -- e=2Eg=2E
from scheduler just use the above command as the command line to start it=2E
With user intervention create a shortcut with the above command as the target=2C
etc=2E Either way your script should run without creating a window=2E
Oliver Dain Guest
-
Alan Chen #4
Re: Winapp without console window
The windows build of ruby should have a rubyw.exe which doesn't open a
console window.
Cheers,
alan
Dalibor Sramek <dali@insula.cz> wrote in message news:<1062768613.3f588fe555904@www.epot.cz>...> Is there any way how to run a non-GUI Ruby script in Windows without the
> console window shown in the taskbar?Alan Chen Guest
-
Dalibor Sramek #5
Re: Winapp without console window - system tray icon
On Sat, Sep 06, 2003 at 03:10:23AM +0900, Alan Chen wrote:
Thanks, guys. Of course, rubyw.exe is the right solution. I tried it before> The windows build of ruby should have a rubyw.exe which doesn't open a
> console window.
but it did not work with non GUI scripts. Probably my Ruby installation was
corrupted. After reinstall everything works perfectly.
One more question:
Is there any way to create system tray icon for a Ruby programm in Windows?
Can one of the GUI bindings for Ruby do that?
Dalibor Sramek
--
Dalibor Sramek [url]http://www.insula.cz/dali[/url] | In the eyes of cats,
[email]dalibor.sramek@insula.cz[/email] | all things belong to cats.
Dalibor Sramek Guest
-
daz #6
Re: Winapp without console window - system tray icon
"Dalibor Sramek" <dali@insula.cz> wrote:
Using vruby (included in the PragProg distro).>
> One more question:
> Is there any way to create system tray icon for a Ruby programm in Windows?
> Can one of the GUI bindings for Ruby do that?
>
> Dalibor Sramek
>
Homepage is:
[url]http://www.threeweb.ad.jp/~nyasu/vruby/vrproject-e.html[/url]
Many samples at:
[url]http://www.threeweb.ad.jp/~nyasu/vruby/samples-e.html[/url]
For SysTray: ------------------------------>>>
[url]http://www.threeweb.ad.jp/~nyasu/vruby/sample/traytest.rb[/url]
Download sample scripts:
[url]http://www.threeweb.ad.jp/~nyasu/vruby/vruby030906.zip[/url]
daz
daz Guest



Reply With Quote

