Results 1 to 12 of 12

Thread: Color Picker using Wine?

  1. #1
    Join Date
    Mar 2013
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default Color Picker using Wine?

    Hi there, I'm running Linux Mint 14 KDE and using Simba etc under Wine, everything works fine it' just that I can't use a colour picker to detect the colours from the 07 client... any fixes?

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Can you post a screenshot or video or a better description of exactly what is going wrong/why you "can't use the color picker".

  3. #3
    Join Date
    Mar 2013
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    Can you post a screenshot or video or a better description of exactly what is going wrong/why you "can't use the color picker".
    Thanks for the quick reply!

    Basically, I press the colour clicker and the interface moves along with my mouse, until I leave the actual Simba interface, where my actual mouse then disappears and the colour remains static to what it was right at the edge of the open Simba program. If I move my mouse back onto Simba, it detects the colour again and my mouse is visible. If I click outside of Simba then it gives me the colour of the screen edge back as stated before, so I'm clueless with what I should do

  4. #4
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    I believe it's an issue using WINE, I have the same problem when using it on my mac.

    Forum account issues? Please send me a PM

  5. #5
    Join Date
    Jul 2012
    Posts
    113
    Mentioned
    7 Post(s)
    Quoted
    34 Post(s)

    Default

    Quote Originally Posted by Karasuba View Post
    Thanks for the quick reply!

    Basically, I press the colour clicker and the interface moves along with my mouse, until I leave the actual Simba interface, where my actual mouse then disappears and the colour remains static to what it was right at the edge of the open Simba program. If I move my mouse back onto Simba, it detects the colour again and my mouse is visible. If I click outside of Simba then it gives me the colour of the screen edge back as stated before, so I'm clueless with what I should do
    Quote Originally Posted by Justin View Post
    I believe it's an issue using WINE, I have the same problem when using it on my mac.
    Take a look at Hobbit's thread regarding his wrapper for Simba on OSX: http://villavu.com/forum/showthread.php?t=95076
    It has an included script that functions as a color picker. (His solution)
    .---. ``````````` .---. .
    \___ `,-. ,-. ,-. \___ ยท|- ,-. ,-
    ``` \ |-'`,-| | | ``` \ | `,-| |
    `---' `-' `-^ ' ' `---' `' `-^ '

  6. #6
    Join Date
    Mar 2013
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by SeanStar View Post
    Take a look at Hobbit's thread regarding his wrapper for Simba on OSX: http://villavu.com/forum/showthread.php?t=95076
    It has an included script that functions as a color picker. (His solution)
    I use linux though D:

  7. #7
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    Quote Originally Posted by Karasuba View Post
    I use linux though D:
    The script included should still work for you, though.

  8. #8
    Join Date
    Mar 2013
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by senrath View Post
    The script included should still work for you, though.
    'Move the file into your applications folder' - I don't have an applications folder.

  9. #9
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    No, but you could still get the script out of the .app by treating it like a zip file. Anyway, here's the color picker script from it:
    Simba Code:
    program new;
    var
    x,y : integer;
    begin
    repeat
      if(IsKeyDown(116))then
      begin
        GetMousePos(x,y);
        writeln('Picked Colour: '+inttostr(getcolor(x,y))+' at ('+inttostr(x)+', '+inttostr(y)+')');
      end;
      wait(150);
    until(IsKeyDown(117))
    end.

  10. #10
    Join Date
    Mar 2013
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by senrath View Post
    No, but you could still get the script out of the .app by treating it like a zip file. Anyway, here's the color picker script from it:
    Simba Code:
    program new;
    var
    x,y : integer;
    begin
    repeat
      if(IsKeyDown(116))then
      begin
        GetMousePos(x,y);
        writeln('Picked Colour: '+inttostr(getcolor(x,y))+' at ('+inttostr(x)+', '+inttostr(y)+')');
      end;
      wait(150);
    until(IsKeyDown(117))
    end.
    I did find and try that but nothing appears after it has 'successfully compiled'; I'm assuming the colour of where I click is supposed to appear, it doesn't, what should I do?

  11. #11
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    You hit F5 and it'll print out the color of where your mouse is currently at. Press F6 to end the script.

  12. #12
    Join Date
    Mar 2013
    Posts
    14
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by senrath View Post
    You hit F5 and it'll print out the color of where your mouse is currently at. Press F6 to end the script.
    Thanks man!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •