Search found 37 matches

by mafiamoe
Fri May 08, 2009 10:46 am
Forum: General Discussion
Topic: Regional settings decimal character causing issues
Replies: 1
Views: 3599

Regional settings decimal character causing issues

Did a quick search before posting, and it looks like you have already dealt with some issue regarding this. Didn't see any post about this issue specifically. When creating a macro using windows regional settings that uses a '.' as the decimal character, but running on a computer with regional setti...
by mafiamoe
Tue Mar 10, 2009 5:26 am
Forum: Technical / Scripting
Topic: Window border size
Replies: 1
Views: 2689

Window border size

Trying to get the window boarder size of a window, as switching from computer to computer can throw the code off. I am not that familiar with vbscript, but was able to find this link online that make is seem like I'm close if only I knew that language. http://msdn.microsoft.com/en-us/library/system....
by mafiamoe
Fri Feb 13, 2009 12:05 am
Forum: Technical / Scripting
Topic: Include> not working the same between opened files
Replies: 5
Views: 5194

When editing a file after opening it from a folder, the Include>%SCRIPT_DIR%/script.scp doesn't seem to be working. Gives the 'file in include does not exist' error.

It does work when opening the file from the Macro Scheduler window.
by mafiamoe
Thu Feb 12, 2009 11:38 am
Forum: Technical / Scripting
Topic: Include> not working the same between opened files
Replies: 5
Views: 5194

Ah, Include is case sensitive. Thank You. After trying to manipulate CWD to work, I found that when opening a script through the Macro Scheduler window it tends to reset the CWD variable when stepping every time it encounters some code, however it doesn't do this when stepping after opening the scri...
by mafiamoe
Thu Feb 12, 2009 11:21 am
Forum: Technical / Scripting
Topic: Include> not working the same between opened files
Replies: 5
Views: 5194

I see how it works, but having a variable in Include, such as Include>%Script_Dir%\code.scp currently doesn't work even when stepping. Not sure if this is intentional or not.
by mafiamoe
Thu Feb 12, 2009 7:51 am
Forum: Technical / Scripting
Topic: Include> not working the same between opened files
Replies: 5
Views: 5194

Include> not working the same between opened files

Include>code.scp works for when running the script, editing the script after opening it from a folder, but NOT when editing the script after opening it in the Macro Scheduler window. My guess is the Script_Dir is saved as a special variable for the Include function, but this variable isn't being set...
by mafiamoe
Thu Feb 12, 2009 7:40 am
Forum: Enhancement Suggestions
Topic: nested Include>
Replies: 2
Views: 6187

*This post includes a bug description, however I will be posting the bug in the appropriate location for Dev's attention. Works for when running the script, but not when editing the script after opening it in the Macro Scheduler window. This seems like a bug because it works when editing the file wh...
by mafiamoe
Wed Feb 11, 2009 10:42 pm
Forum: Enhancement Suggestions
Topic: nested Include>
Replies: 2
Views: 6187

nested Include>

Currently when compiling the Include>code.scp works for the first level of code included, but not for any include commands within that included code. Currently it needs the .scp files to be on that computer or it gives an error. Would there be a way to have the compile sequence check for and run any...
by mafiamoe
Fri Dec 26, 2008 9:42 am
Forum: Technical / Scripting
Topic: Pixel color of an image
Replies: 14
Views: 31997

Have FIP working for the project i am working on, but finding the pixel color of an image would still be a lot faster than the current system.
by mafiamoe
Thu Nov 20, 2008 6:59 pm
Forum: Technical / Scripting
Topic: separate comma
Replies: 4
Views: 5784

beat me to my own correction :-P Just realized that myself.
by mafiamoe
Thu Nov 20, 2008 6:52 pm
Forum: Technical / Scripting
Topic: separate comma
Replies: 4
Views: 5784

Just for everyones reference, I was able to separate a string with with a comma in it by doing:


Let>string=635332045,535

Let>comma=,
Sep>string,comma,string

/*
string_1=635332045
string_2=535
*/
by mafiamoe
Sat Nov 08, 2008 1:24 am
Forum: Technical / Scripting
Topic: Pixel color of an image
Replies: 14
Views: 31997

I use MS to check the pixel colors. Have it down to a simple-ish subroutine. The problem with FIP now is the background color can vary greatly, and some of the images I need to find are text only so the background color is not only around the letters, but also in the spaces of the letters as well. T...
by mafiamoe
Fri Nov 07, 2008 8:59 pm
Forum: Technical / Scripting
Topic: Pixel color of an image
Replies: 14
Views: 31997

If there is a changeable background color in a program and that effects something you are trying to find, FIP breaks down. I have put together a system that checks for bright and/or dark pixels and it works where FIP does not. Before FIP was introduced, this was the method used to find everything. F...
by mafiamoe
Wed Nov 05, 2008 9:47 pm
Forum: Technical / Scripting
Topic: Pixel color of an image
Replies: 14
Views: 31997

But there are some instances where FIP simply doesn't work.
by mafiamoe
Tue Nov 04, 2008 9:40 pm
Forum: Technical / Scripting
Topic: Pixel color of an image
Replies: 14
Views: 31997

Re: Do you want GetPixelColor to work with bmp files?

What were you going to do with this information? Take over the world of course... This would be to run through the image data gathered to basically test the commands upon all previous runs of the program. Basically a personal testing system that gathers and tests the program because I don't have th...
cron
Sign up to our newsletter for free automation tips, tricks & discounts