Run a script on a particular file + user input
Hello all,
I am attempting to create a script that I can run on a particular file but I need to gather both file info and user input to complete.
Here is the background on how I currently do this task, then how I want the script to work. I prefer to use my PC for this, but since most of the people here use the Mac environment, I will do it from their perspective.
Current:
I click the image, press return to "rename" the file. Since it is OSX 10.6, I have to hit "Apple A" to select the full name and copy the file name. I open a web browser page and input the following info:
file name: <paste> <tab>
business ID: self input <tab>
file name (again): <paste>
Browse for the file being used
Image Alt text: Self input
image dimension: choice of 15 or so standard dimensions in a pull down menu
click save
Copy the info given back to me by the system, paste it into an email and sent it off.
How I envision this script:
Click on the image I need uploaded.
The script will pop up asking me to input the Business ID and Alt text and store this info for later.
The script will then copy the file name, get info on the file, look for the Dimensions Attribute, and store that information.
Open the Web interface, paste in the File name, paste in the Business ID, Paste the file name again, click the browse button and find the image in question, paste in the Alt text, and find the appropriate Size choice in the drop down menu.
I suppose the main questions should be:
Can I have the script run off of a drag and drop feature or on whatever file I currently have selected
Can I have a user input field that stores info for later use.
I can probabaly figure out all the other steps when I tinker, but I want to know if it is worth my time to try and develop this anyway...
Thanks
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask LP81 for more information if necessary.