Search found 1348 matches
- Sun Jul 23, 2023 5:46 pm
- Forum: Technical / Scripting
- Topic: Select Random image from Computer Folder to upload to Social Media
- Replies: 6
- Views: 6531
Re: Select Random image from Computer Folder to upload to Social Media
First you can get all the files in a folder using GetFileList. Then select one of the results randomly by using Random. The code below would find all png files in the given folder. You will see I have purposely cannibalised the examples given at GetFileList and Random to make things easier to follow...
- Wed Jul 19, 2023 2:12 pm
- Forum: Beginners
- Topic: Not Sure Why This Doesn't Work
- Replies: 2
- Views: 5415
Re: Not Sure Why This Doesn't Work
Is the app running as admin? If so Macro Scheduler needs to as well.
- Wed Jul 19, 2023 2:04 pm
- Forum: Technical / Scripting
- Topic: Errors
- Replies: 1
- Views: 4904
Re: Errors
This is uaually a permissions problem, or you have some security software blocking the macro recorder. To check the permissions problem- what happens if you manually create a new macro in the same group you are trying to record into? File/New and then just type some random text, then save and give i...
- Tue Jul 18, 2023 11:01 am
- Forum: Technical / Scripting
- Topic: Having trouble installing ChromeDriver
- Replies: 1
- Views: 4920
Re: Having trouble installing ChromeDriver
ChromeDriver 114.0.5735.90 should be fine for Chrome 114.0.5735.199. Those are the same versions I'm using. It sounds like you may have downloaded the wrong zip. Go here (which you access from here ) and download chromedriver_win32.zip. That zipfile should contain chromedriver.exe. That's the file y...
- Fri Jul 14, 2023 9:44 am
- Forum: Technical / Scripting
- Topic: Grrr I know this is pain but...
- Replies: 6
- Views: 10588
- Mon Jul 03, 2023 1:42 pm
- Forum: Beginners
- Topic: Difficulty capturing data from HTML elements
- Replies: 7
- Views: 6773
Re: Difficulty capturing data from HTML elements
My pleasure.
- Mon Jul 03, 2023 9:04 am
- Forum: Technical / Scripting
- Topic: Accessing Array elements
- Replies: 11
- Views: 10351
Re: Accessing Array elements
I think hagchr is on the right track there. This works : Let>msFileNameCurrPageNr=d:\00000\ProjectAbc.txt CSVFileToArray>msFileNameCurrPageNr,msArrCurrPagePath Let>msArrCurrPageSize=3 Let>msArrCurrPageRowLast=msArrCurrPagePath_%msArrCurrPageSize%_0 This doesn't. Let>msFileNameCurrPageNr=d:\00000\Pro...
- Mon Jul 03, 2023 8:48 am
- Forum: Beginners
- Topic: Difficulty capturing data from HTML elements
- Replies: 7
- Views: 6773
Re: Difficulty capturing data from HTML elements
While my first example would have returned 5 data-it="card" results, it was not specifically looking for it as a child of id="q". This one does EdgeFindElements>session_id,xpath,//div[@id='q']/div[@data-it='card'],el So : let>TheURL=D:/vinipinho14.htm Let>EDGEDRIVER_EXE=d:\msedgedriver.exe EdgeStart...
- Sun Jul 02, 2023 10:32 pm
- Forum: Beginners
- Topic: Difficulty capturing data from HTML elements
- Replies: 7
- Views: 6773
Re: Difficulty capturing data from HTML elements
My first method got them individually.
- Sun Jul 02, 2023 2:53 pm
- Forum: Beginners
- Topic: Difficulty capturing data from HTML elements
- Replies: 7
- Views: 6773
Re: Difficulty capturing data from HTML elements
I have edited your html as you were missing the = after data-it on some of the lines. Here are a couple of ways you can do this : let>TheURL=D:/vinipinho14.htm Let>EDGEDRIVER_EXE=d:\msedgedriver.exe EdgeStart>session_id EdgeNavigate>session_id,url,%TheURL% //Extract each div[@data-it='card' EdgeFind...
- Fri Jun 30, 2023 1:33 pm
- Forum: Technical / Scripting
- Topic: Sporadic bug in date or string function
- Replies: 4
- Views: 5608
Re: Sporadic bug in date or string function
No problem. Thank you for clarifying.
- Fri Jun 30, 2023 11:44 am
- Forum: Technical / Scripting
- Topic: MuiDataGrid Vs HTML Table
- Replies: 14
- Views: 11245
Re: MuiDataGrid Vs HTML Table
I've seen this behaviour before. I think because it only loads what can fit in to the panel. Maybe a workaround would be to zoom out, set less results on each page knowing that you can get them all, and then go to the next page. I'm a little out of my depth on this particular aspect. If there is ano...
- Fri Jun 30, 2023 11:23 am
- Forum: Technical / Scripting
- Topic: Sporadic bug in date or string function
- Replies: 4
- Views: 5608
Re: Sporadic bug in date or string function
I'm pretty sure it's not a bug as I am able to replicate this at will. It's related to the time display system settings (Specifically Long Time ) on the problematic machine, and the hour being single digit. GetTime : Returns the current time in the specified variable. The format of the time depends ...
- Fri Jun 30, 2023 10:56 am
- Forum: Technical / Scripting
- Topic: Sporadic bug in date or string function
- Replies: 4
- Views: 5608
Re: Sporadic bug in date or string function
I've fixed the URL for you but the image is not there.
- Fri Jun 30, 2023 10:15 am
- Forum: Technical / Scripting
- Topic: Accessing Array elements
- Replies: 11
- Views: 10351
Re: Accessing Array elements
You're very welcome. You were almost there, you just missed that one permutation.