Jump to content
Macro Express Forums

kgibbs

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by kgibbs

  1. Are there any examples for doing this or similar in the forum or anywhere you know of? - Not the full blown menu... just a single instance for changing a directory via current explorer window. Thanks again.
  2. What is the simplest way to change directory’s in the current explorer window via floating macro-menu. - Open Folder to "C:\xyz" always opens a new explorer window to the given path. - Can this be done without using the clipboard to paste a path… Goal: Create a custom floating macro-menu for the graphics department to navigate their hierarchy of folders more efficiently using one explorer window. Thanks
  3. Can a captured control from focused control into %C[1] be stored for later use after restart? I am trying to create keyboard shortcuts for dreamweaver's undocked panels. Adobe doesn't provide an inherent way to create shortcuts for this. When i try to capture a control by draging the cross to a undocked panel they disappear soon as i click on the cross. I can only capture with a macro via captured control from focused control into %C[1]. But now how do i recall C[1] for later use after restart?
  4. Thanks to ALL for your generous support and helpful ideas! Sorry I made this confusing by stating “folder” and not “file” throughout my question: Solution: I used Alan’s idea that pointed me to borrow code from a sample macro “from_run_to_run.” Basic testing: - Using iExplorer <MM-Click> on pictures to auto-save them to My Documents incrementally starting with 1. Notes: - Not the initial purpose, but I see this is super fast for saving pictures from the internet to My Documents - NICE! - Reset naming counter by clearing the data in “counter.TXT“ - Windows defaults “Save As” to My Documents Macro Activation: MM Mouse button <LOCK PLAYER Wait="TRUE"/> <COMMENT/> <COMMENT Value="Initialization"/> <VARIABLE SET STRING Option="\x00" Destination="%T[1]%" Value="D:\\n1\\Database\\temp"/> <VARIABLE SET STRING Option="\x00" Destination="%T[2]%"/> <VARIABLE SET INTEGER Option="\x00" Destination="%N[1]%" Value="0"/> <COMMENT/> <COMMENT Value="Get counter value from file"/> <VARIABLE MODIFY STRING Option="\x06" Destination="%T[1]%" Value="\\counter.TXT"/> <IF FILE EXISTS File="%T[1]%" Search_Path="FALSE"/> <VARIABLE SET STRING Option="\x03" Destination="%T[2]%" Filename="%T[1]%" Strip="FALSE"/> <ELSE/> <VARIABLE SET STRING Option="\x00" Destination="%T[2]%" Value="0"/> <END IF/> <COMMENT/> <COMMENT Value="Increment counter"/> <VARIABLE MODIFY STRING Option="\x04" Destination="%T[2]%" Variable="%N[1]%"/> <VARIABLE MODIFY INTEGER Option="\x00" Destination="%N[1]%" Value1="%N[1]%" Value2="1"/> <VARIABLE MODIFY INTEGER Option="\x04" Destination="%N[1]%" Variable="%T[2]%"/> <COMMENT/> <COMMENT Value="Mouse right click and save as"/> <MOUSE RIGHT CLICK/> <TEXT TYPE Action="0" Text="S"/> <TEXT TYPE Action="0" Text="%N[1]%"/> <TEXT TYPE Action="0" Text="<ENTER>"/> <COMMENT/> <COMMENT Value="Copy counter value to the clipboard"/> <CLIPBOARD START COPY/> <TEXT TYPE Action="0" Text="%T[2]%"/> <CLIPBOARD END COPY/> <COMMENT/> <COMMENT Value="Copy the counter value from the clipboard into the file containing the counter"/> <CLIPBOARD SAVE TEXT Filename="%T[1]%" Prompt="FALSE"/> <COMMENT/> <UNLOCK PLAYER/>
  5. Question: If all file names in a given folder are integers: (How do I get the largest integer folder name or the last file “name/integer” created?) Macro Description: Using the middle mouse button, individually select and save source files to given folder and name them using integers starting with 0001 counting by step 1 until folder reaches 9999. Note: The folder will be populated over time as the source files are created one at a time using a hotkey activated by the middle mouse button. Macro needs to continue counting from last integer step folder name! I'm not sure how to get the macro to always start counting from the last created integer folder name? Any advice very appreciated! Thanks, Kurt
×
×
  • Create New...