Search found 85 matches

by obfusc88
Tue Jun 22, 2010 7:58 pm
Forum: Technical / Scripting
Topic: Reading files stored on google documents
Replies: 14
Views: 15239

Reading files stored on google documents

I have an email account on google. I went to tools for shared documents and saved a text file there. It is owned by me and shared by me, no other settings. File name is RemoteFile.txt. I can view the text document when I am logged in. I am trying, with no success to use HTTP to copy file contents as...
by obfusc88
Wed Feb 04, 2009 5:20 am
Forum: Technical / Scripting
Topic: Case Sensitivity question
Replies: 1
Views: 2163

Case Sensitivity question

I did the following script today Year>YYYY Month>MM Day>DD Hour>>hh Min>mm Sec>ss Let>Stamp=%YYYY%%MM%%DD%%hh%%mm%%ss% I expected Stamp to come back as 20090202102037 But ic came back as 20092002102037 Then I realized that I was getting the minutes for the month. So I did this Let>MM=02 Let<mm=20 I ...
by obfusc88
Mon Jan 26, 2009 10:17 pm
Forum: Technical / Scripting
Topic: Ending Sub Routine
Replies: 3
Views: 3814

Thanks to JRL for such a quick reply. I did start to use GoTo>LastLine_RoutineName already. Before I was using SR1, SR2, etc. for SubRoutine, but if I changed sequence or made too many, then I would get confused. So, this is the preferred manner that I stumbled into. Can you explain why it is better...
by obfusc88
Mon Jan 26, 2009 6:36 pm
Forum: Technical / Scripting
Topic: Ending Sub Routine
Replies: 3
Views: 3814

Ending Sub Routine

Can I use End>Subname more than once? I want to do this, but am afraid multiple End>RoutineName lines will be a problem: SRT>RoutineName stuff.. IF>something fails End>RoutineName ELSE more stuff If>something else fails End>RoutineName ELSE more stuff If>another thing fails End>RoutineName ELSE more...
by obfusc88
Wed Sep 03, 2008 5:58 pm
Forum: Technical / Scripting
Topic: HTTPRequest help
Replies: 10
Views: 8653

Now I need help with parsing. This works: //Get miles Let>ThisLine=Distance: 1,382##160;mi (about 22 hours 31 mins) Position>&#,%ThisLine%,11,MilesEnd MidStr>%ThisLine%,11,%MilesEnd%,Miles StringReplace>%Miles%,&,,Miles MessageModal>Distance is %Miles% miles. %ThisLine% is the line I was able to par...
by obfusc88
Wed Sep 03, 2008 3:58 am
Forum: Technical / Scripting
Topic: HTTPRequest help
Replies: 10
Views: 8653

Thank you all for your suggestions and links. I did end up selecting the google link from Me_again. It includes the miles and the estimated time. It took me a while to understand how Bob Hansen was parsing the miles, but now I understand that and can use that approach with the Result file that comes...
by obfusc88
Tue Sep 02, 2008 12:42 pm
Forum: Technical / Scripting
Topic: HTTPRequest help
Replies: 10
Views: 8653

Thanks for the yahoo link, but that is the same as the one I used. The distance and time are not available in the Return variable or in a returned file. If I use Firefox ViewSource, those values are not present in the Source Code. If I use and AddOn, ViewSourceChart, then the values are there. So al...
by obfusc88
Tue Sep 02, 2008 12:44 am
Forum: Technical / Scripting
Topic: HTTPRequest help
Replies: 10
Views: 8653

HTTPRequest help

I have been trying to get some map information with no success, just want estimated travel distance and time. I have been trying googlemaps, yahoomaps and mapquest. The closest I have come to success is with MapQuest. It is only a single command but I cannot get what I need. HTTPRequest>http>//mapqu...
by obfusc88
Tue Jul 29, 2008 2:40 am
Forum: Technical / Scripting
Topic: Compile command line paramaters
Replies: 10
Views: 9063

OK, I am closer to eliminating the problem. The executable that I was running was on a shared network machine, not on the local machine. I was running the command line in a DOS window. I copied the executable to the local drive, and the time dropped from 20+ seconds to <3 seconds. And I can probably...
by obfusc88
Mon Jul 28, 2008 3:31 pm
Forum: Technical / Scripting
Topic: Compile command line paramaters
Replies: 10
Views: 9063

I changed the program so that I could use it for any window. I added another parameter to the command line for the window title. Here is the code: Label>Start Let>Title=%Title%* SetFocus>%Title% ResizeWindow>%Title%,%Width%,%Height% MoveWindow>%Title%,%TopLeftX%,%TopLeftY% Label>End I compiled the f...
by obfusc88
Mon Jul 28, 2008 4:17 am
Forum: Technical / Scripting
Topic: Compile command line paramaters
Replies: 10
Views: 9063

Thank you JRL for trying out that script. I did not try it on a few other screens but I will try that to see if they behave like normal. Maybe this should be under a different thread, because I don't think it is about passing parameters any longer. That has been solved. The window that I am working ...
by obfusc88
Sun Jul 27, 2008 11:08 pm
Forum: Technical / Scripting
Topic: Compile command line paramaters
Replies: 10
Views: 9063

Thanks to everyone for the ideas. I have the following script, but seems to be having a timing problem. If I single step through, the Move/Resize happen instantly. If I run the macro from the Editor with command line defined, it runs instantly. If I run msched scriptname /parameters, then it works, ...
by obfusc88
Thu Jul 24, 2008 8:56 pm
Forum: Technical / Scripting
Topic: Compile command line paramaters
Replies: 10
Views: 9063

Compile command line paramaters

What do I need to do to compile a script that will take in four command line parameters? Command line syntax will be like this: Executable.exe height width length area Complied script will be like this: Let>height=parameter1 Let>width=parameter2 Let>length=parameter3 Let>area=parameter5 /* Error che...
by obfusc88
Thu Mar 15, 2007 10:46 pm
Forum: Beginners
Topic: Centering Dialog Boxes
Replies: 6
Views: 8215

thank you to bob hansen and to jrl for the speedy answer. and you both have the same answer too. i have just made the changes in a Dialog that jrl created for me. it is all coming together. great help, thank you again.
by obfusc88
Thu Mar 15, 2007 10:44 pm
Forum: Technical / Scripting
Topic: Dialog with timeout if no button pressed
Replies: 13
Views: 12356

the script that you provided works terrific. now i only need to move the buttons and progress bar and other visual alignment things. the progressbar works, the Close button is only there after 5 seconds, and the Pause is a real pause vs. mine that actually halted. this one pauses and continues with ...
Sign up to our newsletter for free automation tips, tricks & discounts